Skip to content

Commit 90bdafa

Browse files
committed
Winnable idea desktop + mobile
1 parent 242e43d commit 90bdafa

3 files changed

Lines changed: 145 additions & 9 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] mx-[24px] p-[7%] md:mx-[60px] bg-[#F1FFCC] border-2 border border-black flex flex-col gap-[48px]">
8+
<div className="my-[100px] mx-[24px] p-[7%] md:mx-[60px] bg-[#F1FFCC] flex flex-col gap-[48px]">
99
<IdeateHero />
1010
<IdeatePrinciples />
1111
<IdeateWinningHacks />

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

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,30 @@
11
import Image from 'next/image';
2-
import podium from '@public/hackers/starter-kit/ideate/podium.svg';
2+
import podium from '@public/hackers/starter-kit/ideate/WinnableIdea.svg';
33
import IdeateSection from './IdeateSection';
44

55
export default function IdeateHero() {
66
return (
77
<IdeateSection eyebrow="Ideate" title="What is a winnable idea?">
8-
<div className="grid gap-6 rounded-[28px] bg-[linear-gradient(135deg,rgba(255,255,255,0.62)_0%,rgba(245,255,208,0.7)_100%)] p-4 shadow-[0_16px_45px_rgba(175,209,87,0.12)] ring-1 ring-[#e7efb6] md:grid-cols-[minmax(0,1.1fr)_minmax(260px,0.9fr)] md:items-center md:p-6 lg:p-8">
9-
<div className="space-y-4 text-sm leading-7 text-[#5e6457] md:text-base">
8+
<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]">
1010
<p>
11-
A winnable idea is not always the most complicated one. It is clear,
12-
purposeful, and rooted in a real user need.
11+
A winnable idea is{' '}
12+
<span className="underline decoration-[#a7ae85] decoration-[1.5px] underline-offset-[0.18em]">
13+
not
14+
</span>{' '}
15+
always the most complicated one. It is clear, purposeful, and rooted
16+
in a real user need.
1317
</p>
1418
<p>
1519
When your team combines impact, audience awareness, and a unique
1620
angle, your project is much more likely to stand out to judges.
1721
</p>
1822
</div>
19-
<div className="relative mx-auto flex aspect-[1.25] w-full max-w-[360px] items-center justify-center overflow-hidden rounded-[26px] bg-[linear-gradient(180deg,#d4f5f7_0%,#d4f4de_100%)] p-4">
20-
<div className="absolute inset-x-[10%] bottom-[10%] h-[18%] rounded-full bg-[#b9e48e]/50 blur-2xl" />
23+
<div className="relative mx-auto flex aspect-[1.48] w-full max-w-[33rem] items-end justify-center overflow-hidden rounded-[26px] bg-[#D5FDFF] md:self-end md:justify-self-end">
2124
<Image
2225
src={podium}
2326
alt="HackDavis animals celebrating on a podium"
24-
className="relative h-full w-full object-contain"
27+
className="relative z-10 h-auto w-full self-end object-contain px-3 pt-3 md:px-5 md:pt-5"
2528
priority
2629
/>
2730
</div>

0 commit comments

Comments
 (0)