diff --git a/.vscode/settings.json b/.vscode/settings.json index e75b1e7..8c125bf 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,6 @@ { - "cSpell.language": "en,de-DE" + "cSpell.language": "en,de-DE", + "cSpell.words": [ + "Chiara" + ] } \ No newline at end of file diff --git a/blog/README.mdx b/blog/README.mdx index 29ebd6b..0f83551 100644 --- a/blog/README.mdx +++ b/blog/README.mdx @@ -15,9 +15,9 @@ All commands are run from the root of the project, from a terminal: ## Bilder für Webuseage convertieren -`magick convert input_file -resize 50% output_file` +`for file in *.{jpg,png}; magick "$file" -resize 50% "$file"; end` -`magick mogrify -format webp -quality 80 *.jpg` +`magick mogrify -format webp -quality 80 *.{jpg,png}` ## Vorlage für MDX-Artikel diff --git a/blog/public/blog_img/wo_boot/dbmuseum_1.webp b/blog/public/blog_img/wo_boot/dbmuseum_1.webp new file mode 100644 index 0000000..0210882 Binary files /dev/null and b/blog/public/blog_img/wo_boot/dbmuseum_1.webp differ diff --git a/blog/public/blog_img/wo_boot/dbmuseum_2.webp b/blog/public/blog_img/wo_boot/dbmuseum_2.webp new file mode 100644 index 0000000..e250984 Binary files /dev/null and b/blog/public/blog_img/wo_boot/dbmuseum_2.webp differ diff --git a/blog/public/blog_img/wo_boot/dbmuseum_3.webp b/blog/public/blog_img/wo_boot/dbmuseum_3.webp new file mode 100644 index 0000000..c8b4e7e Binary files /dev/null and b/blog/public/blog_img/wo_boot/dbmuseum_3.webp differ diff --git a/blog/public/blog_img/wo_boot/film_1.webp b/blog/public/blog_img/wo_boot/film_1.webp new file mode 100644 index 0000000..87a2e53 Binary files /dev/null and b/blog/public/blog_img/wo_boot/film_1.webp differ diff --git a/blog/public/blog_img/wo_boot/film_2.webp b/blog/public/blog_img/wo_boot/film_2.webp new file mode 100644 index 0000000..8623f24 Binary files /dev/null and b/blog/public/blog_img/wo_boot/film_2.webp differ diff --git a/blog/public/blog_img/wo_boot/film_3.webp b/blog/public/blog_img/wo_boot/film_3.webp new file mode 100644 index 0000000..0a0033e Binary files /dev/null and b/blog/public/blog_img/wo_boot/film_3.webp differ diff --git a/blog/public/blog_img/wo_boot/koenigin_astrid.webp b/blog/public/blog_img/wo_boot/koenigin_astrid.webp new file mode 100644 index 0000000..2a510a5 Binary files /dev/null and b/blog/public/blog_img/wo_boot/koenigin_astrid.webp differ diff --git a/blog/public/blog_img/wo_boot/titelbild_bruegge.webp b/blog/public/blog_img/wo_boot/titelbild_bruegge.webp new file mode 100644 index 0000000..f431e61 Binary files /dev/null and b/blog/public/blog_img/wo_boot/titelbild_bruegge.webp differ diff --git a/blog/public/blog_img/wo_boot/turm.webp b/blog/public/blog_img/wo_boot/turm.webp new file mode 100644 index 0000000..32369dd Binary files /dev/null and b/blog/public/blog_img/wo_boot/turm.webp differ diff --git a/blog/public/blog_img/wo_boot/worldmap_1.webp b/blog/public/blog_img/wo_boot/worldmap_1.webp new file mode 100644 index 0000000..b078d11 Binary files /dev/null and b/blog/public/blog_img/wo_boot/worldmap_1.webp differ diff --git a/blog/public/blog_img/wo_boot/worldmap_2.webp b/blog/public/blog_img/wo_boot/worldmap_2.webp new file mode 100644 index 0000000..40c6407 Binary files /dev/null and b/blog/public/blog_img/wo_boot/worldmap_2.webp differ diff --git a/blog/public/blog_img/wo_boot/yacht_1.webp b/blog/public/blog_img/wo_boot/yacht_1.webp new file mode 100644 index 0000000..43c6e47 Binary files /dev/null and b/blog/public/blog_img/wo_boot/yacht_1.webp differ diff --git a/blog/public/blog_img/wo_boot/yacht_2.webp b/blog/public/blog_img/wo_boot/yacht_2.webp new file mode 100644 index 0000000..72c32c6 Binary files /dev/null and b/blog/public/blog_img/wo_boot/yacht_2.webp differ diff --git a/blog/src/components/PostImageBig.astro b/blog/src/components/PostImageBig.astro deleted file mode 100644 index 78dd1ba..0000000 --- a/blog/src/components/PostImageBig.astro +++ /dev/null @@ -1,8 +0,0 @@ ---- -const {imgPath, alt} = Astro.props ---- - -{alt} \ No newline at end of file diff --git a/blog/src/components/PostPreviewLarge.astro b/blog/src/components/PostPreviewLarge.astro index 1bcfba5..e5aae67 100644 --- a/blog/src/components/PostPreviewLarge.astro +++ b/blog/src/components/PostPreviewLarge.astro @@ -42,6 +42,7 @@ const localeDate = formatLocalizedDateString(post.date) gap: 32px; padding: 0 32px; min-width: 80%; + max-width: 90%; } .col { diff --git a/blog/src/components/blog/DoubleImage.astro b/blog/src/components/blog/DoubleImage.astro index 7cb7b8a..2a647a1 100644 --- a/blog/src/components/blog/DoubleImage.astro +++ b/blog/src/components/blog/DoubleImage.astro @@ -10,7 +10,7 @@ const { src1, src2, alt1, alt2, description } = Astro.props; alt={alt1} width={1200} height={800} - class="rounded blog-image" + class="rounded blog-image img-width" loading="lazy" /> {alt2} @@ -31,9 +31,8 @@ const { src1, src2, alt1, alt2, description } = Astro.props; gap: 2%; } - .blog-image { + .img-width { width: 49%; - height: auto; } p { diff --git a/blog/src/components/blog/SingleImage.astro b/blog/src/components/blog/SingleImage.astro index 9a032e6..bdb827d 100644 --- a/blog/src/components/blog/SingleImage.astro +++ b/blog/src/components/blog/SingleImage.astro @@ -9,15 +9,14 @@ const { src, alt, description } = Astro.props; alt={alt} width={1200} height={800} - class="rounded blog-image" + class="rounded blog-image img-width" loading="lazy" />

{description}