Refactor tu use astrowind:config virtual import

This commit is contained in:
prototypa
2024-03-29 00:49:47 -04:00
parent f6d5e6cb39
commit 6b14879507
22 changed files with 28 additions and 30 deletions

View File

@@ -32,4 +32,4 @@ const { metadata } = Astro.props;
</slot>
</Fragment>
<slot />
</PageLayout>
</PageLayout>

View File

@@ -1,7 +1,7 @@
---
import '~/assets/styles/tailwind.css';
import { I18N } from '~/utils/config';
import { I18N } from 'astrowind:config';
import CommonMeta from '~/components/common/CommonMeta.astro';
import Favicons from '~/components/Favicons.astro';

View File

@@ -28,4 +28,4 @@ const { metadata } = Astro.props;
<slot name="footer">
<Footer {...footerData} />
</slot>
</Layout>
</Layout>