Skip to content

Commit

Permalink
finalizing
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott170c committed Dec 7, 2024
1 parent 55392c9 commit b86bdf6
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 37 deletions.
10 changes: 6 additions & 4 deletions app/components/3box.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ const Threebox = () => {
flexDirection: 'row',
alignItems: 'center',
backgroundColor: 'rgba(0, 0, 0, 0.31)',
borderRadius: '25px',
borderRadius: '1rem',
mx: '32px',
mb: '5vh',
paddingBottom: '2vh',
paddingTop: '2vh',


}}>
<Box sx={{
alignItems: 'center',
Expand All @@ -41,12 +42,13 @@ const Threebox = () => {
paddingBottom: '1.2rem',
color: 'white',
textShadow: '0px 4px 4px rgba(0, 0, 0, 0.25)'
} }>Build</Heading>
} }>Design a PCB</Heading>
<Image sx={{
width:'27vw',
height: '28vw',
borderRadius: '20px',
paddingBottom: '2rem',
fill: 'true'
}}
src = "https://cloud-qonvrpxwd-hack-club-bot.vercel.app/0image.png"
></Image>
Expand All @@ -68,7 +70,7 @@ const Threebox = () => {
fontSize: '1.5vw',
color: 'white',
paddingBottom: '1.2rem'
} }>Design</Heading>
} }>Design Art</Heading>
<Image sx={{
width:'27vw',
height:'28vw',
Expand All @@ -92,7 +94,7 @@ const Threebox = () => {
paddingBottom: '1.2rem',
color: 'white',
textShadow: '0px 4px 4px rgba(0, 0, 0, 0.25)'
} }>Code</Heading>
} }>Create Firmware</Heading>
<Image sx={{
width:'27vw',
height:'28vw',
Expand Down
16 changes: 9 additions & 7 deletions app/components/top.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import {
mt: '15vh',
textAlign: 'center',
// height: '65vh'
backgroundImage: 'https://cloud-n3hpb6nr4-hack-club-bot.vercel.app/0image.png',
height: '100vh'
}}
>
{typeof window !== 'undefined' && <ModelViewer />}
Expand Down Expand Up @@ -60,18 +62,18 @@ import {
<Heading as="h1" variant="styles.h1"
sx={{
fontFamily: 'var(--font-inter)',
fontSize: '7rem',
fontWeight:900,
fontSize: ['5rem', '6.5rem'],
fontWeight:800,
textAlign: ['center','center','left'],
textShadow: '0px 4px 4px rgba(0, 0, 0, 0.25)'
}}>
Hacky Holidays
Hacky Holidays!
</Heading>
<Heading as="h2" variant="styles.h1"
sx={{
fontFamily: 'var(--font-inter)',
fontSize: '2rem',
fontWeight:900,
fontSize: ['1.5rem','1.9rem'],
fontWeight:800,
textShadow: '0px 4px 4px rgba(0, 0, 0, 0.25)'
}}>
Design a PCB holiday decoration <u><a style={{color:"#5297FF"}} href="https://google.com">this winter</a></u>, get a PCB grant!
Expand All @@ -80,7 +82,7 @@ import {
sx={{
mx: ['auto',0],
fontFamily: 'var(--font-inter)',
fontSize: '1.5rem',
fontSize: '1.2rem',
fontWeight: 900,
color: 'white',
bg: '#f90b0b',
Expand All @@ -89,7 +91,7 @@ import {
padding: '1rem 2rem',
mt: '1rem'
}}>
<b>Register Now!</b>
<b>&nbsp;Learn to Make a Decoration &nbsp; ➜</b>
</Button>


Expand Down
41 changes: 15 additions & 26 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function Home() {
// flexDirection: 'column',
// height:"100%",
// alignItems: 'center',
minHeight: '310vh',
minHeight: ['400vh', '275vh'],
// background: 'linear-gradient(to bottom right, rgba(70, 181, 255, 1), rgba(227, 244, 255, 1))',
// display: 'grid',
// gridTemplateRows: 'auto auto 1fr auto', // Allows more explicit control
Expand Down Expand Up @@ -150,14 +150,14 @@ export default function Home() {
fontFamily: 'var(--font-inter)',
fontSize: '1.55vw',
fontWeight:800,
// paddingTop: '0rem',
paddingTop: '1rem',
paddingLeft: '5.5rem',
paddingRight: '5rem',
textShadow: '0px 4px 4px rgba(0, 0, 0, 0.25)',

color: 'white'
}}>Want a cool christmas decoration? A cool gift for someone you know? Design a unique PCB decoration (all art made by you!) from scratch and submit it to the project gallery via a pull request in the GitHub repository before [set date]! <br></br>
Once your PR gets approved, you can get your PCB decoration shipped just in time for the holidays!🎄</Heading>
}}>Want a cool christmas decoration? A cool gift for someone you know? Design a unique PCB decoration (all art made by you!) from scratch and submit it to the project gallery via a pull request in the GitHub repository before [set date]!
Once your PR gets approved, you can get your PCB decoration shipped just in time for the holidays!🎄 It is as simple as:</Heading>


<ThreeGrid/>
Expand All @@ -172,33 +172,22 @@ export default function Home() {
textShadow: '0px 4px 4px rgba(0, 0, 0, 0.25)',
color: 'white',
}}>At the end, Submissions will be peer-reviewed and voted for the top 3. The top 3 will be re-made, and can be used to give out as gifts!<br></br><br></br>
<Box sx={{fontsize: '5vw'}}>FAQ:</Box></Heading>
<Box sx={{fontsize: '5vw'}}>FAQ:</Box></Heading>
<Grid columns = {[1,1,1,3]}gap = {[50,5,20,0]} sx = {{paddingTop: '1.5vh', position: 'relative'}}>
<FAQcard question="What are the Requirements?" answer="Your PCB must be under 100mm x 100m in size,
and all parts must come from the parts list. Since
This is an addition to OnBoard, your project must
also follow OnBoard Requirements." />
<FAQcard question="What are the Requirements?" answer="Your PCB must be under 100mm x 100m in size,
and all parts must come from the parts list. Since
This is an addition to OnBoard, your project must
also follow OnBoard Requirements." />
<FAQcard question="What are the Requirements?" answer="Your PCB must be under 100mm x 100m in size,
and all parts must come from the parts list. Since
This is an addition to OnBoard, your project must
also follow OnBoard Requirements." />
<FAQcard question="What are the Requirements?" answer="Your PCB must be under 100mm x 100m in size,
and all parts must come from the parts list. Since
This is an addition to OnBoard, your project must
also follow OnBoard Requirements." />
<FAQcard question="What are the Requirements?" answer="Your PCB must be under 100mm x 100m in size,
and all parts must come from the parts list. Since
This is an addition to OnBoard, your project must
also follow OnBoard Requirements." />
<FAQcard question="What are the Requirements?" answer="Your PCB must be under 100mm x 100m in size,
and all parts must come from the parts list. Since
This is an addition to OnBoard, your project must
also follow OnBoard Requirements." />
</Grid> </Box>
<FAQcard question="When are Submission deadlines?" answer="The deadline to submit is ___, but if we get higher demand we will extend it. If you want to get your decoration in time for Christmas it is best to get it done before the ___!" />
<FAQcard question="What about the OnBoard Grant?" answer="You can still apply for the OnBoard grant, but you cannot receive two grants for the same PCB design. Your new PCB must be significantly different, offering a chance to improve your previous design if you've already used your grant." />
</Grid><Heading as="h2" variant="styles.h1"
sx={{
fontFamily: 'var(--font-inter)',
fontSize: '1.9rem',
fontWeight:800,
textShadow: '0px 4px 4px rgba(0, 0, 0, 0.25)',
color: 'white'
}}>Any more questions? Ask in <a style={{color: 'rgba(90, 142, 248, 1)'}} href="https://hackclub.slack.com/archives/C083SK3G5D3">#hacky-holidays</a>!</Heading></Box>
</Grid>
<Footer></Footer>
</Box>
Expand Down

0 comments on commit b86bdf6

Please sign in to comment.