Skip to content

Commit

Permalink
Optimize image loading
Browse files Browse the repository at this point in the history
  • Loading branch information
ethn1ee committed Dec 6, 2024
1 parent be065d0 commit b5d2a2b
Show file tree
Hide file tree
Showing 109 changed files with 50 additions and 50 deletions.
Binary file removed public/images/about/bg.png
Binary file not shown.
Binary file added public/images/about/bg.webp
Binary file not shown.
Binary file removed public/images/about/cloud_br.png
Binary file not shown.
Binary file added public/images/about/cloud_br.webp
Binary file not shown.
Binary file removed public/images/about/cloud_tl.png
Binary file not shown.
Binary file added public/images/about/cloud_tl.webp
Binary file not shown.
Binary file removed public/images/about/planet_bl.png
Binary file not shown.
Binary file added public/images/about/planet_bl.webp
Binary file not shown.
Binary file removed public/images/about/planet_br_1.png
Binary file not shown.
Binary file added public/images/about/planet_br_1.webp
Binary file not shown.
Binary file removed public/images/about/planet_br_2.png
Binary file not shown.
Binary file added public/images/about/planet_br_2.webp
Binary file not shown.
Binary file removed public/images/about/planet_tr.png
Binary file not shown.
Binary file added public/images/about/planet_tr.webp
Binary file not shown.
Binary file removed public/images/about/ufo.png
Binary file not shown.
Binary file added public/images/about/ufo.webp
Binary file not shown.
Binary file removed public/images/faq/transition_l/bg.png
Binary file not shown.
Binary file added public/images/faq/transition_l/bg.webp
Binary file not shown.
Binary file removed public/images/faq/transition_l/cloud.png
Binary file not shown.
Binary file added public/images/faq/transition_l/cloud.webp
Binary file not shown.
Binary file removed public/images/faq/transition_r/bg.png
Binary file not shown.
Binary file added public/images/faq/transition_r/bg.webp
Binary file not shown.
Binary file removed public/images/faq/transition_r/cloud.png
Binary file not shown.
Binary file added public/images/faq/transition_r/cloud.webp
Binary file not shown.
Binary file removed public/images/footer/bg.png
Binary file not shown.
Binary file added public/images/footer/bg.webp
Binary file not shown.
Binary file removed public/images/footer/clouds.png
Binary file not shown.
Binary file added public/images/footer/clouds.webp
Binary file not shown.
Binary file removed public/images/footer/rocket.png
Binary file not shown.
Binary file added public/images/footer/rocket.webp
Binary file not shown.
Binary file removed public/images/general_bg.png
Binary file not shown.
Binary file added public/images/general_bg.webp
Binary file not shown.
Binary file removed public/images/landing/asteroid.png
Binary file not shown.
Binary file removed public/images/landing/astronaut.png
Binary file not shown.
Binary file removed public/images/landing/bg.png
Binary file not shown.
Binary file removed public/images/landing/cloud_bl.png
Binary file not shown.
Binary file removed public/images/landing/cloud_r.png
Binary file not shown.
Binary file removed public/images/landing/dog.png
Binary file not shown.
Binary file removed public/images/landing/planet_bl.png
Binary file not shown.
Binary file removed public/images/landing/planet_br_1.png
Binary file not shown.
Binary file removed public/images/landing/planet_br_2.png
Binary file not shown.
Binary file removed public/images/landing/rocket.png
Diff not rendered.
Binary file removed public/images/schedule/alien_l.png
Diff not rendered.
Binary file added public/images/schedule/alien_l.webp
Binary file not shown.
Binary file removed public/images/schedule/alien_r.png
Diff not rendered.
Binary file added public/images/schedule/alien_r.webp
Binary file not shown.
Binary file removed public/images/schedule/bg.png
Diff not rendered.
Binary file added public/images/schedule/bg.webp
Binary file not shown.
Binary file removed public/images/schedule/comet_c.png
Diff not rendered.
Binary file added public/images/schedule/comet_c.webp
Binary file not shown.
Binary file removed public/images/schedule/comet_l.png
Diff not rendered.
Binary file added public/images/schedule/comet_l.webp
Binary file not shown.
Binary file removed public/images/schedule/comet_r.png
Diff not rendered.
Binary file added public/images/schedule/comet_r.webp
Binary file not shown.
Binary file removed public/images/schedule/transition/bg.png
Diff not rendered.
Binary file added public/images/schedule/transition/bg.webp
Binary file not shown.
Binary file removed public/images/schedule/transition/cloud_l.png
Diff not rendered.
Binary file added public/images/schedule/transition/cloud_l.webp
Binary file not shown.
Binary file removed public/images/schedule/transition/cloud_r.png
Diff not rendered.
Binary file added public/images/schedule/transition/cloud_r.webp
Binary file not shown.
Binary file removed public/images/sponsors/cnr.png
Diff not rendered.
Binary file added public/images/sponsors/cnr.webp
Binary file not shown.
Binary file removed public/images/sponsors/emorynlp.png
Diff not rendered.
Binary file added public/images/sponsors/emorynlp.webp
Binary file not shown.
Binary file removed public/images/sponsors/hyundai.png
Diff not rendered.
Binary file added public/images/sponsors/hyundai.webp
Binary file not shown.
Binary file removed public/images/sponsors/jpmorgan.png
Diff not rendered.
Binary file added public/images/sponsors/jpmorgan.webp
Binary file not shown.
Binary file removed public/images/tracks/asteroid_1.png
Diff not rendered.
Binary file added public/images/tracks/asteroid_1.webp
Binary file not shown.
Binary file removed public/images/tracks/asteroid_2.png
Diff not rendered.
Binary file added public/images/tracks/asteroid_2.webp
Binary file not shown.
Binary file removed public/images/tracks/asteroid_3.png
Diff not rendered.
Binary file added public/images/tracks/asteroid_3.webp
Binary file not shown.
Binary file removed public/images/tracks/asteroid_4.png
Diff not rendered.
Binary file added public/images/tracks/asteroid_4.webp
Binary file not shown.
Binary file removed public/images/tracks/asteroid_small_1.png
Diff not rendered.
Binary file added public/images/tracks/asteroid_small_1.webp
Binary file not shown.
Binary file removed public/images/tracks/asteroid_small_2-1.png
Diff not rendered.
Binary file added public/images/tracks/asteroid_small_2-1.webp
Binary file not shown.
Binary file removed public/images/tracks/asteroid_small_2.png
Diff not rendered.
Binary file added public/images/tracks/asteroid_small_2.webp
Binary file not shown.
Binary file added public/images/tracks/asteroid_small_3.webp
Binary file not shown.
Binary file removed public/images/tracks/asteroid_small_4.png
Diff not rendered.
Binary file added public/images/tracks/asteroid_small_4.webp
Binary file not shown.
Binary file removed public/images/tracks/bg.png
Diff not rendered.
Binary file added public/images/tracks/bg.webp
Binary file not shown.
Binary file removed public/images/tracks/planet.png
Diff not rendered.
Binary file added public/images/tracks/planet.webp
Binary file not shown.
Binary file removed public/logo.png
Diff not rendered.
Binary file added public/logo.webp
Binary file not shown.
Binary file removed public/noise.png
Diff not rendered.
Binary file added public/noise.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion src/app/components/nav.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { gsap } from "gsap";

import { ScrollToPlugin } from "gsap/ScrollToPlugin";
import { useEffect, useRef, useState } from "react";
import logo from "../../../public/logo.png";
import logo from "../../../public/logo.webp";
import Image from "next/image";
import { IconX, IconMenuDeep } from "@tabler/icons-react";

Expand Down
2 changes: 1 addition & 1 deletion src/app/components/timer.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";

import { useEffect, useRef, useState } from "react";
import noise from "../../../public/noise.png";
import noise from "../../../public/noise.webp";
import { AnimatePresence, motion } from "framer-motion";
import { IconRocket } from "@tabler/icons-react";
import Link from "next/link";
Expand Down
2 changes: 1 addition & 1 deletion src/app/sections/1-about/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Parallax from "@/app/components/parallax";
import { useRef } from "react";
import { useInView, motion } from "framer-motion";
import noise from "../../../../public/noise.png";
import noise from "../../../../public/noise.webp";
import { raleway } from "@/app/page";

const Content = () => {
Expand Down
16 changes: 8 additions & 8 deletions src/app/sections/1-about/graphicsData.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import bg from "../../../../public/images/about/bg.png";
import cloud_br from "../../../../public/images/about/cloud_br.png";
import cloud_tl from "../../../../public/images/about/cloud_tl.png";
import planet_br_1 from "../../../../public/images/about/planet_br_1.png";
import planet_br_2 from "../../../../public/images/about/planet_br_2.png";
import planet_tr from "../../../../public/images/about/planet_tr.png";
import planet_bl from "../../../../public/images/about/planet_bl.png";
import ufo from "../../../../public/images/about/ufo.png";
import bg from "../../../../public/images/about/bg.webp";
import cloud_br from "../../../../public/images/about/cloud_br.webp";
import cloud_tl from "../../../../public/images/about/cloud_tl.webp";
import planet_br_1 from "../../../../public/images/about/planet_br_1.webp";
import planet_br_2 from "../../../../public/images/about/planet_br_2.webp";
import planet_tr from "../../../../public/images/about/planet_tr.webp";
import planet_bl from "../../../../public/images/about/planet_bl.webp";
import ufo from "../../../../public/images/about/ufo.webp";

export { bg, cloud_br, cloud_tl, planet_br_1, planet_br_2, planet_tr, planet_bl, ufo };
2 changes: 1 addition & 1 deletion src/app/sections/2-tracks/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { useRef } from "react";
import { Raleway } from "next/font/google";
import { useInView, motion } from "framer-motion";
import noise from "../../../../public/noise.png";
import noise from "../../../../public/noise.webp";
import Image from "next/image";

const raleway = Raleway({
Expand Down
20 changes: 10 additions & 10 deletions src/app/sections/2-tracks/graphicsData.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import bg from "../../../../public/images/tracks/bg.png";
import asteroid_1 from "../../../../public/images/tracks/asteroid_1.png";
import asteroid_2 from "../../../../public/images/tracks/asteroid_2.png";
import asteroid_3 from "../../../../public/images/tracks/asteroid_3.png";
import asteroid_4 from "../../../../public/images/tracks/asteroid_4.png";
import asteroid_small_1 from "../../../../public/images/tracks/asteroid_small_1.png";
import asteroid_small_2 from "../../../../public/images/tracks/asteroid_small_2.png";
import asteroid_small_3 from "../../../../public/images/tracks/asteroid_small_3.png";
import asteroid_small_4 from "../../../../public/images/tracks/asteroid_small_4.png";
import planet from "../../../../public/images/tracks/planet.png";
import bg from "../../../../public/images/tracks/bg.webp";
import asteroid_1 from "../../../../public/images/tracks/asteroid_1.webp";
import asteroid_2 from "../../../../public/images/tracks/asteroid_2.webp";
import asteroid_3 from "../../../../public/images/tracks/asteroid_3.webp";
import asteroid_4 from "../../../../public/images/tracks/asteroid_4.webp";
import asteroid_small_1 from "../../../../public/images/tracks/asteroid_small_1.webp";
import asteroid_small_2 from "../../../../public/images/tracks/asteroid_small_2.webp";
import asteroid_small_3 from "../../../../public/images/tracks/asteroid_small_3.webp";
import asteroid_small_4 from "../../../../public/images/tracks/asteroid_small_4.webp";
import planet from "../../../../public/images/tracks/planet.webp";

export {
bg,
Expand Down
2 changes: 1 addition & 1 deletion src/app/sections/3-schedule/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Raleway } from "next/font/google";
import { useInView, motion, AnimatePresence } from "framer-motion";
import data from "./data.json";
import { IconArrowLeft, IconArrowRight } from "@tabler/icons-react";
import noise from "../../../../public/noise.png";
import noise from "../../../../public/noise.webp";

const raleway = Raleway({
subsets: ["latin"],
Expand Down
18 changes: 9 additions & 9 deletions src/app/sections/3-schedule/graphicsData.jsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import bg from "../../../../public/images/schedule/bg.png";
import alien_l from "../../../../public/images/schedule/alien_l.png";
import alien_r from "../../../../public/images/schedule/alien_r.png";
import comet_c from "../../../../public/images/schedule/comet_c.png";
import comet_l from "../../../../public/images/schedule/comet_l.png";
import comet_r from "../../../../public/images/schedule/comet_r.png";
import transition_bg from "../../../../public/images/schedule/transition/bg.png";
import transition_cloud_l from "../../../../public/images/schedule/transition/cloud_l.png";
import transition_cloud_r from "../../../../public/images/schedule/transition/cloud_r.png";
import bg from "../../../../public/images/schedule/bg.webp";
import alien_l from "../../../../public/images/schedule/alien_l.webp";
import alien_r from "../../../../public/images/schedule/alien_r.webp";
import comet_c from "../../../../public/images/schedule/comet_c.webp";
import comet_l from "../../../../public/images/schedule/comet_l.webp";
import comet_r from "../../../../public/images/schedule/comet_r.webp";
import transition_bg from "../../../../public/images/schedule/transition/bg.webp";
import transition_cloud_l from "../../../../public/images/schedule/transition/cloud_l.webp";
import transition_cloud_r from "../../../../public/images/schedule/transition/cloud_r.webp";

export { bg, alien_l, alien_r, comet_c, comet_l, comet_r, transition_bg, transition_cloud_l, transition_cloud_r };
2 changes: 1 addition & 1 deletion src/app/sections/4-speakers/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useRef } from "react";
import { Raleway } from "next/font/google";
import { useInView, motion } from "framer-motion";
import data from "./data.json";
import noise from "../../../../public/noise.png";
import noise from "../../../../public/noise.webp";
import Image from "next/image";

const raleway = Raleway({
Expand Down
2 changes: 1 addition & 1 deletion src/app/sections/4-speakers/graphics.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";

import Image from "next/image";
import general_bg from "../../../../public/images/general_bg.png";
import general_bg from "../../../../public/images/general_bg.webp";

const Graphics = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/app/sections/5-faq/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { useRef, useState } from "react";
import { useInView, motion } from "framer-motion";
import noise from "../../../../public/noise.png";
import noise from "../../../../public/noise.webp";
import { raleway } from "@/app/page";
import data from "./data.json";
import { IconCaretDownFilled } from "@tabler/icons-react";
Expand Down
10 changes: 5 additions & 5 deletions src/app/sections/5-faq/graphicsData.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import general_bg from "../../../../public/images/general_bg.png";
import transition_l_bg from "../../../../public/images/faq/transition_l/bg.png";
import transition_r_bg from "../../../../public/images/faq/transition_r/bg.png";
import transition_l_cloud from "../../../../public/images/faq/transition_l/cloud.png";
import transition_r_cloud from "../../../../public/images/faq/transition_r/cloud.png";
import general_bg from "../../../../public/images/general_bg.webp";
import transition_l_bg from "../../../../public/images/faq/transition_l/bg.webp";
import transition_r_bg from "../../../../public/images/faq/transition_r/bg.webp";
import transition_l_cloud from "../../../../public/images/faq/transition_l/cloud.webp";
import transition_r_cloud from "../../../../public/images/faq/transition_r/cloud.webp";

export {
general_bg,
Expand Down
10 changes: 5 additions & 5 deletions src/app/sections/6-sponsors/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
import { AnimatePresence, motion, useInView } from "framer-motion";
import Image from "next/image";
import { useRef, useState } from "react";
import cnr from "../../../../public/images/sponsors/cnr.png";
import emorynlp from "../../../../public/images/sponsors/emorynlp.png";
import hyundai from "../../../../public/images/sponsors/hyundai.png";
import jpmorgan from "../../../../public/images/sponsors/jpmorgan.png";
import noise from "../../../../public/noise.png";
import cnr from "../../../../public/images/sponsors/cnr.webp";
import emorynlp from "../../../../public/images/sponsors/emorynlp.webp";
import hyundai from "../../../../public/images/sponsors/hyundai.webp";
import jpmorgan from "../../../../public/images/sponsors/jpmorgan.webp";
import noise from "../../../../public/noise.webp";
import Link from "next/link";

const Content = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/app/sections/6-sponsors/graphics.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";

import Image from "next/image";
import general_bg from "../../../../public/images/general_bg.png";
import general_bg from "../../../../public/images/general_bg.webp";

const Graphics = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/app/sections/7-footer/content.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";

import { Raleway } from "next/font/google";
import logo from "../../../../public/logo.png";
import logo from "../../../../public/logo.webp";
import Image from "next/image";
import Link from "next/link";
import { motion } from "framer-motion";
Expand Down
6 changes: 3 additions & 3 deletions src/app/sections/7-footer/graphicsData.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import bg from "../../../../public/images/footer/bg.png";
import clouds from "../../../../public/images/footer/clouds.png";
import rocket from "../../../../public/images/footer/rocket.png";
import bg from "../../../../public/images/footer/bg.webp";
import clouds from "../../../../public/images/footer/clouds.webp";
import rocket from "../../../../public/images/footer/rocket.webp";

export { bg, clouds, rocket };

0 comments on commit b5d2a2b

Please sign in to comment.