Skip to content

Commit 973aaf9

Browse files
committed
chore: rename theme switch, add hero
1 parent 31355f7 commit 973aaf9

File tree

3 files changed

+42
-4
lines changed

3 files changed

+42
-4
lines changed

app/root.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import {
3131
Sheet,
3232
} from '#app/components/ui/sheet'
3333
import { EpicToaster } from '#app/components/ui/sonner.tsx'
34-
import { ThemeSwitch, useTheme } from '#app/routes/resources+/theme'
34+
import { ThemeSwitch, useTheme } from '#app/routes/resources+/theme-switch.js'
3535
import { getUserId, logout } from '#app/utils/auth.server.ts'
3636
import { ClientHintCheck, getHints } from '#app/utils/client-hints.tsx'
3737
import { prisma } from '#app/utils/db.server.ts'

app/routes/_index.tsx

+41-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import { LinkedinIcon, GithubIcon } from "#app/components/icons.js"
22

3-
const Home = () => {
3+
const HeroOne = () => {
44
return (
5-
<>
6-
<section className="w-full py-12 md:py-24 lg:py-32 xl:py-48">
5+
<section className="w-full py-12 md:py-24 lg:py-32 xl:py-48">
76
<div className="container px-4 md:px-6">
87
<div className="flex flex-col items-center space-y-4 text-center">
98
<div className="space-y-2">
@@ -21,6 +20,45 @@ const Home = () => {
2120
</div>
2221
</div>
2322
</section>
23+
)
24+
};
25+
26+
const HeroTwo = () => {
27+
return (
28+
<section className="w-full border-b py-12 md:py-24 lg:py-32">
29+
<div className="container grid gap-6 px-4 md:px-6 lg:grid-cols-2 lg:gap-12 xl:gap-20">
30+
<div className="flex flex-col items-start justify-center space-y-4">
31+
<h1 className="text-4xl font-bold tracking-tighter sm:text-5xl md:text-6xl lg:text-7xl">
32+
Lucas Byerley
33+
</h1>
34+
<h2 className="text-2xl font-medium text-gray-500 dark:text-gray-400 sm:text-3xl">
35+
Senior Software Engineer | Sports & Web3 Enthusiast
36+
</h2>
37+
<p className="max-w-[600px] text-gray-500 dark:text-gray-400 md:text-xl">
38+
I create clean, modern, and responsive web applications that
39+
deliver exceptional user experiences.
40+
</p>
41+
</div>
42+
<img
43+
alt="Lucas Byerley"
44+
className="mx-auto rounded-full object-cover"
45+
height="400"
46+
src="https://avatars.githubusercontent.com/u/3066258"
47+
style={{
48+
aspectRatio: '400/400',
49+
objectFit: 'cover',
50+
}}
51+
width="400"
52+
/>
53+
</div>
54+
</section>
55+
)
56+
};
57+
58+
const Home = () => {
59+
return (
60+
<>
61+
<HeroOne />
2462
<section
2563
id="section-featuredprojects"
2664
className="w-full bg-gray-100 py-12 dark:bg-gray-800 md:py-24 lg:py-32"
File renamed without changes.

0 commit comments

Comments
 (0)