Skip to content

Commit

Permalink
fix: navbar consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
bhoopesh369 committed Dec 14, 2023
1 parent fd82443 commit 63c31c9
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/app/about/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const About = () => {
return (
<div
className={
'h-screen w-full text-center md:p-7 p-5 about flex flex-col overflow-y-hidden ' +
'h-screen w-full text-center max-sm:p-3 p-5 about flex flex-col overflow-y-hidden ' +
(isScrolled ? ' scrolled' : ' transitioned')
}
onWheel={scrollAllowed ? simulateScroll : undefined}
Expand Down
2 changes: 1 addition & 1 deletion src/app/clusters/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const Clusters = () => {

return (
<div className={styles.clusterBG + ' ' + 'h-screen w-screen p-0 flex justify-center '}>
<div className="absolute top-0 w-full p-5">
<div className="absolute top-0 w-full max-sm:p-3 p-5">
<NavBar />
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/app/eventcluster/[event]/[name]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import styles from '../../eventcluster.module.css';

const events = ({ params }: { params: { event: number; name: string } }) => {
return (
<div className={`min-h-screen w-full text-center lg:p-7 p-5 event + ${styles.event}`}>
<div className={`min-h-screen w-full text-center max-sm:p-3 p-5 event + ${styles.event}`}>
<NavBar />
<ImageChanger defaultImage={Back} hoverImage={BackEnlarge} />
<p
Expand Down
2 changes: 1 addition & 1 deletion src/app/events/[clusterId]/[name]/[eventId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import styles from '../../../carousel.module.css';

const events = ({ params }: { params: { clusterId: number; name: string; eventId: number } }) => {
return (
<div className={`min-h-screen w-full text-center lg:p-7 p-5 event + ${styles.event}`}>
<div className={`min-h-screen w-full text-center max-sm:p-3 p-5 event + ${styles.event}`}>
<NavBar />
<ImageChanger defaultImage={Back} hoverImage={BackEnlarge} />
<p
Expand Down
2 changes: 1 addition & 1 deletion src/app/gallery/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const History = () => {
onMouseMove={handleMouseMove}
>
<div className={styles.torch} ref={shadowRef}></div>
<div className="absolute top-0 w-full p-5">
<div className="absolute top-0 w-full max-sm:p-3 p-5">
<NavBar NavRef={navBarRef} />
</div>
<div className="flex w-[100%] h-[50%] items-center justify-center">
Expand Down
2 changes: 1 addition & 1 deletion src/app/home/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default function Home() {
}
></div>
<div
className={'h-screen w-full text-center lg:p-7 p-5 home transitioned'}
className={'h-screen w-full text-center max-sm:p-3 p-5 home transitioned'}
onWheel={simulateScroll}
onTouchStart={handleTouchStart}
onTouchMove={handleTouchMove}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { usePathname } from 'next/navigation';

const Footer = () => {
const pathname = usePathname();
const ommitedPaths = ['/login/', '/signup/'];
const ommitedPaths = ['/login/', '/signup/', '/'];

if (ommitedPaths.includes(pathname)) {
return null;
Expand Down

0 comments on commit 63c31c9

Please sign in to comment.