-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
263156d
commit fd60536
Showing
49 changed files
with
3,132 additions
and
3,008 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,43 @@ | ||
import { achsList } from "../../data/SiteData"; | ||
import Hero from "../Hero/Hero"; | ||
import styles from "./Achievements.module.scss"; | ||
|
||
const Achievements = () => { | ||
return ( | ||
<> | ||
<Hero | ||
imgName={"achievements-hero-final.jpg"} | ||
backgroundPosition={"center top"} | ||
title={<>Achievements</>} | ||
subtitleList={["What we're proud of!"]} | ||
isHome={false} | ||
/> | ||
<div className={styles.achievements} id="is"> | ||
{achsList.map((achYear, index) => { | ||
return ( | ||
<div className={styles.achYear}> | ||
<h3>{achYear.year}</h3> | ||
<div className={styles.achList}> | ||
{achYear.achs.map((ach, _) => { | ||
return ( | ||
<div className={styles.ach}> | ||
<div | ||
style={{ | ||
backgroundImage: `url("/static/images/${ach.imgName}")`, | ||
}} | ||
className={styles.achImg} | ||
></div> | ||
<div className={styles.achName}>{ach.name}</div> | ||
</div> | ||
); | ||
})} | ||
</div> | ||
</div> | ||
); | ||
})} | ||
</div> | ||
</> | ||
); | ||
}; | ||
|
||
export default Achievements; | ||
import { achsList } from '../../data/SiteData'; | ||
import Hero from '../Hero/Hero'; | ||
import styles from './Achievements.module.scss'; | ||
|
||
const Achievements = () => { | ||
return ( | ||
<> | ||
<Hero | ||
imgName={'achievements-hero-final.jpg'} | ||
backgroundPosition={'center top'} | ||
title={<>Achievements</>} | ||
subtitleList={["What we're proud of!"]} | ||
isHome={false} | ||
/> | ||
<div className={styles.achievements} id='is'> | ||
{achsList.map((achYear, index) => { | ||
return ( | ||
<div className={styles.achYear}> | ||
<h3>{achYear.year}</h3> | ||
<div className={styles.achList}> | ||
{achYear.achs.map((ach, _) => { | ||
return ( | ||
<div className={styles.ach}> | ||
<div | ||
style={{ | ||
backgroundImage: `url("/static/images/${ach.imgName}")`, | ||
}} | ||
className={styles.achImg} | ||
></div> | ||
<div className={styles.achName}>{ach.name}</div> | ||
</div> | ||
); | ||
})} | ||
</div> | ||
</div> | ||
); | ||
})} | ||
</div> | ||
</> | ||
); | ||
}; | ||
|
||
export default Achievements; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,45 @@ | ||
@import "../variables"; | ||
|
||
.achYear { | ||
width: 100%; | ||
margin: 50px auto; | ||
h3 { | ||
text-align: center; | ||
width: 40%; | ||
margin: auto; | ||
color: $light; | ||
font-size: 1.8rem; | ||
border-bottom: 2px solid $light; | ||
padding: { | ||
bottom: 10px; | ||
} | ||
} | ||
|
||
.achList { | ||
width: 100%; | ||
padding: 1em; | ||
|
||
display: flex; | ||
justify-content: center; | ||
flex-wrap: wrap; | ||
|
||
.ach { | ||
width: 250px; | ||
height: 300px; | ||
margin: 30px; | ||
// background-color: rebeccapurple; | ||
.achImg { | ||
height: 70%; | ||
|
||
background-size: contain; | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
} | ||
.achName { | ||
padding-top: 10px; | ||
height: 30%; | ||
text-align: center; | ||
} | ||
} | ||
} | ||
} | ||
@import '../variables'; | ||
|
||
.achYear { | ||
width: 100%; | ||
margin: 50px auto; | ||
h3 { | ||
text-align: center; | ||
width: 40%; | ||
margin: auto; | ||
color: $light; | ||
font-size: 1.8rem; | ||
border-bottom: 2px solid $light; | ||
padding: { | ||
bottom: 10px; | ||
} | ||
} | ||
|
||
.achList { | ||
width: 100%; | ||
padding: 1em; | ||
|
||
display: flex; | ||
justify-content: center; | ||
flex-wrap: wrap; | ||
|
||
.ach { | ||
width: 250px; | ||
height: 300px; | ||
margin: 30px; | ||
// background-color: rebeccapurple; | ||
.achImg { | ||
height: 70%; | ||
|
||
background-size: contain; | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
} | ||
.achName { | ||
padding-top: 10px; | ||
height: 30%; | ||
text-align: center; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,50 @@ | ||
import styles from './Activities.module.scss'; | ||
import Hero from '../Hero/Hero'; | ||
import { activitiesList } from '../../data/SiteData'; | ||
|
||
const Activities = () => { | ||
return ( | ||
<> | ||
<Hero imgName={"activities.jpg"} backgroundPosition={"center top"} title={<>Activities</>} subtitleList={["All the fun, passed all along."]} isHome={false}/> | ||
<div className={styles.activityList} id="is"> | ||
{ | ||
activitiesList.map((activitySec, index) => { | ||
return (<> | ||
<div className={styles.activitySection}> | ||
<div className={styles.activitySectionTitle}>{activitySec.name}</div> | ||
{ | ||
activitySec.activities.map((activity, _) => { | ||
return <ActivityCard {...activity}/> | ||
}) | ||
} | ||
</div> | ||
</>) | ||
}) | ||
} | ||
</div> | ||
</> | ||
); | ||
} | ||
|
||
const ActivityCard = ({imgName, name, sub}) => { | ||
return ( | ||
<div className={styles.activity}> | ||
<div style={{backgroundImage: `url("/static/images/${imgName}")`}} className={styles.activityImg}></div> | ||
<div className={styles.activityCont}> | ||
<div className={styles.activityContName}>{name}</div> | ||
<div className={styles.activityContSub}> | ||
{sub} | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default Activities; | ||
import styles from './Activities.module.scss'; | ||
import Hero from '../Hero/Hero'; | ||
import { activitiesList } from '../../data/SiteData'; | ||
|
||
const Activities = () => { | ||
return ( | ||
<> | ||
<Hero | ||
imgName={'activities.jpg'} | ||
backgroundPosition={'center top'} | ||
title={<>Activities</>} | ||
subtitleList={['All the fun, passed all along.']} | ||
isHome={false} | ||
/> | ||
<div className={styles.activityList} id='is'> | ||
{activitiesList.map((activitySec, index) => { | ||
return ( | ||
<> | ||
<div className={styles.activitySection}> | ||
<div className={styles.activitySectionTitle}> | ||
{activitySec.name} | ||
</div> | ||
{activitySec.activities.map((activity, _) => { | ||
return <ActivityCard {...activity} />; | ||
})} | ||
</div> | ||
</> | ||
); | ||
})} | ||
</div> | ||
</> | ||
); | ||
}; | ||
|
||
const ActivityCard = ({ imgName, name, sub }) => { | ||
return ( | ||
<div className={styles.activity}> | ||
<div | ||
style={{ backgroundImage: `url("/static/images/${imgName}")` }} | ||
className={styles.activityImg} | ||
></div> | ||
<div className={styles.activityCont}> | ||
<div className={styles.activityContName}>{name}</div> | ||
<div className={styles.activityContSub}>{sub}</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Activities; |
Oops, something went wrong.
fd60536
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
sra-website – ./
sra-website.sravjti.vercel.app
sra-website-git-main.sravjti.vercel.app
sra-website-lyart.vercel.app