diff --git a/next.config.js b/next.config.js index 98f7710..2dc2a69 100644 --- a/next.config.js +++ b/next.config.js @@ -4,7 +4,7 @@ const nextConfig = { swcMinify: true, serverRuntimeConfig: { // Will only be available on the server side - domain: 'https://hackmol.tech', + domain: 'https://hackmol.com', }, } diff --git a/src/pages/_app.js b/src/pages/_app.js index e88e3fc..a574fd3 100644 --- a/src/pages/_app.js +++ b/src/pages/_app.js @@ -1,5 +1,3 @@ -import "../styles/globals.css"; -import "../styles/hero.css"; import "swiper/css"; import Head from "next/head"; diff --git a/src/pages/_document.js b/src/pages/_document.js index af8f271..ca86085 100644 --- a/src/pages/_document.js +++ b/src/pages/_document.js @@ -1,7 +1,6 @@ // _dovument.js nextjs import { Html, Head, Main, NextScript } from "next/document"; import Script from "next/script"; -import { useLayoutEffect } from "react"; export default function Document() { return ( @@ -40,7 +39,6 @@ export default function Document() { - diff --git a/src/pages/index.js b/src/pages/index.js index c1d3f85..5c1c19d 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -1,3 +1,5 @@ +import "../styles/globals.css"; +import "../styles/hero.css"; import Marquee from "../components/Hero/marquee"; import Testimonies from "../components/Testimonies"; import Timeline from "../components/Timeline"; @@ -9,23 +11,14 @@ import Track from "../components/track"; import Footer from "../components/Footer"; import HeroSection from "../components/Hero/HeroSection"; import JudgesSection from "../components/Judges/JudgesSection"; -import { useEffect, useLayoutEffect } from "react"; import Header from "../components/Hero/Header"; import NavBar from "../components/Hero/NavBar"; -import Script from "next/script"; export default function Home() { return (
- {/* */} - {/*
-
-
-
-
*/} - {/* */}