Skip to content

Commit ad37688

Browse files
Prepare project for GitHub Pages deployment with configuration updates
1 parent 4fedbbb commit ad37688

File tree

11 files changed

+52
-30
lines changed

11 files changed

+52
-30
lines changed

.github/pages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
name: Deploy to GitHub Pages

.nojekyll

Whitespace-only changes.

app/not-found.tsx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
"use client"
2+
3+
import Link from "next/link"
4+
import { Button } from "@/components/ui/button"
5+
import { ArrowLeft } from "lucide-react"
6+
7+
export default function NotFound() {
8+
return (
9+
<div className="flex flex-col items-center justify-center min-h-screen px-4 text-center">
10+
<h1 className="text-6xl font-bold text-primary">404</h1>
11+
<h2 className="mt-4 text-2xl font-semibold">Page Not Found</h2>
12+
<p className="mt-2 text-muted-foreground">
13+
The page you're looking for doesn't exist or has been moved.
14+
</p>
15+
<Link href="/" className="mt-8">
16+
<Button className="flex items-center gap-2">
17+
<ArrowLeft className="h-4 w-4" />
18+
Back to Home
19+
</Button>
20+
</Link>
21+
</div>
22+
)
23+
}

app/page.tsx

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -434,21 +434,21 @@ export default function Home() {
434434
</CardContent>
435435
</Card>
436436

437-
{/* Project 3 */}
437+
{/* Project 3 - Godot Smart Graphics Settings */}
438438
<Card className="overflow-hidden group hover:shadow-md hover:shadow-primary/10 transition-shadow">
439439
<div className="relative h-48 w-full overflow-hidden">
440440
<Image
441-
src="/placeholder.svg?height=400&width=600"
442-
alt="Project 3"
441+
src="/smart-graphics-settings.png"
442+
alt="Godot Smart Graphics Settings"
443443
fill
444444
className="object-cover transition-transform group-hover:scale-105"
445445
/>
446446
</div>
447447
<CardContent className="p-6">
448448
<div className="flex justify-between items-start mb-4">
449-
<h3 className="text-xl font-bold">Project Name</h3>
449+
<h3 className="text-xl font-bold">Smart Graphics Settings</h3>
450450
<div className="flex gap-2">
451-
<Link href="https://github.com/yourusername/project3" target="_blank" rel="noopener noreferrer">
451+
<Link href="https://github.com/lucasbecker-dev/godot-smart-graphics-settings" target="_blank" rel="noopener noreferrer">
452452
<Button
453453
variant="ghost"
454454
size="icon"
@@ -458,25 +458,16 @@ export default function Home() {
458458
<span className="sr-only">GitHub</span>
459459
</Button>
460460
</Link>
461-
<Link href="https://project3-demo.com" target="_blank" rel="noopener noreferrer">
462-
<Button
463-
variant="ghost"
464-
size="icon"
465-
className="h-8 w-8 text-foreground hover:text-primary hover:bg-primary/10"
466-
>
467-
<ExternalLink className="h-4 w-4" />
468-
<span className="sr-only">Live Demo</span>
469-
</Button>
470-
</Link>
471461
</div>
472462
</div>
473463
<p className="text-muted-foreground mb-4">
474-
A brief description of the project, what it does, and the problems it solves.
464+
An adaptive graphics settings system for Godot Engine that automatically adjusts quality settings to maintain target FPS, with threading support and customizable quality presets.
475465
</p>
476466
<div className="flex flex-wrap gap-2">
477-
<Badge variant="secondary">Python</Badge>
478-
<Badge variant="secondary">Django</Badge>
479-
<Badge variant="secondary">PostgreSQL</Badge>
467+
<Badge variant="secondary">Godot Engine</Badge>
468+
<Badge variant="secondary">GDScript</Badge>
469+
<Badge variant="secondary">Game Development</Badge>
470+
<Badge variant="secondary">Performance Optimization</Badge>
480471
</div>
481472
</CardContent>
482473
</Card>

next.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ const nextConfig = {
1010
output: "export",
1111
reactStrictMode: true,
1212
basePath: "",
13+
// Add trailing slash for better GitHub Pages compatibility
14+
trailingSlash: true,
1315
eslint: {
1416
ignoreDuringBuilds: true,
1517
},

package-lock.json

Lines changed: 9 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"name": "my-v0-project",
3-
"version": "0.1.0",
2+
"name": "lucasbecker.dev-github.io",
3+
"version": "1.0.0",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",
77
"build": "next build",
88
"start": "next start",
99
"lint": "next lint",
10-
"deploy": "npm run build && gh-pages -d out"
10+
"deploy": "npm run build && touch out/.nojekyll && gh-pages -d out --dotfiles"
1111
},
1212
"dependencies": {
1313
"@emailjs/browser": "^4.4.1",
@@ -39,15 +39,14 @@
3939
"@radix-ui/react-toggle": "^1.1.1",
4040
"@radix-ui/react-toggle-group": "^1.1.1",
4141
"@radix-ui/react-tooltip": "^1.1.6",
42-
"@types/react": "latest",
43-
"@types/react-dom": "latest",
4442
"autoprefixer": "^10.4.20",
4543
"class-variance-authority": "^0.7.1",
4644
"clsx": "^2.1.1",
4745
"cmdk": "1.0.4",
4846
"date-fns": "3.0.0",
4947
"embla-carousel-react": "8.5.1",
5048
"input-otp": "1.4.1",
49+
"lucasbecker.dev-github.io": "file:",
5150
"lucide-react": "^0.454.0",
5251
"my-v0-project": "file:",
5352
"next": "^14.2.24",

public/pfp2-small.png

85.5 KB
Loading

public/smart-graphics-settings.png

138 KB
Loading

0 commit comments

Comments
 (0)