From f8a8210b77964719954dd6e16adf56ee608d5e53 Mon Sep 17 00:00:00 2001 From: "ecospark[bot]" <128108030+ecospark[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 19:27:00 +0100 Subject: [PATCH] =?UTF-8?q?chore(prettier):=20=F0=9F=A4=96=20=E2=9C=A8=20(?= =?UTF-8?q?#45)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: ecospark[bot] <128108030+ecospark[bot]@users.noreply.github.com> --- astro/astro.config.mjs | 5 ++--- astro/src/pages/index.astro | 6 +++++- astro/tailwind.config.mjs | 10 +++++----- 3 files changed, 12 insertions(+), 9 deletions(-) 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: [], }