Skip to content

Commit

Permalink
updated navbar ui
Browse files Browse the repository at this point in the history
  • Loading branch information
Mano-08 committed Feb 19, 2023
1 parent 812ceb9 commit 7aa9ef2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 24 deletions.
2 changes: 1 addition & 1 deletion components/homepage/HomePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Contact from "../contact/Contact";
import styles from "./HomePage.module.scss";

function HomePage() {
return <div id={styles.homePage}></div>;
return <div id={styles.homePage}>{/* <Contact></Contact> */}</div>;
}

export default HomePage;
7 changes: 1 addition & 6 deletions components/layout/navbar/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,7 @@ function Navbar() {
</div>
</div>
<nav id={styles.navbar}>
<Image
alt="logo"
id={styles.gdscLogo}
style={{ opacity: "0" }}
src={logo}
></Image>
<Image alt="logo" id={styles.gdscLogo} src={logo}></Image>
<div
id={styles.hamburger}
onClick={() => (active ? setActive(false) : setActive(true))}
Expand Down
20 changes: 7 additions & 13 deletions pages/_app.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
import Layout from "../components/layout/Layout";
import Landing from "../components/landing/Landing";
import Parallax from "../components/parallax/Parallax";
import { useState } from "react";
// import Landing from "../components/landing/Landing";
// import Parallax from "../components/parallax/Parallax";
// import { useState } from "react";
import "../styles/globals.css";

export default function App({ Component, pageProps }) {
return (
<>
<Landing
src="https://gdsc-yonsei.github.io/assets/images/GDSC-Logo.png"
opacity={1}
/>
<Parallax />
<Layout>
<Component {...pageProps} />
</Layout>
</>
<Layout>
<Component {...pageProps} />
</Layout>
);
}
4 changes: 0 additions & 4 deletions pages/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import Head from "next/head";
import { Inter } from "@next/font/google";
import HomePage from "../components/homepage/HomePage";

const inter = Inter({ subsets: ["latin"] });

export default function Home() {
return <HomePage />;
}

0 comments on commit 7aa9ef2

Please sign in to comment.