File tree Expand file tree Collapse file tree 5 files changed +59
-5
lines changed Expand file tree Collapse file tree 5 files changed +59
-5
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,24 @@ export function LandingPageNavbar({}: LandingPageNavbarProps) {
7
7
const isLoading = useRouterState ( { select : ( s ) => s . status === "pending" } ) ;
8
8
9
9
return (
10
- < header className = "sticky top-0 z-30 flex w-full flex-col items-center justify-between bg-base-200/520 " >
11
- < nav className = "flex h-full w-full items-center justify-between gap-5 px-5 p-2" >
10
+ < header className = "bg-base-200/520 sticky top-0 z-30 flex w-full flex-col items-center justify-between" >
11
+ < nav className = "flex h-full w-full items-center justify-between gap-5 p-2 px-5 " >
12
12
< Link to = "/" className = "btn btn-link btn-sm" >
13
13
< img src = "/colabs.png" alt = "logo" className = "h-8 w-fit" />
14
14
</ Link >
15
15
< div className = "flex items-center gap-5" >
16
- < Link to = "/auth" search = { { returnTo : "/dashboard" } } className = "btn btn-sm" >
16
+ < Link
17
+ to = "/auth"
18
+ search = { { returnTo : "/dashboard" } }
19
+ className = "btn btn-sm"
20
+ >
17
21
Login
18
22
</ Link >
19
- < Link to = "/auth/signup" search = { { returnTo : "/dashboard" } } className = "btn btn-primary btn-sm" >
23
+ < Link
24
+ to = "/auth/signup"
25
+ search = { { returnTo : "/dashboard" } }
26
+ className = "btn btn-primary btn-sm"
27
+ >
20
28
Sign up
21
29
</ Link >
22
30
</ div >
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export const FooterCTA = () => {
9
9
className = "relative flex flex-col items-center gap-4 p-4 md:gap-10 md:p-10 lg:flex lg:flex-row lg:pl-[20%]"
10
10
>
11
11
< div className = "z-10 lg:flex lg:w-1/2 lg:flex-col lg:gap-6" >
12
- < p className = "text-[32px] font-bold text-white lg:text-[55px] lg:leading-[60.5px]" >
12
+ < p className = "text-[32px] font-bold text-heading lg:text-[55px] lg:leading-[60.5px]" >
13
13
Experience counts. Get it on Colabs.
14
14
</ p >
15
15
< p className = "font-ff-inconsolata text-lg font-bold leading-6 text-[#9f9c9c] lg:text-xl" >
Original file line number Diff line number Diff line change
1
+ import astronaut from "../../assets/Astronaut-herosection.png" ;
2
+ import rocketIcon from "../../assets/rocket.png" ;
3
+ import { Link } from "@tanstack/react-router" ;
4
+
5
+ export const HeroSection = ( ) => {
6
+ return (
7
+ < div
8
+ data-test = "HeroSection"
9
+ className = "flex flex-col items-center gap-4 p-4 md:gap-1 md:p-4 lg:flex lg:flex-row lg:justify-around"
10
+ >
11
+ < div className = "lg:flex-0 p-4 lg:flex lg:w-1/2 lg:flex-col lg:gap-6" >
12
+ < h1 className = "pb-2 text-[25px] font-bold text-heading md:text-[30px] lg:text-[55px] lg:leading-[60.5px]" >
13
+ Making open-source contribution fun again
14
+ </ h1 >
15
+ < p className = "font-ff-inconsolata text-lg font-bold leading-6 text-brand-gray-8 lg:text-xl" >
16
+ Open-source is the fastest way to get the job experience you need.
17
+ Colabs is the platform that makes open-source contribution fun and
18
+ competitive.
19
+ </ p >
20
+ < div className = "mt-5 flex flex-col gap-2 md:flex-row md:justify-around lg:justify-start lg:gap-4" >
21
+ < Link
22
+ to = "/auth/signup"
23
+ search = { { returnTo : "/dashboard" } }
24
+ className = "btn bg-brand-green-6 px-4 py-2 text-white md:w-[40%] lg:w-auto lg:text-lg"
25
+ >
26
+ Join Colabs
27
+ </ Link >
28
+ < Link
29
+ to = "/dashboard/hackathons"
30
+ className = "btn bg-brand-green-8 px-4 py-2 text-brand-green-7 outline outline-1 outline-brand-green-8 md:w-[40%] lg:w-auto lg:text-lg"
31
+ >
32
+ Launch a Hackathon < img src = { rocketIcon } alt = "Rocket icon" />
33
+ </ Link >
34
+ </ div >
35
+ </ div >
36
+
37
+ < img
38
+ src = { astronaut }
39
+ alt = "Standing robot"
40
+ className = "mt-4 md:mt-6 lg:h-auto lg:max-w-[30%] lg:flex-1 lg:items-center lg:justify-center lg:object-contain"
41
+ />
42
+ </ div >
43
+ ) ;
44
+ } ;
Original file line number Diff line number Diff line change 1
1
import { LandingPageNavbar } from "@/components/navigation/LandingPageNavbar" ;
2
+ import { HeroSection } from "./HeroSection" ;
2
3
import { Link } from "@tanstack/react-router" ;
3
4
import RepositoriesSection from "./RepositoriesSection" ;
4
5
@@ -12,6 +13,7 @@ export function HomePage() {
12
13
< div className = "flex h-full min-h-screen w-full flex-col" >
13
14
< LandingPageNavbar />
14
15
< div className = "flex h-full min-h-screen w-full flex-col items-center justify-center gap-3 font-ff-poppins" >
16
+ < HeroSection />
15
17
{ /* landing page goes here */ }
16
18
< p className = "rounded-2xl border border-primary p-5 text-3xl" >
17
19
Landing page goes here
You can’t perform that action at this time.
0 commit comments