Skip to content

Commit a5775b3

Browse files
committed
Update home page design
1 parent cc33c51 commit a5775b3

File tree

2 files changed

+47
-22
lines changed

2 files changed

+47
-22
lines changed

src/_components/header/HeaderMenu.module.css

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.header {
22
height: rem(56px);
3-
margin-bottom: rem(120px);
43
margin-top: rem(10px);
54
background-color: var(--mantine-color-body);
65
}

src/app/page.tsx

+47-21
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ import {
1717
Title,
1818
} from "@mantine/core";
1919
import classes from "./page.module.css";
20-
import { IconArrowRight, IconArrowUpRight } from "@tabler/icons-react";
20+
import {
21+
IconArrowRight,
22+
IconArrowUpRight,
23+
IconBrandGithub,
24+
IconBrandInstagram,
25+
IconBrandYoutube,
26+
} from "@tabler/icons-react";
2127
import SiteFooter from "@/_components/footer/Footer";
2228
import { BannerAnimation } from "@/_components/banner/BannerAnimation";
2329
import WorkSection from "@/_components/works/WorkSection";
@@ -39,7 +45,7 @@ export default function Home() {
3945

4046
return (
4147
<>
42-
<Space h={30} />
48+
<Space h={150} />
4349
<Container size="xl" pos="relative">
4450
{/* <Box
4551
w={500}
@@ -76,19 +82,17 @@ export default function Home() {
7682
>
7783
Building the future with clean, efficient, and{" "}
7884
<Text
79-
variant="gradient"
85+
variant="text"
8086
component="span"
81-
gradient={{ from: "green", to: "blue", deg: 90 }}
87+
// gradient={{ from: "green", to: "blue", deg: 90 }}
8288
fz={85}
8389
fw={900}
84-
style={
85-
{
86-
// background: "linear-gradient(45deg, red, blue)",
87-
// backgroundClip: "text",
88-
// color:
89-
// "light-dark(var(--mantine-color-bluegray-3), var(--mantine-color-dark-2))",
90-
}
91-
}
90+
style={{
91+
// background: "linear-gradient(45deg, red, blue)",
92+
// backgroundClip: "text",
93+
color:
94+
"light-dark(var(--mantine-color-gray-5), var(--mantine-color-dark-2))",
95+
}}
9296
>
9397
scalable code.
9498
</Text>
@@ -105,29 +109,49 @@ export default function Home() {
105109
</Box>
106110
<Space h={50} />
107111
<Group justify="space-between">
108-
<Group>
112+
{/* <Group>
109113
<Button color="black" radius="md" size="md">
110114
Talk with me
111115
</Button>
112116
<Button variant="default" radius="md" size="md">
113117
See my work
114118
</Button>
115-
</Group>
119+
</Group> */}
116120
<Group>
117-
<Link href={"#"} title="" className={classes.link}>
121+
<Button
122+
variant="default"
123+
component={Link}
124+
href="#"
125+
radius="xl"
126+
leftSection={<IconBrandGithub size={18} />}
127+
>
118128
Github
119-
</Link>
120-
<Link href={"#"} title="" className={classes.link}>
129+
</Button>
130+
<Button
131+
variant="default"
132+
component={Link}
133+
href="#"
134+
radius="xl"
135+
leftSection={<IconBrandYoutube size={18} />}
136+
>
121137
Youtube
122-
</Link>
123-
<Link href={"#"} title="" className={classes.link}>
138+
</Button>
139+
<Button
140+
variant="default"
141+
component={Link}
142+
href="#"
143+
radius="xl"
144+
leftSection={<IconBrandInstagram size={18} />}
145+
>
124146
Instagram
125-
</Link>
147+
</Button>
126148
</Group>
127149
</Group>
128150
</Container>
129151
<Space h={150} />
130-
<Box>{/* <BannerAnimation images={images} speed={100000} /> */}</Box>
152+
<Box>
153+
<BannerAnimation images={images} speed={100000} />
154+
</Box>
131155
<Space h={150} />
132156
<Container size="xl" pos="relative">
133157
<Grid>
@@ -152,6 +176,8 @@ export default function Home() {
152176
radius="xl"
153177
rightSection={<IconArrowRight />}
154178
fz={16}
179+
component={Link}
180+
href="/about-me"
155181
>
156182
About Me
157183
</Button>

0 commit comments

Comments
 (0)