Skip to content

Commit 8b85e38

Browse files
committed
Added CTH Logo
Fixed countdown
1 parent 21475fe commit 8b85e38

File tree

4 files changed

+33
-5
lines changed

4 files changed

+33
-5
lines changed
Loading
Lines changed: 27 additions & 0 deletions
Loading

src/components/LandingImage/Countdown.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import {useEffect, useState} from "react";
44

55
function Countdown() {
66

7-
const [timeLeft, setTimeLeft] = useState(new Date(new Date(2024, 4, 5) - new Date()))
7+
const [timeLeft, setTimeLeft] = useState(new Date(new Date(2024, 3, 5) - new Date()))
88

99
useEffect(() => {
1010
const i = setInterval(() => {
11-
setTimeLeft(new Date(new Date(2024, 4, 5) - new Date()))
11+
setTimeLeft(new Date(new Date(2024, 3, 5) - new Date()))
1212
}, 1000);
1313
return () => clearInterval(i);
1414
}, []); //dependency, if end changes remount

src/components/Sponsors/Sponsors.jsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import {Box, Container, Grid} from "@mui/material";
22
import ESchool from "../../assets/images/sponsors/trpnt_e-school-standalone-white_high.png"
33
import React from "react";
44
import HackHPIWrapper from "../Theme/HackHPIWrapper.jsx";
5+
import ClimateTechHub from "../../assets/images/sponsors/CTH-logo-vertical_white.svg";
56

67
function Sponsors() {
78

@@ -10,9 +11,9 @@ function Sponsors() {
1011
<Box sx={{ paddingBottom: 10}}>
1112
<Container maxWidth={"xl"}>
1213
<Grid container sx={{paddingTop: "5rem"}} justifyContent={"center"} spacing={10}>
13-
{/*<Grid item>
14-
<img src={Starwit.src} alt={"Logo of starwit"} style={{height: "5rem"}}/>
15-
</Grid>*/}
14+
<Grid item>
15+
<img src={ClimateTechHub.src} alt={"Logo of Climate Tech Hub"} style={{height: "5rem"}}/>
16+
</Grid>
1617
<Grid item>
1718
<img src={ESchool.src} alt={"Logo of E-Scool"} style={{height: "5rem"}}/>
1819
</Grid>

0 commit comments

Comments
 (0)