Skip to content

Commit

Permalink
updated about page
Browse files Browse the repository at this point in the history
  • Loading branch information
EwanLyon committed Jun 26, 2024
1 parent 671895c commit 6a4472c
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 14 deletions.
20 changes: 6 additions & 14 deletions apps/nextjs/pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import {
import styles from "../styles/about.module.scss";
import ASRLogo from "../styles/img/AusSpeedruns-Logo-Full-White.svg";
import ASMLogo from "../styles/img/about/ASMLogo.svg";
import TGXLogo from "../styles/img/about/TGXLogo.png";
import DHLogo from "../styles/img/about/DreamHack_Logo_RGB_WHITE.svg";
import PAXLogo from "../styles/img/about/PAXLogo.png";
import PAXBackground from "../styles/img/about/IMG_5264.jpg";
import ASMBackground from "../styles/img/about/IMG_4740.jpg";
import TGXBackground from "../styles/img/about/37702952_1429746967125476_8025977769395486720_n.jpg";
import PAXBackground from "../styles/img/about/IMG_0059.jpg";
import ASMBackground from "../styles/img/about/IMG_9222.jpg";
import DHBackground from "../styles/img/about/DSC_0894.jpg";
import AllCharities from "../styles/img/about/AllCharities.png";

import HeroImage1 from "../styles/img/about/IMG_5192.jpg";
Expand Down Expand Up @@ -59,14 +59,6 @@ function useOnScreen(ref: RefObject<HTMLElement>) {

let observer: IntersectionObserver | null = null;

// const observer = useMemo(
// () =>
// new IntersectionObserver(([entry]) =>
// setIntersecting(entry.isIntersecting),
// ),
// [ref],
// );

useEffect(() => {
if (ref.current) {
observer = new IntersectionObserver(([entry]) =>
Expand Down Expand Up @@ -203,9 +195,9 @@ export default function Home() {
<div
className={styles.event}
style={{
backgroundImage: `url(${TGXBackground.src})`,
backgroundImage: `url(${DHBackground.src})`,
}}>
<Image src={TGXLogo} alt="TGX Logo" height={125} />
<Image src={DHLogo} alt="TGX Logo" height={125} width={500} />
</div>
<div
className={styles.event}
Expand Down
Binary file modified apps/nextjs/styles/img/about/AllCharities.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/nextjs/styles/img/about/DSC_0894.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions apps/nextjs/styles/img/about/DreamHack_Logo_RGB_WHITE.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/nextjs/styles/img/about/IMG_0059.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/nextjs/styles/img/about/IMG_9222.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6a4472c

Please sign in to comment.