diff --git a/source/_partials/figure.html.twig b/source/_partials/figure.html.twig new file mode 100644 index 00000000..e162afee --- /dev/null +++ b/source/_partials/figure.html.twig @@ -0,0 +1,8 @@ +
+ {{ image.alt }} + {% if caption %} +
+ {{ caption }} +
+ {% endif %} +
diff --git a/source/_posts/rebuilding-acquia-dashboard-with-vuejs-tailwind-css.md b/source/_posts/rebuilding-acquia-dashboard-with-vuejs-tailwind-css.md index dc6773b7..bf97b479 100644 --- a/source/_posts/rebuilding-acquia-dashboard-with-vuejs-tailwind-css.md +++ b/source/_posts/rebuilding-acquia-dashboard-with-vuejs-tailwind-css.md @@ -108,30 +108,41 @@ This was the first page that I rebuilt - the Environments page for an applicatio Vue Router is configured to show the - -
- A screenshot of the rebuilt Environments page. -
The rebuilt Environments page for an application.
-
+{% include 'figure' with { + image: { + src: '/images/blog/rebuilding-acquia-vue-tailwind/3-environments.png', + alt: 'A screenshot of the rebuilt Environments page.', + }, + caption: 'The rebuilt Environments page for an application.', +} %} ## The applications page -
- A screenshot of the rebuilt Applications page. -
The rebuilt Applications page.
-
+{% include 'figure' with { + image: { + src: '/images/blog/rebuilding-acquia-vue-tailwind/1-applications-grid.png', + alt: 'The rebuild Applications page, with applications displayed in a grid.', + }, + caption: 'The rebuilt Applications page - grid view', +} %} -
- A screenshot of the rebuilt Applications page as a list. -
The rebuilt Applications page.
-
+{% include 'figure' with { + image: { + src: '/images/blog/rebuilding-acquia-vue-tailwind/2-applications-list.png', + alt: 'The rebuild Applications page, with applications displayed as a list.', + }, + caption: 'The rebuilt Applications page - list view', +} %} ## An environment page -
- A screenshot of the rebuilt page for an environment within an application. -
The rebuilt page for an environment within an application.
-
+{% include 'figure' with { + image: { + src: '/images/blog/rebuilding-acquia-vue-tailwind/4-environment.png', + alt: 'A screenshot of the rebuilt Environment page.', + }, + caption: 'The rebuilt page for an environment within an application.', +} %} [github]: https://github.com/opdavies/rebuilding-acquia [netlify]: https://rebuilding-acquia.oliverdavies.uk