File tree 6 files changed +79
-32
lines changed
6 files changed +79
-32
lines changed Original file line number Diff line number Diff line change 16
16
"react" : " ^17.0.2" ,
17
17
"react-dom" : " ^17.0.2" ,
18
18
"react-router-dom" : " ^6.2.2" ,
19
+ "typewriter-effect" : " ^2.18.2" ,
19
20
"validator" : " ^13.7.0"
20
21
},
21
22
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -11,35 +11,31 @@ import Registered from "./Components/Registered";
11
11
import { MantineProvider } from "@mantine/core" ;
12
12
function App ( ) {
13
13
return (
14
- < MantineProvider theme = { { colorScheme :'dark' } } >
15
-
16
- < Routes >
17
-
18
- < Route path = "/registered" element = { < Registered /> } />
19
-
20
- < Route path = "/getUglyTableSecretlyButOpenly" element = { < AllUsers /> } />
21
- < Route
22
- path = "/"
23
- element = {
24
- < NotificationsProvider position = "top-right" >
25
- < div className = "App scroll-smooth" >
26
- < div className = "min-h-screen relative" >
27
- < Navbar />
28
- < Event />
29
- < div className = "absolute bottom-0 z-[-10] w-full" >
30
- < Waves />
14
+ < MantineProvider theme = { { colorScheme : "dark" } } >
15
+ < Routes >
16
+ < Route path = "/registered" element = { < Registered /> } />
17
+ < Route path = "/getUglyTableSecretlyButOpenly" element = { < AllUsers /> } />
18
+ < Route
19
+ path = "/"
20
+ element = {
21
+ < NotificationsProvider position = "top-right" >
22
+ < div className = "App scroll-smooth" >
23
+ < div className = "min-h-screen relative" >
24
+ < Navbar />
25
+ < Event />
26
+ < div className = "absolute bottom-0 z-[-10] w-full" >
27
+ < Waves />
28
+ </ div >
29
+ </ div >
30
+ < div className = "text-[#e1e1e1] bg-[#121212]" >
31
+ < Form />
31
32
</ div >
32
33
</ div >
33
- < div className = "text-[#e1e1e1] bg-[#121212]" >
34
- < Form />
35
- </ div >
36
- </ div >
37
- </ NotificationsProvider >
38
- }
39
- />
40
- </ Routes >
34
+ </ NotificationsProvider >
35
+ }
36
+ />
37
+ </ Routes >
41
38
</ MantineProvider >
42
-
43
39
) ;
44
40
}
45
41
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default function AboutEvent() {
12
12
</ span >
13
13
< div className = "mt-2" >
14
14
< span >
15
- Initialize is a 5 -week long event focused on competitive programming,
15
+ Initialize is a five -week long event focused on competitive programming,
16
16
data structures, and algorithms. Over five weeks, you will be learning
17
17
DSA and CP concepts right from the basics and also be competing with
18
18
your peers in weekly contests. The event will conclude in a final show
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
2
import Logo from "./../frlogo.png" ;
3
+ import TypewriterComponent from "typewriter-effect" ;
4
+
5
+
3
6
export default function Event ( ) {
4
7
return (
5
8
< div className = "grid md:grid-cols-2 grid-cols-1 place-content-center w-[75%] gap-[2rem] mx-auto md:mt-16 mt-8" >
6
9
< div className = "self-center md:justify-self-start justify-self-center w-[70%] h-full " >
7
10
< img src = { Logo } alt = "logo" />
8
11
</ div >
9
- < span className = "md:text-[4rem] text-[2rem] text-[#e1e1e1] md:text-right text-center self-center font-mono" >
10
-
11
- Boot-up your CP journey with < em > < span className = "text-[#9333ea]" > initialize</ span > ();</ em >
12
-
12
+ < span className = "md:text-[3.5rem] text-[2rem] text-[#e1e1e1] md:text-right text-center self-center font-mono" >
13
+ Boot-up your CP journey with{ " " }
14
+ { /* <em>
15
+ <span className="text-[#9333ea]">initialize</span>();
16
+ </em> */ }
17
+ < TypewriterComponent
18
+ options = { {
19
+ strings : [ '<em><span style="color:#9333ea;">initialize</span>();</>' ] ,
20
+ autoStart : true ,
21
+ loop : true ,
22
+ } }
23
+ />
13
24
< span className = "mt-2 block text-[1.1rem] md:text-right text-center font-sans" >
14
25
Registration closes on 13th March 2022, 11:59 PM
15
26
</ span >
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import React from "react";
4
4
export default function Navbar ( ) {
5
5
return (
6
6
< div className = "flex flex-col sm:flex-row bg-[#121212] w-full items-center gap-4 sm:justify-between md:px-[6rem] px-[2rem] py-4" >
7
- < span className = "text-[1.25rem] md:text-[1.75rem] text-[#e1e1e1] font-mono text-center" > < span className = "text-[#16e2f3 ]" > from</ span > cS< span className = "text-[#9333ea]" > .events </ span > < span > < span className = "text-[#16e2f3 ]" > import </ span > initialize</ span > </ span >
7
+ < span className = "text-[1.25rem] md:text-[1.75rem] text-[#e1e1e1] font-mono text-center" > < span className = "text-[#6ADDF0 ]" > from</ span > cS< span className = "text-[#9333ea]" > .events </ span > < span > < span className = "text-[#EF8B0E ]" > import </ span > initialize</ span > </ span >
8
8
< div >
9
9
< a target = "_blank" href = "https://www.codingstudio.club/" >
10
10
< span className = "text-[#e1e1e1] cursor-pointer mr-8 text-[1.1rem]" > About Us</ span >
You can’t perform that action at this time.
0 commit comments