File tree Expand file tree Collapse file tree 5 files changed +83
-71
lines changed
Expand file tree Collapse file tree 5 files changed +83
-71
lines changed Original file line number Diff line number Diff line change 1313 "prepare" : " husky install"
1414 },
1515 "dependencies" : {
16+ "@fontsource/league-gothic" : " ^5.0.18" ,
17+ "@fontsource/poppins" : " ^5.0.8" ,
1618 "@vitejs/plugin-react" : " ^4.2.1" ,
1719 "prop-types" : " ^15.8.1" ,
1820 "react" : " ^18.2.0" ,
Original file line number Diff line number Diff line change 11@import "tailwindcss/base" ;
22@import "tailwindcss/components" ;
33@import "tailwindcss/utilities" ;
4+ @import "@fontsource/poppins/400.css" ;
5+ @import "@fontsource/poppins/900.css" ;
6+ @import "@fontsource/league-gothic" ;
47
58/* Reset default browser styles */
6- html ,
7- body ,
8- h1 ,
9- h2 ,
10- h3 ,
11- h4 ,
12- h5 ,
13- h6 ,
14- p ,
15- blockquote ,
16- pre ,
17- a ,
18- abbr ,
19- address ,
20- cite ,
21- code ,
22- del ,
23- dfn ,
24- em ,
25- img ,
26- ins ,
27- kbd ,
28- q ,
29- samp ,
30- small ,
31- strong ,
32- sub ,
33- sup ,
34- var ,
35- b ,
36- i ,
37- dl ,
38- dt ,
39- dd ,
40- ol ,
41- ul ,
42- li ,
43- fieldset ,
44- form ,
45- label ,
46- legend ,
47- table ,
48- caption ,
49- tbody ,
50- tfoot ,
51- thead ,
52- tr ,
53- th ,
54- td ,
55- article ,
56- aside ,
57- figure ,
58- footer ,
59- header ,
60- hgroup ,
61- menu ,
62- nav ,
63- section ,
64- time ,
65- mark ,
66- audio ,
67- video {
9+ * {
6810 margin : 0 ;
6911 padding : 0 ;
70- border : 0 ;
71- font-size : 100% ;
72- font : inherit;
73- vertical-align : baseline;
12+ box-sizing : border-box;
13+ font-family : "poppins" , "sans-serif" ;
14+ }
15+
16+ a {
17+ text-decoration : none;
18+ color : inherit;
19+ }
20+
21+ .text-outlined {
22+ -webkit-text-stroke-width : 2px ;
23+ -webkit-text-stroke-color : # 737373 ;
7424}
Original file line number Diff line number Diff line change 1+ import PropTypes from "prop-types" ;
2+
3+ function Heading ( { text } ) {
4+ return (
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 }
8+ </ div >
9+ < div className = "xs:text-2xl sm:text-4xl lg:text-6xl text-text-light absolute w-full leading-none bottom-[-20%]" >
10+ { text }
11+ </ div >
12+ </ div >
13+ ) ;
14+ }
15+
16+ Heading . propTypes = {
17+ text : PropTypes . string . isRequired ,
18+ } ;
19+
20+ export default Heading ;
Original file line number Diff line number Diff line change 1+ import Heading from "@/components/Heading" ;
2+
13function Home ( ) {
2- return < div > Home</ div > ;
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+ ) ;
319}
420
521export default Home ;
Original file line number Diff line number Diff line change @@ -4,12 +4,36 @@ export default {
44 theme : {
55 extend : {
66 colors : {
7- background : '#232323' ,
8- primary : '#F24E3F' ,
9- text : '#F7F7F7' ,
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+ }
26+ } ,
27+ screens : {
28+ xs : "0px" ,
29+ sm : "600px" ,
30+ md : "768px" ,
31+ lg : "1024px" ,
32+ xl : "1280px" ,
1033 } ,
1134 fontFamily : {
12- sans : [ 'Roboto' , 'sans-serif' ] ,
35+ poppins : [ "Poppins" , "sans-serif" ] ,
36+ gothic : [ "League Gothic" , "sans-serif" ]
1337 } ,
1438 } ,
1539 } ,
You can’t perform that action at this time.
0 commit comments