merge pull request #20 from ieeeucsd/ray-dev

update parisa officer image
This commit is contained in:
Raymond Wang 2022-11-11 11:04:41 -08:00 committed by GitHub
commit 7e89ad19b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 45 additions and 14 deletions

View file

@ -1,11 +0,0 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
build
node_modules
.DS_Store
firebase-debug.log

31
src/public/404.tsx Normal file
View file

@ -0,0 +1,31 @@
import * as ReactDom from "react-dom";
import * as React from "react";
import TopBar from "./components/TopBar";
import { ACTIVE_PAGES } from "./Config";
import Splash from "./components/Splash";
import Footer from "./components/Footer";
class Main extends React.Component {
constructor() {
super({});
this.state = {};
}
public render() {
return (
<>
<TopBar links={ACTIVE_PAGES}></TopBar>
<Splash
cta="Page Not Found"
delay={2000}
backgrounds={["/assets/img/backgrounds/fa21qp.webp"]}
></Splash>
<Footer></Footer>
</>
);
}
}
ReactDom.render(<Main></Main>, document.getElementById("root"));
export default {};

View file

@ -203,7 +203,7 @@ export const OFFICERS = [
{
name: "Parisa Shahabi",
position: "Social Chair",
photo: "/assets/img/officers/parisa.jpg",
photo: "/assets/img/officers/parisa.webp",
email: "email@ucsd.edu",
},
{

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View file

@ -12,6 +12,7 @@ interface Website {
cssfile: string;
themecolor: string;
path?: string;
filename?: string;
}
const APP = express();
@ -53,6 +54,16 @@ const WEBSITES = [
cssfile: "/assets/css/styles.css",
themecolor: "",
},
{
sitename: "404",
title: "Page Not Found",
description: "404 Page Not Found",
jsfile: "/assets/js/404.js",
cssfile: "/assets/css/styles.css",
themecolor: "",
path: "/",
filename: "404.html",
},
] as Website[];
const PORT = process.env.PORT ?? 9000;
@ -118,8 +129,7 @@ function generateFilePages() {
path.join(
__dirname,
"../public/",
site.path ?? site.sitename,
"/index.html"
site.filename ?? (site.path ?? site.sitename) + "/index.html"
),
html
);