Skip to content

Commit f72059d

Browse files
committed
UI: FULL LAYOUT CHANGE - BREAKING 2
Signed-off-by: ARYPROGRAMMER <[email protected]>
1 parent 54a56d4 commit f72059d

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

src/app/default/page.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
Users,
88
ArrowRight,
99
Terminal,
10-
Globe,
1110
GitBranch,
1211
Star,
1312
} from "lucide-react";
@@ -33,7 +32,7 @@ const HomePage = () => {
3332
window.addEventListener("resize", setCanvasSize);
3433

3534

36-
let lines = [];
35+
const lines: { x: number; y: number; length: number; angle: number; speed: number; originalSpeed: number; thickness: number; }[] = [];
3736
for (let i = 0; i < 15; i++) {
3837

3938
lines.push({
@@ -104,6 +103,7 @@ const HomePage = () => {
104103

105104
animate();
106105

106+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
107107
const handleMouseMove = (e: { clientX: any; clientY: any }) => {
108108
setMousePos({ x: e.clientX, y: e.clientY });
109109
};
@@ -126,16 +126,16 @@ const HomePage = () => {
126126
className="absolute inset-0 w-full h-full"
127127
style={{ opacity: 0.9 }}
128128
/>
129-
{/* Navigation */}
129+
130130
<Header />
131-
{/* Hero Section */}
131+
132132
<section className="relative pt-32 pb-20 px-4">
133133
<div className="max-w-7xl mx-auto text-center">
134134
<h1 className="text-6xl md:text-8xl font-bold mb-8">
135135
<span className="block text-transparent bg-clip-text bg-gradient-to-r from-purple-400 to-pink-600">
136136
I Built CodeX
137137
</span>
138-
<span className="block text-white mt-2">Because I Can't Code</span>
138+
<span className="block text-white mt-2">Because I Can&apos;t Code</span>
139139
</h1>
140140
<p className="text-xl text-gray-300 mb-12 max-w-2xl mx-auto">
141141
Join a global community of competitive programmers. Practice,

src/app/not-found.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,17 @@ const NotFound = () => {
4646
Under Maintenance
4747
</h2>
4848

49-
{/* Description */}
5049
<div className="mb-8 space-y-4 text-purple-100/80">
5150
<p className="text-lg">
52-
We're currently optimizing this section of CodeX to bring you an even better coding experience.
51+
We&apos;re currently optimizing this section of CodeX to bring you an even better coding experience.
5352
</p>
5453
<div className="flex items-center justify-center gap-2 text-yellow-400">
5554
<Server className="w-5 h-5 animate-pulse" />
5655
<span className="text-sm">System Upgrade in Progress</span>
5756
</div>
5857
</div>
5958

60-
{/* Back to Home Button */}
59+
6160
<Link
6261
href="/"
6362
className="group inline-flex items-center gap-2 px-6 py-3 text-lg bg-purple-600 hover:bg-purple-500 rounded-lg transition-all duration-300 hover:shadow-lg hover:shadow-purple-500/25"

0 commit comments

Comments
 (0)