Skip to content

Commit

Permalink
chore(images): use webp
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed Feb 5, 2023
1 parent 97bf2bf commit 6db7df6
Show file tree
Hide file tree
Showing 19 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .docs/content/1.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: An open source blog theme powered by Nuxt.
title: About
---

::hero{image="/alpine-0.png" image-alt="Alpine"}
::hero{image="/alpine-0.webp" image-alt="Alpine"}
#title
Hi, I am Alpine.
#description
Expand All @@ -21,9 +21,9 @@ Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulu
::gallery
---
images:
- /alpine-1.png
- /alpine-1.png
- /alpine-2.png
- /alpine-0.png
- /alpine-1.webp
- /alpine-1.webp
- /alpine-2.webp
- /alpine-0.webp
---
::
2 changes: 1 addition & 1 deletion .docs/content/articles/1.get-started.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
cover: /articles/get-started.png
cover: /articles/get-started.webp
author:
name: Sébastien Chopin
avatarUrl: https://pbs.twimg.com/profile_images/1042510623962275840/1Iw_Mvud_400x400.jpg
Expand Down
6 changes: 3 additions & 3 deletions .docs/content/articles/2.configure.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
cover: /articles/configure-alpine.png
cover: /articles/configure-alpine.webp
author:
name: Clément Ollivier
avatarUrl: https://pbs.twimg.com/profile_images/1370286658432724996/ZMSDzzIi_400x400.jpg
Expand Down Expand Up @@ -34,10 +34,10 @@ export default defineAppConfig({
alpine: {
title: 'Alpine',
description: 'The minimalist blog theme',
image: '/social-card-preview.png',
image: '/social-card-preview.webp',
// image can also be an object:
image: {
src: '/social-card-preview.png',
src: '/social-card-preview.webp',
alt: 'An image showcasing my project.',
width: 400,
height: 300
Expand Down
2 changes: 1 addition & 1 deletion .docs/content/articles/3.write-articles.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
cover: /articles/write-articles.png
cover: /articles/write-articles.webp
date: 2022-08-23
description: Writing Markdown articles in Alpine is straightforward.
layout: article
Expand Down
2 changes: 1 addition & 1 deletion .docs/content/articles/4.design-tokens.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
cover: /articles/design-tokens.png
cover: /articles/design-tokens.webp
date: 2022-08-23
layout: article
---
Expand Down
Binary file removed .docs/public/alpine-0.png
Binary file not shown.
Binary file added .docs/public/alpine-0.webp
Binary file not shown.
Binary file removed .docs/public/alpine-1.png
Binary file not shown.
Binary file added .docs/public/alpine-1.webp
Binary file not shown.
Binary file removed .docs/public/alpine-2.png
Binary file not shown.
Binary file added .docs/public/alpine-2.webp
Binary file not shown.
Binary file removed .docs/public/articles/configure-alpine.png
Binary file not shown.
Binary file added .docs/public/articles/configure-alpine.webp
Binary file not shown.
Binary file removed .docs/public/articles/design-tokens.png
Binary file not shown.
Binary file added .docs/public/articles/design-tokens.webp
Binary file not shown.
Binary file removed .docs/public/articles/get-started.png
Binary file not shown.
Binary file added .docs/public/articles/get-started.webp
Binary file not shown.
Binary file removed .docs/public/articles/write-articles.png
Binary file not shown.
Binary file added .docs/public/articles/write-articles.webp
Binary file not shown.

0 comments on commit 6db7df6

Please sign in to comment.