-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: landing to flex layout * feat: add className prop to Button * feat: background and tailwind refactoring * feat: override default tailwind sans font * feat: about section * fix: use water jpg instead of png * fix: responsiveness classes * fix: use max-width instead of width classes
- Loading branch information
1 parent
721bac3
commit d27dd6a
Showing
16 changed files
with
138 additions
and
41 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
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,3 @@ | ||
.statistic { | ||
color: #ffda7b; | ||
} |
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,67 @@ | ||
import Image from "next/image"; | ||
import Lantern from "@/lib/components/Lantern/Lantern"; | ||
import koiJump from "@/assets/images/koi-jump.png"; | ||
import styles from "./About.module.css"; | ||
|
||
const About = () => { | ||
return ( | ||
<> | ||
<section className="container md mx-auto text-center my-14 max-w-sm sm:max-w-lg xl:max-w-screen-md relative"> | ||
<Lantern | ||
width={300} | ||
height={300} | ||
className="lg:hidden mx-auto" | ||
/> | ||
<Lantern | ||
width={300} | ||
height={300} | ||
className="absolute hidden lg:block" | ||
style={{ top: "30%", left: "-45%" }} | ||
/> | ||
<Lantern | ||
width={350} | ||
height={350} | ||
className="absolute hidden lg:block" | ||
style={{ top: "75%", right: "-50%" }} | ||
/> | ||
<div className="text-2xl lg:text-3xl mb-5"> | ||
<h2> | ||
<span className={styles.statistic}>36</span> Hours | ||
</h2> | ||
<h2> | ||
<span className={styles.statistic}>500+</span> Hackers | ||
</h2> | ||
<h2> | ||
<span className={styles.statistic}>$10,000</span> in | ||
Prizes | ||
</h2> | ||
</div> | ||
<h3 className="text-xl lg:text-2xl mb-5"> | ||
Create + Connect + Inspire | ||
</h3> | ||
<p> | ||
IrvineHacks is the largest collegiate hackathon in Orange | ||
County and we continue expanding and improving our event | ||
every year. Our focus? – Enhance the community around us by | ||
giving students the platform to unleash their creativity in | ||
an environment of forward thinking individuals. | ||
</p> | ||
<p> | ||
This year, IrvineHacks will take place the weekend of | ||
January 26th to 28th. The event will be 100% in-person | ||
during the day (not overnight). Free workshops, socials, | ||
food, and swag will be provided! | ||
</p> | ||
</section> | ||
<Image | ||
src={koiJump} | ||
width="150" | ||
height="150" | ||
alt="Koi fish" | ||
className="mx-auto" | ||
/> | ||
</> | ||
); | ||
}; | ||
|
||
export default About; |
19 changes: 0 additions & 19 deletions
19
apps/site/src/app/(home)/sections/Landing/Landing.module.css
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export { default as Landing } from "./Landing/Landing"; | ||
export { default as About } from "./About/About"; | ||
export { default as MentorVolunteer } from "./MentorVolunteer/MentorVolunteer"; |
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
Binary file not shown.
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.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import Image from "next/image"; | ||
|
||
import lantern from "@/assets/images/lantern.png"; | ||
import React from "react"; | ||
|
||
interface LanternProps { | ||
width: number; | ||
height: number; | ||
className?: string; | ||
style?: React.CSSProperties; | ||
} | ||
|
||
const Lantern: React.FC<LanternProps> = ({ | ||
width, | ||
height, | ||
className, | ||
style, | ||
}) => { | ||
return ( | ||
<Image | ||
src={lantern} | ||
width={width} | ||
height={height} | ||
alt="Lantern" | ||
className={className} | ||
style={style} | ||
/> | ||
); | ||
}; | ||
|
||
export default Lantern; |
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