diff options
author | Adam T. Carpenter <atc@53hor.net> | 2023-06-20 13:19:44 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2023-06-20 13:19:44 -0400 |
commit | 738b9837f7cc1617cff694a5275db2e6527590c5 (patch) | |
tree | a1cfbcf2ed104ebb86712710ba3147d085eac51e /about/figure.php | |
parent | f411b2bbc7770fa9cd897cd4036c08c065ba598e (diff) | |
download | carpentertutoring-738b9837f7cc1617cff694a5275db2e6527590c5.tar.xz carpentertutoring-738b9837f7cc1617cff694a5275db2e6527590c5.zip |
feat: automatic tutor layout on about team
Also add Jessica and Katherine
Diffstat (limited to 'about/figure.php')
-rw-r--r-- | about/figure.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/about/figure.php b/about/figure.php new file mode 100644 index 0000000..c6cee51 --- /dev/null +++ b/about/figure.php @@ -0,0 +1,8 @@ + <figure class="shadowy"> + <picture> + <source srcset="<?php printf('/about/team/%s/%s.webp', $tutor, $tutor) ?>" type="image/webp" /> + <source srcset="<?php printf('/about/team/%s/%s.png', $tutor, $tutor) ?>" type="image/png" /> + <img alt="<?php include("./team/$tutor/name.php") ?>" src="<?php printf('/about/team/%s/%s.png', $tutor, $tutor) ?>" /> + </picture> + <figcaption><?php include("./team/$tutor/name.php") ?></figcaption> + </figure> |