diff options
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> |