Skip to content

Commit f41a388

Browse files
committed
clean up styling
1 parent e0c33ce commit f41a388

7 files changed

Lines changed: 16 additions & 17 deletions

File tree

app/(pages)/(hackers)/_components/StarterKit/Ideate/Ideate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import IdeateWinningHacks from './IdeateWinningHacks';
55

66
export default function Ideate() {
77
return (
8-
<div className="my-[100px] ml-[24px] mr-0 flex flex-col gap-[112px] bg-[#F1FFCC] p-[7%] pr-[7%] md:ml-[60px] md:mr-0 md:gap-[144px]">
8+
<div className="flex flex-col gap-[112px] bg-[#F1FFCC] py-[7%] px-[4%] md:gap-[144px]">
99
<IdeateHero />
1010
<IdeatePrinciples />
1111
<IdeateWinningHacks />

app/(pages)/(hackers)/_components/StarterKit/Ideate/IdeateHero.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default function IdeateHero() {
66
return (
77
<IdeateSection eyebrow="Ideate" title="What is a winnable idea?">
88
<div className="grid items-start gap-8 md:grid-cols-[minmax(0,1fr)_minmax(320px,0.95fr)] md:gap-12 lg:gap-16">
9-
<div className="max-w-[34rem] pt-[5%] self-start space-y-6 text-[0.95rem] leading-[1.3] text-[#5e6457] md:text-[1rem] lg:text-[1.05rem]">
9+
<div className="max-w-[34rem] pt-[5%] self-start space-y-6 text-[1rem] text-[#5e6457]">
1010
<p>
1111
A winnable idea is{' '}
1212
<span className="underline decoration-[#a7ae85] decoration-[1.5px] underline-offset-[0.18em]">
@@ -25,7 +25,6 @@ export default function IdeateHero() {
2525
src={podium}
2626
alt="HackDavis animals celebrating on a podium"
2727
className="relative z-10 h-auto w-full self-end object-contain px-3 pt-3 md:px-5 md:pt-5"
28-
priority
2928
/>
3029
</div>
3130
</div>

app/(pages)/(hackers)/_components/StarterKit/Ideate/IdeateInfoCard.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ export default function IdeateInfoCard({
1010
description,
1111
}: IdeateInfoCardProps) {
1212
return (
13-
<article className="flex h-full flex-col gap-5 text-text-dark">
13+
<article className="flex h-full flex-col gap-5">
1414
<div className="relative flex aspect-[1.22] items-center justify-center overflow-hidden rounded-[22px] bg-[#cfeff3]">
1515
{visual}
1616
</div>
1717
<div className="space-y-3">
18-
<h3 className="font-metropolis text-[1.35rem] font-semibold leading-tight md:text-[1.6rem]">
18+
<h3 className="font-jakarta text-[1.25rem] font-semibold text-[#1F1F1F]">
1919
{title}
2020
</h3>
21-
<p className="max-w-[20rem] text-[1rem] leading-[1.15] text-[#58635b] md:text-[1.05rem]">
21+
<p className="max-w-[20rem] text-[1rem] text-[#000000a6]">
2222
{description}
2323
</p>
2424
</div>

app/(pages)/(hackers)/_components/StarterKit/Ideate/IdeateMentorCallout.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ export default function IdeateMentorCallout() {
1515
/>
1616
</div>
1717
<div className="order-2 flex flex-col gap-6 md:order-2">
18-
<p className="text-[0.6rem] font-jakarta uppercase tracking-[0.2em] text-text-gray md:text-xs">
18+
<p className="text-[1rem] font-dm-mono uppercase text-[#00000066]">
1919
Still Feel Stuck?
2020
</p>
21-
<p className="max-w-[38rem] text-[0.92rem] leading-[1.35] text-[#5e6457] md:text-[1rem] lg:text-[1.08rem]">
21+
<p className="max-w-[38rem] text-[#656565] text-[1rem]">
2222
No worries, we have a panel of industry mentors who are ready to
2323
lend you help at any part of your development process.
2424
</p>
25-
<div className="hidden rounded-[24px] bg-[#eef8bf] px-6 py-5 text-[#5e6457] md:block md:px-8 md:py-6">
26-
<p className="text-[1rem] leading-[1.3] md:text-[1.18rem]">
25+
<div className="hidden rounded-[20px] bg-[#E9FBBA] px-6 py-5 text-[#000000a6] md:block md:px-8 md:py-6">
26+
<p className="text-[1rem]">
2727
<span className="italic">Note:</span> If you have any questions
2828
regarding hackathon events, please contact a{' '}
2929
<a
@@ -42,7 +42,7 @@ export default function IdeateMentorCallout() {
4242
href="https://discord.gg/Ba5xAtf8"
4343
target="_blank"
4444
rel="noopener noreferrer"
45-
className="inline-flex items-center gap-3 font-dm-mono text-[1.05rem] uppercase tracking-[0.12em] text-text-dark underline underline-offset-4 transition hover:opacity-75 md:text-[1.18rem]"
45+
className="inline-flex items-center gap-3 font-dm-mono text-[1.125rem] uppercase text-[#3F3F3F] underline underline-offset-4 transition hover:opacity-75"
4646
>
4747
<ArrowRight className="h-5 w-5" />
4848
Contact a mentor

app/(pages)/(hackers)/_components/StarterKit/Ideate/IdeateSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ export default function IdeateSection({
1515
<section className="flex flex-col gap-4 md:gap-6">
1616
<div className="flex flex-col gap-3 md:flex-row md:items-end md:justify-between">
1717
<div className="max-w-2xl">
18-
<p className="text-[0.6rem] font-jakarta uppercase tracking-[0.2em] text-text-gray md:text-xs">
18+
<p className="text-[1rem] font-dm-mono uppercase text-[#00000066]">
1919
{eyebrow}
2020
</p>
21-
<h2 className="mt-1 font-metropolis text-2xl font-bold tracking-[0.02em] text-text-dark md:text-[2rem]">
21+
<h2 className="mt-1 font-jakarta text-[28px] md:text-[32px] font-semibold text-[#3F3F3F]">
2222
{title}
2323
</h2>
2424
</div>

app/(pages)/(hackers)/_components/StarterKit/Ideate/WinningHackCard.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ export default function WinningHackCard({
4141
)}
4242
</div>
4343
<div className="flex flex-1 flex-col gap-2 md:gap-3">
44-
<p className="font-dm-mono text-[0.72rem] uppercase tracking-[0.16em] text-[#aaaaaa] md:text-[0.82rem]">
44+
<p className="font-dm-mono text-[1rem] uppercase text-[#00000066]">
4545
{award} {year}
4646
</p>
47-
<h3 className="font-metropolis text-[1.15rem] font-semibold leading-none text-text-dark md:text-[1.6rem]">
47+
<h3 className="font-metropolis text-[1.25rem] font-semibold text-[#1F1F1F]">
4848
{title}
4949
</h3>
50-
<p className="max-w-[42rem] text-[0.98rem] leading-[1.1] text-[#6b6b6b] md:text-[1.05rem]">
50+
<p className="max-w-[42rem] text-[1rem] text-[#000000a6]">
5151
{description}
5252
</p>
5353
</div>

app/(pages)/(hackers)/_components/StarterKit/Introduction.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import mascots from '@public/hackers/starter-kit/introduction/startkit_mascots.s
33

44
export default function Introduction() {
55
return (
6-
<div className="my-[100px] mx-[60px] gap-[32px] md:gap-[8%] flex flex-col md:flex-row items-center">
6+
<div className="py-[7%] px-[4%] gap-[32px] md:gap-[8%] flex flex-col md:flex-row items-center">
77
<div className="flex-1">
88
<Image src={mascots} alt="hackdavis mascots looking at computer" />
99
</div>

0 commit comments

Comments
 (0)