diff options
Diffstat (limited to 'social/index.php')
-rw-r--r-- | social/index.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/social/index.php b/social/index.php new file mode 100644 index 0000000..a66765f --- /dev/null +++ b/social/index.php @@ -0,0 +1,24 @@ +<?php $title = "Social"; require_once $_SERVER["DOCUMENT_ROOT"] . "/includes/gui/header.php"; ?> + +<div class="container"> + <br> + <h1>Social</h1> + <br> + + <div class="row"> + <?php foreach (json_decode(file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/data/contact.json"), true) as $project): ?> + <div class="col-lg-4"> + <div class="card stylized-card"> + <div class="card-body"> + <img class="stylized-card-icon" src="<?= $project["icon"] ?>" alt=""> + <h4 class="card-title"><?= $project["name"] ?></h4> + <p class="card-text"><?= $project["link"] ?></p> + <a href="<?= $project["link"] ?>" target="_blank" class="btn btn-outline-light">View More</a> + </div> + </div> + </div> + <?php endforeach; ?> + </div> +</div> + +<?php require_once $_SERVER["DOCUMENT_ROOT"] . "/includes/gui/footer.php"; ?>
\ No newline at end of file |