Skip to content

Commit d754519

Browse files
committed
2 parents 48dbe57 + ec01902 commit d754519

File tree

6 files changed

+27
-15
lines changed

6 files changed

+27
-15
lines changed

src/components/blocks/changelog-section/v1_1_0.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ function v1_1_0() {
2626
consistent visuals across all environments. Tokens for colors, spacing, typography, and more are now fully
2727
type-safe and easily customizable, ensuring that your design system can grow alongside your projects.{' '}
2828
</p>
29-
<Button>Read More</Button>
29+
<Button asChild>
30+
<a href='#'>Read More</a>
31+
</Button>
3032
<Accordion data={accordionDataV1_1_0} />
3133
</div>
3234
</TimelineItem>

src/components/layout/theme-toggle.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client'
22

33
import * as React from 'react'
4-
import { MoonStar, Sun } from 'lucide-react'
4+
import { MoonStarIcon, SunIcon } from 'lucide-react'
55
import { Button } from '@/components/ui/button'
66

77
function ThemeToggle() {
@@ -30,8 +30,8 @@ function ThemeToggle() {
3030
className='relative'
3131
onClick={() => setTheme(theme === 'light' ? 'dark' : 'light')}
3232
>
33-
<MoonStar className='size-4 scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90' />
34-
<Sun className='absolute size-4 scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0' />
33+
<MoonStarIcon className='size-4 scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90' />
34+
<SunIcon className='absolute size-4 scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0' />
3535
<span className='sr-only'>Toggle theme</span>
3636
</Button>
3737
)

src/consts.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
// Site Configuration
22
// Centralized configuration for site metadata, SEO, and branding
33

4-
export const SITE_TITLE = 'shadcn Studio - Modern Astro Template'
4+
export const SITE_TITLE = 'Track - Changelog Landing Page | Shadcn Studio'
55
export const SITE_DESCRIPTION =
6-
'Build lightning-fast, SEO-optimized websites with our professional Astro template featuring shadcn/ui components, Tailwind CSS, and modern best practices.'
6+
'A clean, centralized page that highlights product updates, improvements, and fixes so users can quickly see what’s new.'
77

8-
export const GITHUB_URL = 'https://github.com/yourusername/master-shadcn-astro'
9-
export const SITE_URL = 'https://shadcnstudio.com/'
8+
export const GITHUB_URL = 'https://github.com/yourusername/shadcn-astro-track-landing-page'
9+
export const SITE_URL = 'https://shadcn-astro-track-landing-page.vercel.app/'
1010

1111
export const SITE_METADATA = {
1212
title: {
13-
default: 'shadcn Studio - Modern Astro Template',
14-
template: '%s | shadcn Studio'
13+
default: 'Demo: Track - Changelog Landing Page | Shadcn Studio'
1514
},
1615
description:
1716
'A professional Astro template built with shadcn/ui, Tailwind CSS & React. Optimized for performance and SEO. Open source - MIT License.',

src/layouts/HeadSeo.astro

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const {
3131
} = Astro.props
3232
3333
// Use site metadata defaults if not provided
34-
const finalTitle = title ? `${title} | ${SITE_METADATA.title.default}` : SITE_METADATA.title.default
34+
const finalTitle = title ? `Demo: ${title} | Track | Shadcn Studio` : SITE_METADATA.title.default
3535
const finalDescription = description || SITE_METADATA.description
3636
const finalKeywords = keywords || SITE_METADATA.keywords.join(', ')
3737
const finalImage = image || SITE_METADATA.openGraph.images[0].url
@@ -148,10 +148,18 @@ const schemaData = schema || defaultSchema
148148
<!-- Performance and Resource Hints -->
149149
<link rel='dns-prefetch' href='https://fonts.googleapis.com' />
150150
<link rel='preconnect' href='https://fonts.googleapis.com' />
151-
<link rel='preconnect' href='https://fonts.gstatic.com' crossorigin />
151+
<link rel='preconnect' href='https://fonts.gstatic.com' crossorigin='anonymous' />
152+
<!-- Google Fonts - Optimized Loading -->
152153
<link
153-
href='https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Geist+Mono:wght@100..900&display=swap'
154+
rel='preload'
155+
as='style'
156+
href='https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&family=Geist:wght@100..900&display=swap'
157+
/>
158+
<link
159+
href='https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&family=Geist:wght@100..900&display=swap'
154160
rel='stylesheet'
161+
media='print'
162+
onload="this.media='all'"
155163
/>
156164

157165
<!-- Theme Color -->

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import CTASection from '@/components/blocks/cta-section/cta-section'
88
import { faqItems } from '@/components/sections/faq-content'
99
1010
// Page-specific SEO configuration
11-
const pageTitle = 'Track - Changelog Landing Page'
11+
const pageTitle = ''
1212
const pageDescription =
1313
'Create lightning-fast, SEO-optimized websites with our Astro template featuring shadcn/ui components and Tailwind CSS. Perfect for developers building modern web applications.'
1414
const pageKeywords =

src/styles/global.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@
157157
@apply border-border outline-ring/50;
158158
}
159159
body {
160-
@apply bg-background text-foreground;
160+
@apply bg-background text-foreground antialiased;
161+
-webkit-font-smoothing: antialiased;
162+
-moz-osx-font-smoothing: grayscale;
163+
text-rendering: optimizeLegibility;
161164
}
162165
}

0 commit comments

Comments
 (0)