Skip to content

Commit aadadcf

Browse files
committed
Fresh start: remove broken container config, use explicit max-width centering
1 parent d5eeabf commit aadadcf

File tree

2 files changed

+22
-35
lines changed

2 files changed

+22
-35
lines changed

src/app/page.tsx

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,30 @@
1-
import Link from 'next/link';
2-
31
export default function Home() {
42
return (
5-
<div className="w-full">
3+
<>
64
{/* Hero */}
7-
<section className="w-full bg-gray-50 dark:bg-gray-900">
8-
<div className="container mx-auto px-4 py-20 text-center">
5+
<div className="w-full bg-gray-50 dark:bg-gray-900 py-20">
6+
<div className="max-w-4xl mx-auto px-6 text-center">
97
<h1 className="text-5xl md:text-6xl font-bold mb-6">iFly</h1>
108
<p className="text-2xl md:text-3xl mb-4">Dreamcast Emulator for iOS & tvOS</p>
11-
<p className="text-lg text-gray-600 dark:text-gray-400 mb-8 max-w-2xl mx-auto">
9+
<p className="text-lg text-gray-600 dark:text-gray-400 mb-8">
1210
Experience classic Sega Dreamcast games on your iPhone, iPad, and Apple TV.
1311
</p>
14-
<div className="flex gap-4 justify-center">
15-
<Link href="#download" className="bg-orange-600 text-white px-8 py-3 rounded-lg font-semibold hover:bg-orange-700">
12+
<div className="flex flex-col sm:flex-row gap-4 justify-center">
13+
<a href="#download" className="bg-orange-600 text-white px-8 py-3 rounded-lg font-semibold hover:bg-orange-700 transition">
1614
Download
17-
</Link>
18-
<Link href="/features" className="border-2 border-gray-300 dark:border-gray-700 px-8 py-3 rounded-lg font-semibold hover:bg-gray-100 dark:hover:bg-gray-800">
15+
</a>
16+
<a href="/features" className="border-2 border-gray-300 dark:border-gray-700 px-8 py-3 rounded-lg font-semibold hover:bg-gray-100 dark:hover:bg-gray-800 transition">
1917
Features
20-
</Link>
18+
</a>
2119
</div>
2220
</div>
23-
</section>
21+
</div>
2422

2523
{/* Features */}
26-
<section className="w-full py-20">
27-
<div className="container mx-auto px-4">
24+
<div className="w-full py-20">
25+
<div className="max-w-5xl mx-auto px-6">
2826
<h2 className="text-4xl font-bold text-center mb-12">Why iFly?</h2>
29-
<div className="grid md:grid-cols-3 gap-8 max-w-5xl mx-auto">
27+
<div className="grid md:grid-cols-3 gap-8">
3028
<div className="text-center p-6">
3129
<div className="text-5xl mb-4">🎯</div>
3230
<h3 className="text-xl font-bold mb-2">Accurate</h3>
@@ -44,25 +42,25 @@ export default function Home() {
4442
</div>
4543
</div>
4644
</div>
47-
</section>
45+
</div>
4846

4947
{/* Download */}
50-
<section id="download" className="w-full py-20 bg-gray-50 dark:bg-gray-900">
51-
<div className="container mx-auto px-4 text-center">
48+
<div id="download" className="w-full py-20 bg-gray-50 dark:bg-gray-900">
49+
<div className="max-w-3xl mx-auto px-6 text-center">
5250
<h2 className="text-4xl font-bold mb-6">Download iFly</h2>
53-
<div className="max-w-2xl mx-auto bg-orange-100 dark:bg-orange-900/30 border-2 border-orange-300 dark:border-orange-700 rounded-lg p-8 mb-8">
51+
<div className="bg-orange-100 dark:bg-orange-900/30 border-2 border-orange-300 dark:border-orange-700 rounded-lg p-8">
5452
<p className="text-xl font-bold mb-2">Coming Soon</p>
5553
<p className="text-gray-700 dark:text-gray-300">iFly is currently in development. Check back soon!</p>
5654
</div>
5755
</div>
58-
</section>
56+
</div>
5957

6058
{/* Footer */}
61-
<footer className="w-full border-t py-8">
62-
<div className="container mx-auto px-4 text-center">
59+
<div className="w-full border-t py-8">
60+
<div className="max-w-4xl mx-auto px-6 text-center">
6361
<p className="text-gray-600 dark:text-gray-400">© 2025 Provenance EMU. All rights reserved.</p>
6462
</div>
65-
</footer>
66-
</div>
63+
</div>
64+
</>
6765
);
6866
}

tailwind.config.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,6 @@ module.exports = {
66
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
77
],
88
theme: {
9-
container: {
10-
center: true,
11-
padding: '1rem',
12-
screens: {
13-
sm: '640px',
14-
md: '768px',
15-
lg: '1024px',
16-
xl: '1200px',
17-
'2xl': '72rem',
18-
},
19-
},
209
extend: {
2110
colors: {
2211
background: 'var(--background)',

0 commit comments

Comments
 (0)