added to empty components
This commit is contained in:
parent
6c4f5c6177
commit
55a910112b
6 changed files with 16 additions and 5 deletions
13
src/index.ts
13
src/index.ts
|
@ -23,6 +23,14 @@ const websites = [{
|
|||
jsfile: "js/index.js",
|
||||
cssfile: "css/styles.css",
|
||||
themecolor: ""
|
||||
},
|
||||
{
|
||||
sitename: "about",
|
||||
title: "IEEE at UCSD",
|
||||
description: "",
|
||||
jsfile: "js/index.js",
|
||||
cssfile: "css/styles.css",
|
||||
themecolor: ""
|
||||
}] as Website[];
|
||||
|
||||
const PORT = 9000;
|
||||
|
@ -43,6 +51,11 @@ app.get("/", (req: Request, res: Response) => {
|
|||
respond(res, "index");
|
||||
});
|
||||
|
||||
app.get("/about", (req: Request, res: Response) => {
|
||||
respond(res, "about");
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* Utility functions for above methods
|
||||
*/
|
||||
|
|
|
@ -20,7 +20,6 @@ export default class CarouselItem extends Component<CarouselItemProps, CarouselI
|
|||
<img src={this.props.photo}></img>
|
||||
<div className="carousel-name">{this.props.name}</div>
|
||||
<div className="carousel-pos">{this.props.position}</div>
|
||||
<div className="carousel-email">{this.props.email}</div>
|
||||
</div>;
|
||||
}
|
||||
}
|
||||
|
|
BIN
src/public/img/backgrounds/fa21social.png
Normal file
BIN
src/public/img/backgrounds/fa21social.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 449 KiB |
BIN
src/public/img/backgrounds/gbm.png
Normal file
BIN
src/public/img/backgrounds/gbm.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 184 KiB |
BIN
src/public/img/backgrounds/robofest.png
Normal file
BIN
src/public/img/backgrounds/robofest.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 250 KiB |
|
@ -19,7 +19,6 @@ class Main extends React.Component<MainProps, MainState> {
|
|||
}
|
||||
public render() {
|
||||
return <>
|
||||
<TopBar links={ACTIVE_PAGES}></TopBar>
|
||||
<Splash cta="Join the 2nd largest IEEE student branch in the US!" delay={2000} backgrounds={["img/backgrounds/fa21qp.png"]}></Splash>
|
||||
<DefaultSection title="We are..." paragraphs={[
|
||||
"A diverse engineering community seeking to empower students through hands-on projects, networking opportunities, and social events. Bonus points on having an open-access project studio!",
|
||||
|
@ -32,9 +31,9 @@ class Main extends React.Component<MainProps, MainState> {
|
|||
</div>
|
||||
<DefaultSection className={"involved"} title="How else can I get involved?">
|
||||
<div className="cards">
|
||||
<InvolveBox boxTitle="Events" image="https://dummyimage.com/400x400/000/fff" description="sdfsfdsd"></InvolveBox>
|
||||
<InvolveBox boxTitle="Projects" image="https://dummyimage.com/400x400/000/fff" description="sdfdsfdsf"></InvolveBox>
|
||||
<InvolveBox boxTitle="Committees" image="https://dummyimage.com/400x400/000/fff" description="sdfsdfsdf"></InvolveBox>
|
||||
<InvolveBox boxTitle="Events" image="img/backgrounds/fa21social.png" description="Events"></InvolveBox>
|
||||
<InvolveBox boxTitle="Projects" image="img/backgrounds/robofest.png" description="Projects"></InvolveBox>
|
||||
<InvolveBox boxTitle="Committees" image="img/backgrounds/gbm/png" description="Committees"></InvolveBox>
|
||||
</div>
|
||||
</DefaultSection>
|
||||
<DefaultSection title="Have questions? Contact us!">
|
||||
|
|
Loading…
Reference in a new issue