Update global styles and enhance landing page layout

- Added overflow-x hidden to prevent horizontal scrolling on html and body elements.
- Centered the heading and paragraph text on the landing page for improved aesthetics.
- Introduced a mobile-friendly centered screenshot above download buttons.
- Updated comments for clarity regarding screenshot positioning on different devices.
This commit is contained in:
Jamie Pine
2026-01-25 21:06:41 -08:00
parent af2f37ccb1
commit b4b3762ef0
5 changed files with 164 additions and 17 deletions
+18
View File
@@ -0,0 +1,18 @@
import { NextResponse } from 'next/server';
import { getLatestRelease } from '@/lib/releases';
export const dynamic = 'force-dynamic';
export const revalidate = 600; // Revalidate every 10 minutes
export async function GET() {
try {
const releaseInfo = await getLatestRelease();
return NextResponse.json(releaseInfo);
} catch (error) {
console.error('Error fetching release info:', error);
return NextResponse.json(
{ error: 'Failed to fetch release information' },
{ status: 500 }
);
}
}