diff --git a/astro/astro.config.mjs b/astro/astro.config.mjs index 79e1396..437a96b 100644 --- a/astro/astro.config.mjs +++ b/astro/astro.config.mjs @@ -1,11 +1,10 @@ // @ts-check +import tailwind from '@astrojs/tailwind' import vercel from '@astrojs/vercel' import {defineConfig} from 'astro/config' -import tailwind from '@astrojs/tailwind'; - // https://astro.build/config export default defineConfig({ adapter: vercel(), integrations: [tailwind()], -}) \ No newline at end of file +}) diff --git a/astro/src/pages/index.astro b/astro/src/pages/index.astro index 3a0cbeb..984cfad 100644 --- a/astro/src/pages/index.astro +++ b/astro/src/pages/index.astro @@ -15,5 +15,9 @@ const {data} = await sanityFetch({query: DEMO_QUERY, params: {slug}, lastLiveEve --- -

{data || 'Astro'}

+

+ {data || 'Astro'} +

diff --git a/astro/tailwind.config.mjs b/astro/tailwind.config.mjs index 19f0614..32f70ff 100644 --- a/astro/tailwind.config.mjs +++ b/astro/tailwind.config.mjs @@ -1,8 +1,8 @@ /** @type {import('tailwindcss').Config} */ export default { - content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], - theme: { - extend: {}, - }, - plugins: [], + content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], + theme: { + extend: {}, + }, + plugins: [], }