File tree Expand file tree Collapse file tree 4 files changed +42
-29
lines changed
Expand file tree Collapse file tree 4 files changed +42
-29
lines changed Original file line number Diff line number Diff line change 11import PropTypes from "prop-types" ;
22
3- function Heading ( { headingText } ) {
3+ function Heading ( { text } ) {
44 return (
5- < div className = "relative text-center font-black uppercase tracking-tighter" >
6- < div className = "xs:text-4xl sm:text-6xl lg:text-[6.5rem] text-outlined text-transparent " >
7- { headingText }
5+ < div className = "relative text-center font-black uppercase tracking-tighter m-4 " >
6+ < div className = "xs:text-4xl sm:text-6xl lg:text-8xl text-outlined text-transparent leading-[145%] " >
7+ { text }
88 </ div >
9- < div className = "xs:text-2xl sm:text-4xl lg:text-[3.75rem] text-foreground absolute w-full xs:bottom-[-10px] sm: bottom-[-18px] lg:bottom-[-12px ]" >
10- { headingText }
9+ < div className = "xs:text-2xl sm:text-4xl lg:text-6xl text-text-light absolute w-full leading-none bottom-[-20% ]" >
10+ { text }
1111 </ div >
1212 </ div >
1313 ) ;
1414}
1515
1616Heading . propTypes = {
17- headingText : PropTypes . string . isRequired ,
17+ text : PropTypes . string . isRequired ,
1818} ;
1919
2020export default Heading ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- import Hero from "./Hero " ;
1+ import Heading from "@/components/Heading " ;
22
33function Home ( ) {
4- return < Hero /> ;
4+ return (
5+ < >
6+ < div className = "bg-background-dark h-screen flex" >
7+ < div className = "m-auto" >
8+ < div className = "text-7xl md:text-9xl lg:text-[11rem] text-primary text-center font-gothic uppercase" >
9+ Codex, SIT
10+ </ div >
11+ < div className = "text-lg md:text-2xl lg:text-3xl mt-4 text-text-light text-center" >
12+ Coding Club
13+ </ div >
14+ </ div >
15+ </ div >
16+ < Heading text = "What do we do?" />
17+ </ >
18+ ) ;
519}
620
721export default Home ;
Original file line number Diff line number Diff line change @@ -4,10 +4,25 @@ export default {
44 theme : {
55 extend : {
66 colors : {
7- background : "#232323" ,
8- primary : "#E76941" ,
9- foreground : "#F7F7F7" ,
10- gray : "737373" ,
7+ primary : {
8+ DEFAULT : "#E76941" ,
9+ light : "#FFA06D" ,
10+ dark : "#B54B1E" ,
11+ contrastText : "#F7F7F7" ,
12+ } ,
13+ secondary : {
14+ DEFAULT : "#737373" ,
15+ light : "#A3A3A3" ,
16+ dark : "#494949" ,
17+ } ,
18+ background : {
19+ dark : "#232323" ,
20+ light : "#F7F7F7" ,
21+ } ,
22+ text : {
23+ light : "#F7F7F7" ,
24+ dark : "#232323" ,
25+ }
1126 } ,
1227 screens : {
1328 xs : "0px" ,
You can’t perform that action at this time.
0 commit comments