Skip to content

Commit

Permalink
fix: changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalCodes committed Jun 4, 2024
1 parent 92633c2 commit c2bfcfc
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/assets/data/HeaderContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ const HeaderData = {
sponsors: {
backWord: "Supporters",
backWordMobile: "Backers",
backWordSize: "130px",
backWordSpacing: "0.5rem",
backWordSize: "120px",
backWordSpacing: "0.3rem",
backWordSize_mobile: "75px",
backWordSpacing_mobile: "0.2rem",
frontWord: "Sponsors",
Expand Down
1 change: 1 addition & 0 deletions src/assets/data/SponsorsContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import graph from "../images/SponsorImages/graph.png";
// import snu from "../images/SponsorImages/snu.webp";
// import solana from "../images/SponsorImages/solana.webp";
import xyz from "../images/SponsorImages/xyz.png";
import jis from "../images/SponsorImages/jis.png";
// import zeeve from "../images/SponsorImages/zeeve.webp";

const sponsors = {
Expand Down
Binary file added src/assets/images/SponsorImages/jis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/private/faq/FAQ.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Faq = () => {
{
question: "Who can participate?",
answer:
"Students in college, schools can apply. If you can innovate or just want to have a fun learning weekend, you are most welcome.",
"Students currently enrolled in any course in High School or College can participate in Hack4Bengal. Along with that current year passouts can participate too.",
},
{
question: "How much does it cost to participate?",
Expand Down
6 changes: 6 additions & 0 deletions src/components/private/faq/FAQ.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@
align-items: center;
border-radius: 50%;

svg {
width: 1em;
height: 1em;
fill: #ff1717;
}

@media screen and (max-width: 576px) {
top: 50%;
transform: translateY(-50%);
Expand Down
29 changes: 21 additions & 8 deletions src/components/private/sponsors/Sponsors.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,27 @@ const Sponsors = () => {
</div>
</div>

<div className="sponsors__container domain_container">
<h1>Domain Partners</h1>
<div className="sponsors__flexbox">
{sponsors["Domain"].map((item, index) => {
return (
<SingleSponsors key={index} sponsor={item} type="domain" />
);
})}
<div className="sponsors__container_flex">
{/* <div className="sponsors__container">
<h1>Venue Partner</h1>
<div className="sponsors__flexbox">
{sponsors["Venue"].map((item, index) => {
return (
<SingleSponsors key={index} sponsor={item} type="silver" />
);
})}
</div>
</div> */}

<div className="sponsors__container domain_container">
<h1>Domain Partner</h1>
<div className="sponsors__flexbox">
{sponsors["Domain"].map((item, index) => {
return (
<SingleSponsors key={index} sponsor={item} type="domain" />
);
})}
</div>
</div>
</div>
</div>
Expand Down
14 changes: 14 additions & 0 deletions src/components/private/sponsors/Sponsors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@
gap: 4rem;
}

.sponsors__container_flex {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 4rem;
max-width: 1400px;
margin: auto;

@media screen and (max-width: 576px) {
gap: 1rem;
}
}

.sponsors__container {
display: flex;
flex-direction: column;
Expand Down
27 changes: 24 additions & 3 deletions src/components/private/timer/Timer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,44 @@ const Timer = () => {

<div className="countdown">
<div className="time">
<p>{timeLeft.days}</p>
<p>
{timeLeft?.days < 10 ? `0${timeLeft?.days}` : timeLeft?.days}
</p>
<p>Days</p>
</div>

<p className="colon">:</p>

<div className="time">
<p>{timeLeft.hours === 0 ? "00" : timeLeft.hours}</p>
<p>
{timeLeft?.hours < 10
? `0${timeLeft?.hours}`
: timeLeft?.hours}
</p>
<p>Hours</p>
</div>

<p className="colon">:</p>

<div className="time">
<p>{timeLeft.minutes === 0 ? "00" : timeLeft?.minutes}</p>
<p>
{timeLeft?.minutes < 10
? `0${timeLeft?.minutes}`
: timeLeft?.minutes}
</p>
<p>Mins</p>
</div>

{/* <p className="colon">:</p>
<div className="time">
<p>
{timeLeft?.seconds < 10
? `0${timeLeft?.seconds}`
: timeLeft?.seconds}
</p>
<p>Secs</p>
</div> */}
</div>
</div>
</div>
Expand Down
14 changes: 12 additions & 2 deletions src/components/private/timer/Timer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,18 @@
.header_1 {
font-family: "Montserrat", sans-serif;
letter-spacing: 2px;
font-size: 100px;
font-size: 77px;
text-align: center;
color: white;
font-weight: 800;
line-height: 1;

z-index: 1;

background: #ffffff;
background: linear-gradient(to right, #ffffff 0%, #ff0000 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;

@media screen and (max-width: 576px) {
font-size: 48px;
}
Expand All @@ -54,6 +59,9 @@

@media screen and (max-width: 576px) {
gap: 10px;
display: grid;
grid-template-columns: repeat(4, 1fr);
margin-left: auto;
}

.time {
Expand All @@ -66,6 +74,8 @@
background-color: #2a2727;
padding: 1rem;
border-radius: 18px;
width: 115px;
height: 115px;

@media screen and (max-width: 576px) {
font-size: 28px;
Expand Down

0 comments on commit c2bfcfc

Please sign in to comment.