Skip to content

Commit

Permalink
chore(prettier): 🤖 ✨ (#45)
Browse files Browse the repository at this point in the history
Co-authored-by: ecospark[bot] <128108030+ecospark[bot]@users.noreply.github.com>
  • Loading branch information
ecospark[bot] authored Dec 18, 2024
1 parent b8b3b1f commit f8a8210
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
5 changes: 2 additions & 3 deletions astro/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -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()],
})
})
6 changes: 5 additions & 1 deletion astro/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ const {data} = await sanityFetch({query: DEMO_QUERY, params: {slug}, lastLiveEve
---

<Layout>
<h1 class="text-balance text-4xl font-bold leading-tight tracking-tighter md:text-6xl lg:pr-8 lg:text-8xl">{data || 'Astro'}</h1>
<h1
class="text-balance text-4xl font-bold leading-tight tracking-tighter md:text-6xl lg:pr-8 lg:text-8xl"
>
{data || 'Astro'}
</h1>
</Layout>
10 changes: 5 additions & 5 deletions astro/tailwind.config.mjs
Original file line number Diff line number Diff line change
@@ -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: [],
}

0 comments on commit f8a8210

Please sign in to comment.