Skip to content

Commit

Permalink
chore: update logo and config
Browse files Browse the repository at this point in the history
  • Loading branch information
cvgellhorn committed Jul 20, 2024
1 parent 484955a commit 0e2671c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 deletions.
4 changes: 4 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ export default defineConfig({
rehypePlugins: [responsiveTablesRehypePlugin, lazyImagesRehypePlugin],
},

build: {
format: 'file'
},

vite: {
resolve: {
alias: {
Expand Down
25 changes: 6 additions & 19 deletions src/components/Logo.astro
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
---
import Image from './common/Image.astro';
import { Image } from 'astro:assets';
import sturmfreiLogo from '~/assets/images/sturmfrei-logo.svg';
import sturmfreiLogoDark from '~/assets/images/sturmfrei-logo-dark.svg';
---

<Image src="~/assets/images/sturmfrei-logo.svg" alt="AstroWind Hero Image" class="!max-h-8 md:!max-h-7 dark:hidden" />
<Image
src="~/assets/images/sturmfrei-logo-dark.svg"
alt="AstroWind Hero Image"
class="!max-h-8 md:!max-h-7 hidden dark:inline"
/>
<!-- <img
src="~/assets/images/sturmfrei-logo.svg"
class="max-h-8 md:max-h-7 dark:hidden"
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<img
src="~/assets/images/sturmfrei-logo-dark.svg"
class="max-h-8 md:max-h-7 hidden dark:inline"
crossorigin="anonymous"
referrerpolicy="no-referrer"
/> -->
<Image src={sturmfreiLogo} alt="Sturmfrei Logo" class="max-w-32 dark:hidden" />
<Image src={sturmfreiLogoDark} alt="Sturmfrei Logo" class="max-w-32 hidden dark:inline" />

0 comments on commit 0e2671c

Please sign in to comment.