Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staging to Main: Homepage REVAMP #289

Merged
merged 34 commits into from
Dec 17, 2024
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
1269e65
fix: update style.css to set home_bg.png as the background
rohann06 Sep 6, 2024
f6cd775
build: created the new hero section
rohann06 Sep 6, 2024
f504eea
fix: added the dev icon at the end of the heading
rohann06 Sep 6, 2024
d687aa1
fix: enabled scrollable background image
rohann06 Sep 6, 2024
7acae38
build: created the banner section
rohann06 Sep 6, 2024
eab4fc0
fix: updated the hero section text and edited the learn web3 banner
rohann06 Sep 6, 2024
c6fc414
fix: edited the partner with d_d banner
rohann06 Sep 6, 2024
9ea504a
fix: changed the opacity of both banners
rohann06 Sep 6, 2024
88beefd
fix: edited the footer
rohann06 Sep 6, 2024
02c15fc
fix: added the margin left to social icons
rohann06 Sep 6, 2024
4075710
fix: changed the navigation bar
rohann06 Sep 6, 2024
15006bd
fix: changed the border of both banners
rohann06 Sep 9, 2024
cea9204
fix: adjust the banner border gradient
rohann06 Sep 9, 2024
9b22b70
fix: changed the icon and added the href link in posts nav option
rohann06 Sep 10, 2024
c3d1ffd
fix: made nav bar responsive
rohann06 Sep 10, 2024
7dabf4d
fix: made hero section responsive
rohann06 Sep 10, 2024
d572cc6
fix: made banner section responsive
rohann06 Sep 10, 2024
95ff877
fix: made footer responsive
rohann06 Sep 10, 2024
31f4e6c
fix: made a few minor adjustments
rohann06 Sep 12, 2024
2d77c7b
fix: changed the description from developer DAO to DeveloperDAO
rohann06 Sep 14, 2024
41c0985
fix: top bar is only visible on home page tracks page and fundamental…
rohann06 Sep 14, 2024
6cf5fa3
fix: adjusted the z index of the academy logo to ensure visibility an…
rohann06 Sep 14, 2024
5b86f1b
fix: changed the styling of body and nav bar
rohann06 Sep 16, 2024
164483c
fix: removed the top margin from the tracks and lesson page
rohann06 Sep 16, 2024
ae3d367
fix: increased the hero section text top padding
rohann06 Sep 16, 2024
6a5ba55
fix: background image issue fixed
rohann06 Sep 16, 2024
90a3265
fix: mobile view of tracks page fixed
rohann06 Sep 18, 2024
5a29147
fix: changed the border of the card of tracks and fundamentals page
rohann06 Sep 18, 2024
b37d6f9
fix: footer position issue is resolved
rohann06 Sep 19, 2024
b5f3158
fix: back ground image covering whole screen
rohann06 Sep 22, 2024
208612b
fix: trackers lessones background done according to figma file
rohann06 Sep 24, 2024
99b8e42
Merge pull request #282 from rohann06/revamp-landingPage
uma-l Oct 3, 2024
82e4836
Merge branch 'main' of https://github.com/Developer-DAO/academy-turbo…
Markkos89 Oct 3, 2024
6bf29fc
Merge pull request #290 from Developer-DAO/feat/staging-update
Markkos89 Oct 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: made banner section responsive
rohann06 committed Sep 10, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit d572cc60dadd90a7e5034bcbffe3bff83809aa96
10 changes: 5 additions & 5 deletions apps/academy/src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ const Home: NextPageWithLayout = () => {
{/* HeroSection */}
<div className=" mt-[150px] md:mb-[118px] md:mt-[230px]">
<div className=" flex flex-col items-center justify-center text-white">
<h1 className=" text-bttf text-center text-5xl tracking-wide lg:text-[100px]">
<h1 className=" text-bttf text-center text-5xl text-[50px] tracking-wide lg:text-[100px]">
<span className=" md:ml-[50px]">LEArn</span>
<br />
<span>WEB3__</span>
@@ -34,8 +34,8 @@ const Home: NextPageWithLayout = () => {
</span>
</h1>

<div className=" flex flex-col items-center justify-center ">
<div className="mt-[10px] max-w-[495px] px-10 text-center text-lg font-light md:mt-[50px] md:px-0 md:text-2xl">
<div className=" mb-[7px] mt-[87px] flex flex-col items-center justify-center md:mb-0 md:mt-[50px] ">
<div className=" max-w-[495px] px-10 text-center text-lg font-light md:px-0 md:text-2xl">
<p>Become a web3 developer with Developer DAO.</p>
</div>
<div className="hidden w-full items-center justify-center md:mt-[20px] md:flex">
@@ -49,12 +49,12 @@ const Home: NextPageWithLayout = () => {

{/* Banner Section */}
<div className=" flex flex-col items-center justify-center">
<div>
<div className=" m-2 md:p-0">
<div id="learn-web3" className="lg:pt-16">
<LearnWeb3Banner href="/tracks" />{" "}
</div>
</div>
<div>
<div className=" m-2 md:p-0">
<div id="partners" className=" pb-4 pt-16">
<PartnerBanner
href="https://airtable.com/appDMMIARfSeiovpk/shrZExypPetXEx6Ox"
6 changes: 3 additions & 3 deletions packages/ui/src/components/Banners/LearnWeb3Banner.tsx
Original file line number Diff line number Diff line change
@@ -12,8 +12,8 @@ export const LearnWeb3Banner: FC<HomePageBannerProps> = ({ href }) => {
return (
<div className=" banner flex-col !border-none !bg-opacity-20 !bg-gradient-to-tr from-stone-700 from-10% via-black via-60% to-[#727171] to-90% !p-[2px] lg:flex-row">
<Card className=" banner !bg-opacity-85 flex-col !border-none !bg-black lg:flex-row">
<div className=" z-20 w-[78rem] items-center justify-center md:flex">
<div className="terminal-text md:py-[25px] md:pr-[80px] md:text-[15px]">
<div className=" z-20 items-center justify-center md:flex md:w-[78rem]">
<div className="terminal-text text-[10px] md:py-[25px] md:pr-[80px] md:text-[15px]">
<div className="line">
<div>1</div>
<div className="text-white">
@@ -115,7 +115,7 @@ export const LearnWeb3Banner: FC<HomePageBannerProps> = ({ href }) => {
<CardHeader className="flex-row justify-center">
<CardTitle className="title">LEARN WEB3</CardTitle>
</CardHeader>
<CardContent className=" p-1 pb-12 text-center text-[17px] font-light text-white md:mb-[40px] md:pb-1">
<CardContent className=" p-1 pb-12 text-center text-sm font-light text-white md:mb-[40px] md:pb-1 md:text-[17px]">
<p>
Developer DAO offers learning <br /> resources to help you build with web3 <br />
technologies.
16 changes: 9 additions & 7 deletions packages/ui/src/components/Banners/PartnerBanner.tsx
Original file line number Diff line number Diff line change
@@ -13,12 +13,14 @@ export const PartnerBanner: FC<PartnerBannerProps> = ({ href, imgSrc }) => {
return (
<div className=" banner flex-col !border-none !bg-opacity-20 !bg-gradient-to-tr from-stone-700 from-10% via-black via-60% to-[#727171] to-90% !p-[2px] lg:flex-row">
<Card className=" banner !bg-opacity-85 flex-col !border-none !bg-black lg:flex-row">
<div className="w-[78rem] items-center justify-center md:flex">
<div className="items-center justify-center md:flex md:w-[78rem]">
<div className="md:py-[25px] md:pl-[30px] md:pr-[200px]">
<CardHeader className="flex-row justify-center">
<CardTitle className="title !text-[40px]">Partner with D_D Academy</CardTitle>
<CardTitle className="title !md:text-[40px] !text-[36px]">
Partner with D_D Academy
</CardTitle>
</CardHeader>
<CardContent className=" p-1 pb-12 text-center text-[17px] font-light text-white md:mb-[40px] md:pb-1">
<CardContent className=" p-1 pb-12 text-center text-[13px] font-light text-white md:mb-[40px] md:pb-1 md:text-[17px]">
<p>
Developer DAO is a community of thousands of web3 <br /> builders creating a better
internet. Join us and help <br /> educate the next generation of developers.
@@ -35,17 +37,17 @@ export const PartnerBanner: FC<PartnerBannerProps> = ({ href, imgSrc }) => {
</Button>
</div>
</div>
<div className="felx-col ml-8 mr-4 mt-8 flex items-center justify-center md:m-auto">
<div className="felx-col ml-8 mr-4 mt-[80px] flex items-center justify-center md:m-auto md:mt-8">
<div className="flex flex-col items-center">
<Image
src={imgSrc}
width={100}
height={100}
alt="partner"
className="mb-4 h-[90px] w-[84px] rounded-full md:mb-[60px] md:ml-[45px] lg:mr-[50px]"
className="mb-4 h-[70px] w-[64px] rounded-full md:mb-[60px] md:ml-[45px] md:h-[90px] md:w-[84px] lg:mr-[50px]"
/>
<div className=" mb-4 h-[1px] w-full border border-gray-700" />
<div className="flex flex-wrap items-center justify-center gap-6">
<div className="my-5 flex flex-wrap items-center justify-center gap-6 md:my-0">
{[
"/partners/pokt.png",
"/partners/zerion.png",
@@ -58,7 +60,7 @@ export const PartnerBanner: FC<PartnerBannerProps> = ({ href, imgSrc }) => {
width={175}
height={25}
alt="partner"
className={`${i === 2 ? "max-h-10" : "max-h-7"} w-auto ${
className={` ${i === 2 ? "max-h-10" : "max-h-5 md:max-h-7"} w-auto ${
i === 0 ? "mb-4" : ""
}`}
/>