Skip to content

Commit 1d7b740

Browse files
committed
fix uneven project cards
1 parent cf1af1e commit 1d7b740

5 files changed

Lines changed: 36 additions & 47 deletions

File tree

app/page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import About from "@/components/about";
22
import Hero from "@/components/hero";
33
import Navbar from "@/components/navbar";
44
import Projects from "@/components/projects";
5-
import Resume from "@/components/resume";
65
import Transition from "@/components/transition";
76

87
const Home: React.FC = () => {

biome.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
{
22
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
3-
"files": {
4-
"include": ["components", "app", "lib", "models", ".next/types/**/*.ts"],
5-
"ignore": ["**/node_modules", "**/.*/"]
6-
},
73
"formatter": {
84
"enabled": true,
95
"formatWithErrors": false,

components/hero.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ const Hero: React.FC = () => {
6161
</div>
6262
</div>
6363
<div className="flex items-center justify-center">
64-
<Card className="w-3/5">
65-
<div className="relative border rounded-xl overflow-hidden">
64+
<Card className="w-3/5 border rounded-xl border-[#778f52]">
65+
<div className="relative rounded-xl border-[#778f52] overflow-hidden">
6666
<Image
6767
src={"/icon.png"}
6868
alt={"icon"}

components/project-card.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const ProjectCard: React.FC<Props> = ({
2121
}: Props) => {
2222
return (
2323
<Card className="overflow-hidden group bg-background border border-[#778f52]">
24-
<div className="relative overflow-hidden max-h-[25rem]">
24+
<div className="relative overflow-hidden h-[25rem]">
2525
<Image
2626
src={image}
2727
alt={title}
@@ -33,7 +33,7 @@ const ProjectCard: React.FC<Props> = ({
3333
/>
3434
</div>
3535
<CardContent>
36-
<div className="m-3 grid grid-rows-3 text-[#d3c6aa]">
36+
<div className="m-3 grid grid-rows-3 text-[#d3c6aa] h-[37vh]">
3737
{/* Title */}
3838
<div className="flex font-bold text-2xl justify-between w-full m-2 mt-4">
3939
<div>{title}</div>

components/projects.tsx

Lines changed: 32 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,39 @@
1-
import Background from "./background";
21
import ProjectCard from "./project-card";
32

43
const Projects: React.FC = () => {
54
return (
6-
<main className="scroll-m-14">
7-
<Background>
8-
<p
9-
id="projects"
10-
className="text-5xl items-center text-center text-[#d3c6aa] scroll-m-14 lg:m-10"
11-
>
12-
Projects
13-
</p>
14-
{/* TODO: Add current working project */}
15-
<div className="grid grid-cols-1 xl:grid-cols-2 justify-items-center items-center gap-10">
16-
<ProjectCard
17-
link="https://github.com/Aeonoi/studyit"
18-
description="A productivity tool to make focusing enjoyable and competitive.
19-
A all in one solution to study while enjoying a built in youtube player and a balanced rank system.
20-
In case of work load, there is a built in calendar for events and todos to help manage your schedule."
21-
title="StudyIt"
22-
image="/studyit.png"
23-
stack={["React.js", "Next.js", "MongoDB", "TailwindCSS"]}
24-
/>
25-
<ProjectCard
26-
link="https://github.com/Aeonoi/notts"
27-
description="A minimalistic note taking app that utilizes markdown.
28-
Easily manage your notes by placing them in folders and quickly editing with auto save. Easily manage your notes by placing them in folders and quickly editing with auto save."
29-
title="Notts"
30-
image="/notts.png"
31-
stack={["React.js", "Electron.js", "MongoDB", "TailwindCSS"]}
32-
/>
33-
<ProjectCard
34-
link="https://github.com/wrighs6/leanto"
35-
description="A simple task management application designed to simplify the process of being on multiple teams.
36-
leanto aims to provide an interface to display the tasks from each projects while also providing an interface to interact with additional project specific data and controls."
37-
title="leanto"
38-
image="/leanto.png"
39-
stack={["Preact.js", "Electron.js", "MongoDB"]}
40-
/>
41-
</div>
42-
</Background>
5+
<main id="projects" className="scroll-m-14">
6+
<p className="text-5xl items-center text-center text-[#d3c6aa] scroll-m-14 lg:m-10">
7+
Projects
8+
</p>
9+
{/* TODO: Add current working project */}
10+
<div className="grid grid-cols-1 xl:grid-cols-2 justify-items-center items-center gap-10">
11+
<ProjectCard
12+
link="https://github.com/Aeonoi/studyit"
13+
description="A productivity tool to make focusing enjoyable and competitive.
14+
A all in one solution to study while enjoying a built in youtube player and a balanced rank system.
15+
In case of work load, there is a built in calendar for events and todos to help manage your schedule."
16+
title="StudyIt"
17+
image="/studyit.png"
18+
stack={["React.js", "Next.js", "MongoDB", "TailwindCSS"]}
19+
/>
20+
<ProjectCard
21+
link="https://github.com/Aeonoi/notts"
22+
description="A minimalistic note taking app that utilizes markdown.
23+
Easily manage your notes by placing them in folders and quickly editing with auto save. Easily manage your notes by placing them in folders and quickly editing with auto save."
24+
title="Notts"
25+
image="/notts.png"
26+
stack={["React.js", "Electron.js", "MongoDB", "TailwindCSS"]}
27+
/>
28+
<ProjectCard
29+
link="https://github.com/wrighs6/leanto"
30+
description="A simple task management application designed to simplify the process of being on multiple teams.
31+
leanto aims to provide an interface to display the tasks from each projects while also providing an interface to interact with additional project specific data and controls."
32+
title="leanto"
33+
image="/leanto.png"
34+
stack={["Preact.js", "Electron.js", "MongoDB"]}
35+
/>
36+
</div>
4337
</main>
4438
);
4539
};

0 commit comments

Comments
 (0)