add committees page
This commit is contained in:
parent
50544dc74c
commit
1313dd26d3
9 changed files with 52 additions and 1 deletions
|
@ -52,7 +52,7 @@ const websites = [{
|
|||
sitename: "committees",
|
||||
title: "IEEE at UCSD",
|
||||
description: "",
|
||||
jsfile: "js/index.js",
|
||||
jsfile: "js/committees.js",
|
||||
cssfile: "css/styles.css",
|
||||
themecolor: ""
|
||||
},
|
||||
|
|
BIN
src/public/.DS_Store
vendored
Normal file
BIN
src/public/.DS_Store
vendored
Normal file
Binary file not shown.
51
src/public/committees.tsx
Normal file
51
src/public/committees.tsx
Normal file
|
@ -0,0 +1,51 @@
|
|||
import * as ReactDom from "react-dom";
|
||||
import * as React from "react";
|
||||
import TopBar from "./components/TopBar";
|
||||
import {ACTIVE_PAGES, SOCIALS, EMAIL, OFFICERS} from "./Config";
|
||||
import Splash from "./components/Splash";
|
||||
import DefaultSection from "./components/DefaultSection";
|
||||
import InvolveBox from "./components/InvolveBox";
|
||||
import SocialCard from "./components/SocialCard";
|
||||
import Carousel from "./components/Carousel";
|
||||
import Footer from "./components/Footer";
|
||||
|
||||
interface MainProps {}
|
||||
interface MainState {}
|
||||
|
||||
class Main extends React.Component<MainProps, MainState> {
|
||||
constructor(props: MainProps) {
|
||||
super(props);
|
||||
this.state = {};
|
||||
}
|
||||
public render() {
|
||||
return <>
|
||||
<TopBar links={ACTIVE_PAGES}></TopBar>
|
||||
<Splash cta="Committees" delay={2000} backgrounds={["img/backgrounds/robocar.png"]}></Splash>
|
||||
<DefaultSection title="Join us!" paragraphs={[
|
||||
"Our Technical, Social, Professional, PR, Outreach committees work hard to spread IEEE's message. To apply, please contact us! We would love to have you in our team."
|
||||
]}>
|
||||
</DefaultSection>
|
||||
<DefaultSection className={"our-comms"} title="Our Committees">
|
||||
<div className="cards">
|
||||
<InvolveBox boxTitle="" image="img/committees/technical.jpg" description="Technical Committee"></InvolveBox>
|
||||
<InvolveBox boxTitle="" image="img/committees/social.jpg" description="Social Committee"></InvolveBox>
|
||||
<InvolveBox boxTitle="" image="img/committees/professional.jpg" description="Professional Committee"></InvolveBox>
|
||||
<InvolveBox boxTitle="" image="img/committees/pr.jpg" description="PR Committee"></InvolveBox>
|
||||
<InvolveBox boxTitle="" image="img/committees/outreach.jpg" description="Outreach Committee"></InvolveBox>
|
||||
</div>
|
||||
</DefaultSection>
|
||||
<DefaultSection title="Have questions? Contact us!">
|
||||
<div className="join-scls">{
|
||||
[...EMAIL, ...SOCIALS].map(n => (
|
||||
<SocialCard url={n.url} image={n.icon} message={n.message}></SocialCard>
|
||||
))
|
||||
}</div>
|
||||
</DefaultSection>
|
||||
<Footer></Footer>
|
||||
</>;
|
||||
}
|
||||
}
|
||||
|
||||
ReactDom.render(<Main></Main>, document.getElementById("root"));
|
||||
|
||||
export default {};
|
BIN
src/public/img/.DS_Store
vendored
BIN
src/public/img/.DS_Store
vendored
Binary file not shown.
BIN
src/public/img/committees/outreach.jpg
Normal file
BIN
src/public/img/committees/outreach.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 MiB |
BIN
src/public/img/committees/pr.jpg
Normal file
BIN
src/public/img/committees/pr.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 MiB |
BIN
src/public/img/committees/professional.jpg
Normal file
BIN
src/public/img/committees/professional.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 188 KiB |
BIN
src/public/img/committees/social.jpg
Normal file
BIN
src/public/img/committees/social.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
BIN
src/public/img/committees/technical.jpg
Normal file
BIN
src/public/img/committees/technical.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 MiB |
Loading…
Reference in a new issue