Skip to content

Commit 21cbbcd

Browse files
Update portfolio with personalized content and GitHub Pages deployment
1 parent b1f24c5 commit 21cbbcd

File tree

10 files changed

+397
-100
lines changed

10 files changed

+397
-100
lines changed

.github/workflows/publish.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: publish-to-github-pages
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
concurrency:
13+
group: "pages"
14+
cancel-in-progress: false
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Checkout 🛎️
22+
uses: actions/checkout@v4
23+
24+
- name: Setup Node.js ⚙️ - Cache dependencies ⚡ - Install dependencies 🔧
25+
uses: ./.github/workflows/setup-node
26+
27+
- name: Setup Pages ⚙️
28+
uses: actions/configure-pages@v4
29+
with:
30+
static_site_generator: next
31+
32+
- name: Build with Next.js 🏗️
33+
run: npx next build
34+
35+
- name: Upload artifact 📡
36+
uses: actions/upload-pages-artifact@v3
37+
with:
38+
path: ./out
39+
40+
deploy:
41+
environment:
42+
name: github-pages
43+
url: ${{ steps.deployment.outputs.page_url }}
44+
45+
runs-on: ubuntu-latest
46+
needs: build
47+
48+
steps:
49+
- name: Publish to GitHub Pages 🚀
50+
id: deployment
51+
uses: actions/deploy-pages@v4
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: setup-node
2+
description: "Setup Node.js ⚙️ - Cache dependencies ⚡ - Install dependencies 🔧"
3+
runs:
4+
using: "composite"
5+
steps:
6+
- name: Setup Node.js ⚙️
7+
uses: actions/setup-node@v4
8+
with:
9+
node-version: 20
10+
11+
- name: Cache dependencies ⚡
12+
id: cache_dependencies
13+
uses: actions/cache@v3
14+
with:
15+
path: node_modules
16+
key: node-modules-${{ hashFiles('package-lock.json') }}
17+
18+
- name: Install dependencies 🔧
19+
shell: bash
20+
if: steps.cache_dependencies.outputs.cache-hit != 'true'
21+
run: npm ci

app/globals.css

Lines changed: 42 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,55 +4,56 @@
44

55
@layer base {
66
:root {
7-
--background: 48 100% 97%;
8-
--foreground: 217 33% 17%;
9-
--card: 48 100% 98%;
10-
--card-foreground: 217 33% 17%;
11-
--popover: 48 100% 98%;
12-
--popover-foreground: 217 33% 17%;
13-
--primary: 217 91% 60%;
14-
--primary-foreground: 48 100% 97%;
15-
--secondary: 48 96% 89%;
16-
--secondary-foreground: 217 33% 17%;
17-
--muted: 48 96% 89%;
18-
--muted-foreground: 217 33% 38%;
19-
--accent: 48 96% 89%;
20-
--accent-foreground: 217 33% 17%;
21-
--destructive: 0 84% 60%;
22-
--destructive-foreground: 48 100% 97%;
23-
--border: 48 96% 89%;
24-
--input: 48 96% 89%;
25-
--ring: 217 91% 60%;
7+
--background: 0 0% 100%;
8+
--foreground: 222.2 84% 4.9%;
9+
--card: 0 0% 100%;
10+
--card-foreground: 222.2 84% 4.9%;
11+
--popover: 0 0% 100%;
12+
--popover-foreground: 222.2 84% 4.9%;
13+
--primary: 221.2 83.2% 53.3%;
14+
--primary-foreground: 210 40% 98%;
15+
--secondary: 210 40% 96.1%;
16+
--secondary-foreground: 222.2 47.4% 11.2%;
17+
--muted: 210 40% 96.1%;
18+
--muted-foreground: 215.4 16.3% 46.9%;
19+
--accent: 210 40% 96.1%;
20+
--accent-foreground: 222.2 47.4% 11.2%;
21+
--destructive: 0 84.2% 60.2%;
22+
--destructive-foreground: 210 40% 98%;
23+
--border: 214.3 31.8% 91.4%;
24+
--input: 214.3 31.8% 91.4%;
25+
--ring: 221.2 83.2% 53.3%;
2626
--radius: 0.5rem;
2727
}
2828

2929
.dark {
30-
--background: 217 33% 5%;
31-
--foreground: 48 100% 97%;
32-
--card: 217 33% 7%;
33-
--card-foreground: 48 100% 97%;
34-
--popover: 217 33% 7%;
35-
--popover-foreground: 48 100% 97%;
36-
--primary: 217 91% 60%;
37-
--primary-foreground: 217 33% 5%;
38-
--secondary: 217 33% 12%;
39-
--secondary-foreground: 48 100% 97%;
40-
--muted: 217 33% 12%;
41-
--muted-foreground: 48 96% 89%;
42-
--accent: 217 33% 12%;
43-
--accent-foreground: 48 100% 97%;
44-
--destructive: 0 62% 30%;
45-
--destructive-foreground: 48 100% 97%;
46-
--border: 217 33% 12%;
47-
--input: 217 33% 12%;
48-
--ring: 217 91% 60%;
30+
--background: 222.2 84% 4.9%;
31+
--foreground: 210 40% 98%;
32+
--card: 222.2 84% 4.9%;
33+
--card-foreground: 210 40% 98%;
34+
--popover: 222.2 84% 4.9%;
35+
--popover-foreground: 210 40% 98%;
36+
--primary: 217.2 91.2% 59.8%;
37+
--primary-foreground: 222.2 47.4% 11.2%;
38+
--secondary: 217.2 32.6% 17.5%;
39+
--secondary-foreground: 210 40% 98%;
40+
--muted: 217.2 32.6% 17.5%;
41+
--muted-foreground: 215 20.2% 65.1%;
42+
--accent: 217.2 32.6% 17.5%;
43+
--accent-foreground: 210 40% 98%;
44+
--destructive: 0 62.8% 30.6%;
45+
--destructive-foreground: 210 40% 98%;
46+
--border: 217.2 32.6% 17.5%;
47+
--input: 217.2 32.6% 17.5%;
48+
--ring: 224.3 76.3% 48%;
4949
}
5050
}
5151

5252
@layer base {
5353
* {
5454
@apply border-border;
5555
}
56+
5657
body {
5758
@apply bg-background text-foreground;
5859
}
@@ -62,3 +63,6 @@
6263
@apply bg-muted/50;
6364
}
6465

66+
.text-shadow {
67+
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
68+
}

app/layout.tsx

Lines changed: 56 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,56 @@ import { ThemeProvider } from "@/components/theme-provider"
77
const inter = Inter({ subsets: ["latin"] })
88

99
export const metadata: Metadata = {
10-
title: "YourName - Software Engineer",
11-
description: "Personal portfolio of YourName, a software engineer specializing in web development.",
12-
generator: 'v0.dev'
10+
title: "Lucas Becker | Full Stack Java & React Developer | Software Engineer",
11+
description: "Portfolio of Lucas Becker, a Software Engineer specializing in Java, Spring Boot, React, TypeScript, and full-stack web development. Experienced in building scalable applications and teaching coding skills.",
12+
generator: 'v0.dev',
13+
keywords: [
14+
"Lucas Becker",
15+
"Software Engineer",
16+
"Full Stack Developer",
17+
"Java Developer",
18+
"Spring Boot",
19+
"React Developer",
20+
"TypeScript",
21+
"Web Development",
22+
"Hibernate",
23+
"Maven",
24+
"MySQL",
25+
"Tailwind CSS",
26+
"Next.js",
27+
"Frontend Development",
28+
"Backend Development",
29+
"RESTful APIs",
30+
"Coding Instructor",
31+
"Project Management",
32+
"Software Development",
33+
"UI/UX Design"
34+
],
35+
authors: [
36+
{
37+
name: "Lucas Becker",
38+
url: "https://github.com/lucasbecker-dev",
39+
},
40+
],
41+
creator: "Lucas Becker",
42+
openGraph: {
43+
type: "website",
44+
locale: "en_US",
45+
url: "https://lucasbecker-dev.github.io",
46+
title: "Lucas Becker | Full Stack Java & React Developer",
47+
description: "Portfolio of Lucas Becker, a Software Engineer specializing in Java, Spring Boot, React, TypeScript, and full-stack web development.",
48+
siteName: "Lucas Becker Portfolio",
49+
},
50+
twitter: {
51+
card: "summary_large_image",
52+
title: "Lucas Becker | Full Stack Java & React Developer",
53+
description: "Portfolio of Lucas Becker, a Software Engineer specializing in Java, Spring Boot, React, TypeScript, and full-stack web development.",
54+
creator: "@lucasbecker_dev",
55+
},
56+
icons: {
57+
icon: '/favicon.ico',
58+
},
59+
metadataBase: new URL("https://lucasbecker-dev.github.io"),
1360
}
1461

1562
export default function RootLayout({
@@ -19,6 +66,12 @@ export default function RootLayout({
1966
}) {
2067
return (
2168
<html lang="en" suppressHydrationWarning>
69+
<head>
70+
<meta name="robots" content="index, follow" />
71+
<meta name="viewport" content="width=device-width, initial-scale=1" />
72+
<meta name="google-site-verification" content="your-verification-code" />
73+
<link rel="canonical" href="https://lucasbecker-dev.github.io" />
74+
</head>
2275
<body className={inter.className}>
2376
<ThemeProvider attribute="class" defaultTheme="system" enableSystem disableTransitionOnChange>
2477
{children}

0 commit comments

Comments
 (0)