added to empty components

This commit is contained in:
JilianaTiu 2022-07-11 12:13:29 -07:00
parent 6c4f5c6177
commit 55a910112b
6 changed files with 16 additions and 5 deletions

View file

@ -23,6 +23,14 @@ const websites = [{
jsfile: "js/index.js", jsfile: "js/index.js",
cssfile: "css/styles.css", cssfile: "css/styles.css",
themecolor: "" themecolor: ""
},
{
sitename: "about",
title: "IEEE at UCSD",
description: "",
jsfile: "js/index.js",
cssfile: "css/styles.css",
themecolor: ""
}] as Website[]; }] as Website[];
const PORT = 9000; const PORT = 9000;
@ -43,6 +51,11 @@ app.get("/", (req: Request, res: Response) => {
respond(res, "index"); respond(res, "index");
}); });
app.get("/about", (req: Request, res: Response) => {
respond(res, "about");
});
/** /**
* Utility functions for above methods * Utility functions for above methods
*/ */

View file

@ -20,7 +20,6 @@ export default class CarouselItem extends Component<CarouselItemProps, CarouselI
<img src={this.props.photo}></img> <img src={this.props.photo}></img>
<div className="carousel-name">{this.props.name}</div> <div className="carousel-name">{this.props.name}</div>
<div className="carousel-pos">{this.props.position}</div> <div className="carousel-pos">{this.props.position}</div>
<div className="carousel-email">{this.props.email}</div>
</div>; </div>;
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 KiB

View file

@ -19,7 +19,6 @@ class Main extends React.Component<MainProps, MainState> {
} }
public render() { public render() {
return <> 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> <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={[ <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!", "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> </div>
<DefaultSection className={"involved"} title="How else can I get involved?"> <DefaultSection className={"involved"} title="How else can I get involved?">
<div className="cards"> <div className="cards">
<InvolveBox boxTitle="Events" image="https://dummyimage.com/400x400/000/fff" description="sdfsfdsd"></InvolveBox> <InvolveBox boxTitle="Events" image="img/backgrounds/fa21social.png" description="Events"></InvolveBox>
<InvolveBox boxTitle="Projects" image="https://dummyimage.com/400x400/000/fff" description="sdfdsfdsf"></InvolveBox> <InvolveBox boxTitle="Projects" image="img/backgrounds/robofest.png" description="Projects"></InvolveBox>
<InvolveBox boxTitle="Committees" image="https://dummyimage.com/400x400/000/fff" description="sdfsdfsdf"></InvolveBox> <InvolveBox boxTitle="Committees" image="img/backgrounds/gbm/png" description="Committees"></InvolveBox>
</div> </div>
</DefaultSection> </DefaultSection>
<DefaultSection title="Have questions? Contact us!"> <DefaultSection title="Have questions? Contact us!">