-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
706 additions
and
357 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,13 @@ const Footer = () => { | |
<div className={styles.footer}> | ||
<div className={[styles.mainSection].join(' ')}> | ||
<div className={[styles.section3].join(' ')}> | ||
<div className={styles.anwesha_text}> | ||
<Link href="/" className={styles.anwesha_text}> | ||
<img | ||
src="/Anwesha_text.png" | ||
alt="Anwesha" | ||
className={styles.anwesha_text_img} | ||
/> | ||
</div> | ||
</Link> | ||
<div | ||
className={[styles.icon_links, styles.linkGroup].join( | ||
' ' | ||
|
@@ -59,23 +59,23 @@ const Footer = () => { | |
</a> | ||
</div> */} | ||
</div> | ||
|
||
<div className={[styles.sectionSeperator].join(' ')}></div> | ||
<img src="/assets/frame.svg"/> | ||
{/* <div className={[styles.sectionSeperator].join(' ')}></div> */} | ||
<div className={[styles.section1].join(' ')}> | ||
<h4> | ||
Email :{' '} | ||
<a href="mailto:[email protected]"> | ||
<a href="mailto:[email protected]"> | ||
<img src="/footer/mail.svg"/>{' '} | ||
<span> | ||
[email protected] | ||
</a> | ||
</h4> | ||
<h4>Phone : +91 7907323522 </h4> | ||
<h4> | ||
Address : Anwesha Office, Indian Institute of Technology | ||
Patna, Bihta, Patna - 801 103 | ||
</h4> | ||
</span> | ||
</a> | ||
<a href="tel:+917907323522"><img src="/footer/phone.svg"/> <span>+91 79073 23522 </span></a> | ||
<a href="https://goo.gl/maps/g8QCu3qN2DhuM2W49"> | ||
<img src="/footer/location.svg"/><div>Anwesha Office,<br/>Indian Institute of Technology | ||
Patna,<br/>Bihta, Patna - 801 103</div> | ||
</a> | ||
</div> | ||
</div> | ||
<div className={[styles.footerSeperator].join(' ')}>svsdf</div> | ||
{/* <div className={[styles.footerSeperator].join(' ')}>svsdf</div> */} | ||
</div> | ||
) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,59 @@ | ||
import { useState, useEffect } from "react"; | ||
import Link from "next/link"; | ||
import styles from './Navbar.module.css' | ||
// import 'bootstrap/dist/css/bootstrap.min.css'; | ||
// import 'bootstrap/dist/js/bootstrap.bundle.min' | ||
|
||
|
||
const Navbar = () => { | ||
const [openSide, setSideOpen] = useState(false); | ||
const [mobile, setMobile] = useState(false); | ||
function handleResize() { | ||
if(window.innerWidth <= '500') { | ||
setMobile(true); | ||
} | ||
else { | ||
setMobile(false); | ||
setSideOpen(false); | ||
} | ||
} | ||
|
||
useEffect(() => {handleResize}, []) | ||
|
||
useEffect(() => { | ||
|
||
window.addEventListener('resize', handleResize); | ||
return _ => { | ||
window.removeEventListener('resize', handleResize)} | ||
}) | ||
|
||
return ( | ||
<div > | ||
<div className={styles.nav_container}> | ||
{/* <Head> | ||
<link href='https://fonts.googleapis.com/css?family=Poppins' rel='stylesheet' /> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous" /> | ||
</Head> */} | ||
<div className={styles.nav_div}> | ||
<img src="./navbar/navbar mandala left.svg" className={[styles.navbar_3].join(" ")} /> | ||
{mobile ? openSide ? <img className={styles.side_icon} src="/assets/close.svg" onClick={() => {setSideOpen(false)}}/> : <img className={styles.side_icon} src="/assets/hamburger.svg" onClick={() => {setSideOpen(true)}}/> : <img src="./navbar/navbar mandala left.svg" className={[styles.navbar_3].join(" ")} />} | ||
<img src="./navbar/navbar mandala right.svg" className={styles.navbar_4} /> | ||
<div className={styles.navbar_flex}> | ||
<Link href="/"> | ||
<img src="./navbar/logo.svg" className={[styles.navbar_2].join(" ")} /> | ||
</Link> | ||
<img src="./navbar/nav bar1.svg" className={styles.navbar_1} /> | ||
<h4 className={` ${styles.item_1} nav-item`}> | ||
<Link className="nav-link active" aria-current="page" href="/campusambassador">CA</Link> | ||
<Link className={styles.nav_item} aria-current="page" href="/campusambassador">CA</Link> | ||
</h4> | ||
<h4 className={` ${styles.item_2} nav-item`}> | ||
<Link className="nav-link active" aria-current="page" href="/all-multicity">Multicity</Link> | ||
</h4> | ||
<h4 className={styles.item_3}> | ||
<Link className="nav-link active" aria-current="page" href="#">Events</Link> | ||
<Link className={styles.nav_item} aria-current="page" href="/all-multicity">Multicity</Link> | ||
</h4> | ||
<nav className={` navbar ${styles.toggle_nav}`}> | ||
{/* <h4 className={styles.item_3}> | ||
<Link className={styles.nav_item} aria-current="page" href="#">Events</Link> | ||
</h4> */} | ||
</div> | ||
|
||
{/* <nav className={` navbar ${styles.toggle_nav}`}> | ||
<div className= {`container-fluid`}> | ||
<button className={ `${styles.b} navbar-toggler `} type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNavbar" aria-controls="offcanvasNavbar"> | ||
<span className= {`navbar-toggler-icon ${styles.toggle_icon}`} ></span> | ||
|
@@ -55,8 +80,19 @@ const Navbar = () => { | |
</div> | ||
</div> | ||
</div> | ||
</nav> | ||
</nav> */} | ||
</div> | ||
{openSide ? <div className={styles.side_menubar}> | ||
<h4 className={styles.sidemenu_item}> | ||
<Link className={styles.sidenav_item} aria-current="page" href="/campusambassador">CA</Link> | ||
</h4> | ||
<h4 className={styles.sidemenu_item}> | ||
<Link className={styles.sidenav_item} aria-current="page" href="/all-multicity">Multicity</Link> | ||
</h4> | ||
{/* <h4 className={styles.sidemenu_item}> | ||
<Link className={styles.sidenav_item} aria-current="page" href="#">Events</Link> | ||
</h4> */} | ||
</div> : null} | ||
</div > | ||
); | ||
} | ||
|
Oops, something went wrong.