Merge branch 'chark1es'

This commit is contained in:
chark1es 2024-02-10 16:25:07 -08:00
commit 45c36f0c99
7 changed files with 2366 additions and 1946 deletions

4278
package-lock.json generated

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View file

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 2.1 MiB

24
src/public/bash.tsx Normal file
View file

@ -0,0 +1,24 @@
import * as ReactDom from "react-dom";
import * as React from "react";
import TopBar from "./components/TopBar";
import { ACTIVE_PAGES, SOCIALS, EMAIL } from "./Config";
import Splash from "./components/Splash";
import DefaultSection from "./components/DefaultSection";
import InvolveBox from "./components/InvolveBox";
import SocialCard from "./components/SocialCard";
import Footer from "./components/Footer";
class Main extends React.Component {
constructor() {
super({});
this.state = {};
}
public render() {
return <h1>Hello World</h1>;
}
}
ReactDom.render(<Main></Main>, document.getElementById("root"));
export default {};

View file

@ -12,12 +12,20 @@ export default class CarouselItem extends Component<CarouselItemProps> {
constructor(props: CarouselItemProps) { constructor(props: CarouselItemProps) {
super(props); super(props);
this.state = {}; this.state = {};
this.handleImageError = this.handleImageError.bind(this);
}
handleImageError(e) {
e.target.src = "/assets/img/officers/avatar.jpg"; // Default Image
} }
public render() { public render() {
return ( return (
<div className="carousel-item"> <div className="carousel-item">
<img src={this.props.photo}></img> <img
src={this.props.photo}
onError={this.handleImageError}
></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"> <div className="carousel-email">