Skip to content

Commit 4aa37d1

Browse files
authored
Merge pull request #2 from babblebey/fix/projects-section-safari
fix: projects section overlaps to footer in safari
2 parents 582c2c5 + 65d6b42 commit 4aa37d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/(www)/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export default async function IndexPage() {
106106
<p className="leading-normal text-muted-foreground sm:text-xl sm:leading-8">
107107
I like to engineer solutions that make a difference. Whether it&apos;s crafting problem-solving applications for businesses, creating tools that streamline my workflow or just hacking around with some ideas, innovation drives me. Here&apos;s a curated project collection, ranging from empowering business solutions to personal hacks that have either aided my learning or transformed my productivity:
108108
</p>
109-
<div className="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
109+
<div className="flex flex-wrap justify-between">
110110
{projects.map((p, i) => (
111111
<ProjectCard key={i} {...p} />
112112
))}

components/project-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ interface ProjectCardProps {
2727

2828
export function ProjectCard({ title, desc, image, category, url, linkText }: ProjectCardProps) {
2929
return (
30-
<Card className="flex flex-col overflow-hidden">
30+
<Card className="basis-full md:basis-[49%] lg:basis-[32.33%] mb-4 flex flex-col overflow-hidden">
3131
<div className="aspect-[1.4] overflow-hidden min-h-[230px]">
3232
<CardImage
3333
src={image}

0 commit comments

Comments
 (0)