new <Figure> component for image captions

This commit is contained in:
2022-01-13 13:39:22 -05:00
parent 1a0541776e
commit 64a91d67bf
21 changed files with 226 additions and 409 deletions
+9 -10
View File
@@ -11,18 +11,17 @@ image: "/static/images/notes/presidential-candidates-404-pages/obama-laughing.jp
---
import Image from "./components/media/Image";
import Figure from "./components/media/Figure";
import Video from "./components/media/Video";
<figure>
<Image
src="/static/images/notes/presidential-candidates-404-pages/obama-laughing.jpg"
width="865"
height="460"
alt="President Barack H. Obama, probably ranking 404 pages."
priority
/>
<figcaption>President Barack H. Obama, probably ranking 404 pages.</figcaption>
</figure>
<Figure
src="/static/images/notes/presidential-candidates-404-pages/obama-laughing.jpg"
width="865"
height="460"
priority
>
President Barack H. Obama, probably ranking some of these 404 pages.
</Figure>
Ever since [President Obama injected technology](https://arstechnica.com/information-technology/2012/11/built-to-win-deep-inside-obamas-campaign-tech/) into presidential politics in a historic way, one of the few bright spots of the incredibly long and exhausting race for me has been inspecting each candidate's campaign website. They end up revealing a great deal about how much each of them is willing to invest in the internet, and how young and innovative (and potentially funny) the staff members they attract are.