From 692d8daae507b01df88ffb691bd0a6a189cf2b98 Mon Sep 17 00:00:00 2001 From: phthallo Date: Sat, 7 Sep 2024 20:46:10 +0930 Subject: [PATCH 1/3] fix: margins in image layout - replace linkedin cdn links with hack club cdn links - fix images cutting off on the right side --- pages/congressional-app-challenge.js | 47 ++++++++++++++-------------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/pages/congressional-app-challenge.js b/pages/congressional-app-challenge.js index 7185a15c2..5121c8090 100644 --- a/pages/congressional-app-challenge.js +++ b/pages/congressional-app-challenge.js @@ -217,9 +217,8 @@ function Page({ display: 'flex', marginTop: '2', flexDirection: ['column', 'row'], - justifyContent: 'center' }}> - Join the Hack Club Slack to get advice from past winners, help with your project, and to join a community of over 35K+ teen coders. + Join the Hack Club Slack to get advice from past winners, help with your project, and to join a community of over 35K+ teen coders. @@ -255,7 +253,8 @@ function Page({ columns={[2, 5]} sx={{ m: '2', - justifyItems: 'center' + justifyItems: 'center', + alignItems: 'space-between' }}> + src="https://cloud-b6mzh2987-hack-club-bot.vercel.app/21704591152368.jpg" + sx={{ borderRadius: '10px', width: ['90%'], margin: 'auto', mb: '3', mt: '3'}}> Clay, 16 @@ -274,8 +273,8 @@ function Page({ flexDirection: 'column' }}> + src="https://cloud-b6mzh2987-hack-club-bot.vercel.app/31659043447794.jpg" + sx={{ borderRadius: '10px', width: ['90%'], margin: 'auto', mb: '3', mt: '3'}}> Sahiti, 17 @@ -285,8 +284,8 @@ function Page({ flexDirection: 'column' }}> + src="https://cloud-b6mzh2987-hack-club-bot.vercel.app/11705187020782.jpg" + sx={{ borderRadius: '10px', width: ['90%'], margin: 'auto', mb: '3', mt: '3' }}> Alex, 16 @@ -296,8 +295,8 @@ function Page({ flexDirection: 'column' }}> + src="https://cloud-b6mzh2987-hack-club-bot.vercel.app/01725595833101.jpg" + sx={{ borderRadius: '10px', width: ['90%'], margin: 'auto', mb: '3', mt: '3'}}> Andrea, 16 @@ -307,8 +306,8 @@ function Page({ flexDirection: 'column' }}> + src="https://cloud-b6mzh2987-hack-club-bot.vercel.app/51716079075907.jpg" + sx={{ borderRadius: '10px', width: ['90%'], margin: 'auto', mb: '3', mt: '3' }}> Samay, 17 @@ -397,7 +396,7 @@ function Page({ src='https://cloud-d1apz790h-hack-club-bot.vercel.app/0orpheuslaptop.png' > - 1. First, Come up with a project idea for the Congressional App Challenge, see project guidelines + 1. Come up with a project idea for the Congressional App Challenge! See the project guidelines here. @@ -416,8 +415,8 @@ function Page({ alignItems: 'center' }} > - - + + - Build a JS game, play it on your own console + Build a JS game, play it on your own console @@ -444,10 +443,10 @@ function Page({ boxShadow: '0 4px 8px rgba(0, 0, 0, 0.2)', width: '100%', borderRadius: '10px', mr: '2' }} - >The Bin + >Bin - Build an online circuit, get the parts for free! + Build an online circuit, get the parts for free! @@ -463,7 +462,7 @@ function Page({ >OnBoard - Design a PCB, get a $100 grant + Design a PCB, get a $100 grant @@ -479,10 +478,10 @@ function Page({ >Blot - Write code. Make art. Get a drawing machine. + Write code. Make art. Get a drawing machine. - 2. Submit your project to one of Hack Club's Hardware You Ship, We Ship. + 2. Submit your project to one of Hack Club's Hardware You Ship, We Ship programs. Date: Sat, 7 Sep 2024 20:46:10 +0930 Subject: [PATCH 2/3] fix: images on congressional app challenge - replace linkedin cdn links with hack club cdn links - fix images cutting off on the right side --- pages/congressional-app-challenge.js | 47 ++++++++++++++-------------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/pages/congressional-app-challenge.js b/pages/congressional-app-challenge.js index 7185a15c2..5121c8090 100644 --- a/pages/congressional-app-challenge.js +++ b/pages/congressional-app-challenge.js @@ -217,9 +217,8 @@ function Page({ display: 'flex', marginTop: '2', flexDirection: ['column', 'row'], - justifyContent: 'center' }}> - Join the Hack Club Slack to get advice from past winners, help with your project, and to join a community of over 35K+ teen coders. + Join the Hack Club Slack to get advice from past winners, help with your project, and to join a community of over 35K+ teen coders. @@ -255,7 +253,8 @@ function Page({ columns={[2, 5]} sx={{ m: '2', - justifyItems: 'center' + justifyItems: 'center', + alignItems: 'space-between' }}> + src="https://cloud-b6mzh2987-hack-club-bot.vercel.app/21704591152368.jpg" + sx={{ borderRadius: '10px', width: ['90%'], margin: 'auto', mb: '3', mt: '3'}}> Clay, 16 @@ -274,8 +273,8 @@ function Page({ flexDirection: 'column' }}> + src="https://cloud-b6mzh2987-hack-club-bot.vercel.app/31659043447794.jpg" + sx={{ borderRadius: '10px', width: ['90%'], margin: 'auto', mb: '3', mt: '3'}}> Sahiti, 17 @@ -285,8 +284,8 @@ function Page({ flexDirection: 'column' }}> + src="https://cloud-b6mzh2987-hack-club-bot.vercel.app/11705187020782.jpg" + sx={{ borderRadius: '10px', width: ['90%'], margin: 'auto', mb: '3', mt: '3' }}> Alex, 16 @@ -296,8 +295,8 @@ function Page({ flexDirection: 'column' }}> + src="https://cloud-b6mzh2987-hack-club-bot.vercel.app/01725595833101.jpg" + sx={{ borderRadius: '10px', width: ['90%'], margin: 'auto', mb: '3', mt: '3'}}> Andrea, 16 @@ -307,8 +306,8 @@ function Page({ flexDirection: 'column' }}> + src="https://cloud-b6mzh2987-hack-club-bot.vercel.app/51716079075907.jpg" + sx={{ borderRadius: '10px', width: ['90%'], margin: 'auto', mb: '3', mt: '3' }}> Samay, 17 @@ -397,7 +396,7 @@ function Page({ src='https://cloud-d1apz790h-hack-club-bot.vercel.app/0orpheuslaptop.png' > - 1. First, Come up with a project idea for the Congressional App Challenge, see project guidelines + 1. Come up with a project idea for the Congressional App Challenge! See the project guidelines here. @@ -416,8 +415,8 @@ function Page({ alignItems: 'center' }} > - - + + - Build a JS game, play it on your own console + Build a JS game, play it on your own console @@ -444,10 +443,10 @@ function Page({ boxShadow: '0 4px 8px rgba(0, 0, 0, 0.2)', width: '100%', borderRadius: '10px', mr: '2' }} - >The Bin + >Bin - Build an online circuit, get the parts for free! + Build an online circuit, get the parts for free! @@ -463,7 +462,7 @@ function Page({ >OnBoard - Design a PCB, get a $100 grant + Design a PCB, get a $100 grant @@ -479,10 +478,10 @@ function Page({ >Blot - Write code. Make art. Get a drawing machine. + Write code. Make art. Get a drawing machine. - 2. Submit your project to one of Hack Club's Hardware You Ship, We Ship. + 2. Submit your project to one of Hack Club's Hardware You Ship, We Ship programs. Date: Wed, 11 Sep 2024 07:30:16 +0930 Subject: [PATCH 3/3] Update congressional-app-challenge.js --- pages/congressional-app-challenge.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/congressional-app-challenge.js b/pages/congressional-app-challenge.js index 5121c8090..f106b6bdd 100644 --- a/pages/congressional-app-challenge.js +++ b/pages/congressional-app-challenge.js @@ -306,7 +306,7 @@ function Page({ flexDirection: 'column' }}> Samay, 17 @@ -615,4 +615,4 @@ export async function getStaticProps() { } } -export default Page \ No newline at end of file +export default Page