-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add des24 to main website (#104)
- Loading branch information
1 parent
b51b1ff
commit a6407fc
Showing
12 changed files
with
208 additions
and
91 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 5 additions & 51 deletions
56
src/app/pages/Designathons/Designathon24/components/Splash/Splash.jsx
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
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
46 changes: 46 additions & 0 deletions
46
src/app/pages/Designathons/Designathon24/components/Splash/SplashGraphics.jsx
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import cn from "./Splash.module.scss"; | ||
import clsx from "clsx"; | ||
|
||
import GridBackground from "../Backgrounds/GridBackground"; | ||
|
||
import tl_clouds from "../../assets/graphics/splash/clouds.svg"; | ||
import butterfly from "../../assets/graphics/splash/butterfly.svg"; | ||
import bl_star_stripe from "../../assets/graphics/splash/bl_star_stripe.svg"; | ||
import mr_cloud_stars from "../../assets/graphics/splash/mr_cloud_stars.svg"; | ||
import br_star_stripe from "../../assets/graphics/splash/br_star_stripe.svg"; | ||
|
||
const SplashGraphics = () => { | ||
return ( | ||
<> | ||
<GridBackground positions={[{ top: 0, left: 0 }]} isLight={true} /> | ||
|
||
<img | ||
src={tl_clouds} | ||
alt="" | ||
className={clsx(cn.decoration, cn.tl_clouds, "wait flopL")} | ||
/> | ||
<img | ||
src={butterfly} | ||
alt="" | ||
className={clsx(cn.decoration, cn.butterfly, "wait flopL")} | ||
/> | ||
<img | ||
src={bl_star_stripe} | ||
alt="" | ||
className={clsx(cn.decoration, cn.bl_star_stripe, "wait flopL")} | ||
/> | ||
<img | ||
src={mr_cloud_stars} | ||
alt="" | ||
className={clsx(cn.decoration, cn.mr_cloud_stars, "wait flopR")} | ||
/> | ||
<img | ||
src={br_star_stripe} | ||
alt="" | ||
className={clsx(cn.decoration, cn.br_star_stripe, "wait flopR")} | ||
/> | ||
</> | ||
); | ||
}; | ||
|
||
export default SplashGraphics; |
23 changes: 23 additions & 0 deletions
23
src/app/pages/Designathons/Designathon24/components/Splash/SplashLogo.jsx
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { memo, useEffect, useRef } from "react"; | ||
import { ReactComponent } from "./logo.svg"; | ||
import cn from "./Splash.module.scss"; | ||
import anime from "animejs"; | ||
|
||
const SplashLogo = memo(({ style }) => { | ||
const logoRef = useRef(null); | ||
useEffect(() => { | ||
anime({ | ||
targets: "path.word", | ||
strokeDashoffset: [anime.setDashoffset, 0], | ||
easing: "easeInOutSine", | ||
duration: 2000, | ||
delay: function (el, i) { | ||
return i * 300; | ||
}, | ||
}); | ||
}, []); | ||
|
||
return <ReactComponent ref={logoRef} className={cn.logo} style={style} />; | ||
}); | ||
|
||
export default SplashLogo; |
20 changes: 16 additions & 4 deletions
20
src/app/pages/Designathons/Home/components/EventListing/components/ProjectShowcase.jsx
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
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
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
Oops, something went wrong.