Skip to content

Commit

Permalink
Merge pull request #145 from dvm-bitspilani/main
Browse files Browse the repository at this point in the history
Merge to prod
  • Loading branch information
samyak-jain-12 authored Oct 16, 2024
2 parents fa63689 + b09ebcf commit d511150
Show file tree
Hide file tree
Showing 19 changed files with 455 additions and 708 deletions.
2 changes: 1 addition & 1 deletion app/about/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function About() {
<PrePreloader />
<CursorEffect />
<div className={styles.aboutBack}>
<Glow />
{/* <Glow /> */}
<Grunge />
<Grid />
<SuitBackground />
Expand Down
2 changes: 1 addition & 1 deletion app/archive/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default function GalleryPage() {
<PrePreloader />
<CursorEffect />
<div className={styles.galleryBack}>
<Glow />
{/* <Glow /> */}
<Grunge />
<Grid />
<SuitBackground />
Expand Down
2 changes: 1 addition & 1 deletion app/articles/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const Articles: React.FC = () => {
<PrePreloader />
<CursorEffect />
<div className={styles.epcBack}>
<Glow />
{/* <Glow /> */}
<Grunge />
<Grid />
<SuitBackground />
Expand Down
2 changes: 1 addition & 1 deletion app/brochure/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function Brochure() {
<PrePreloader />
<CursorEffect />
<div className={styles.brochureBack}>
<Glow />
{/* <Glow /> */}
<Grunge />
<Grid />
<SuitBackground />
Expand Down
1 change: 1 addition & 0 deletions app/contact/contact.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
z-index: 100;
top: 30px;
left: 20px;
z-index: 15;
@media(width>1920px){
transform: scale(1.3);
left: 40px;
Expand Down
2 changes: 1 addition & 1 deletion app/contact/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export default function ContactUs() {
<PrePreloader />
<CursorEffect />
<div className={styles.contactBack}>
<Glow />
{/* <Glow /> */}
<Grunge />
<Grid />
<SuitBackground />
Expand Down
1 change: 0 additions & 1 deletion app/events/[categoryname]/categories.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@
.eventImage {
width: 100%;
height: 100%;
filter: brightness(200%);
user-select: none;
box-shadow: 0px 0px 20px 4px #cbae5780;
background-color: #110e16;
Expand Down
6 changes: 5 additions & 1 deletion app/events/[categoryname]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,11 @@ export default function Page({ params }: { params: { categoryname: string } }) {
<div
className={styles.eventImage}
style={{
backgroundImage: `url(${eventsList[eventID]?.img_url})`,
backgroundImage: `url(${
eventsList[eventID]?.img_url !== "Nill"
? eventsList[eventID]?.img_url
: "https://bits-oasis.org/media/icons/default_98OZ5vb.png"
})`,
backgroundSize: "cover",
backgroundPosition: "center",
backgroundRepeat: "no-repeat",
Expand Down
1 change: 1 addition & 0 deletions app/events/events.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
position: absolute;
top: 30px;
left: 20px;
z-index: 15;
@media (width>1920px) {
transform: scale(1.3);
left: 40px;
Expand Down
435 changes: 66 additions & 369 deletions app/events/page.tsx

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/gallery/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const Gallery: React.FC = () => {
<>
<PrePreloader />
<div className={styles.galleryBack}>
<Glow />
{/* <Glow /> */}
<Grunge />
<Grid />
<SuitBackground />
Expand Down
2 changes: 1 addition & 1 deletion app/landing.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
width: 100vw;
height: 100lvh;
top: 0;
z-index: 0;
z-index: -100000;
}
}

Expand Down
87 changes: 42 additions & 45 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,51 +15,48 @@ import MobileLanding from "@/components/MobileLanding/MobileLanding/MobileLandin
import Sidenav from "@/components/Sidenav/Sidenav";
import Image from "next/image";

import locationIcon from '@/assets/MobileLanding/locationIcon.svg'
import locationIcon from "@/assets/MobileLanding/locationIcon.svg";

export default function Home() {
return (
<>
<PrePreloader/>
<CursorEffect/>
<div className={styles.hamBtn} id="hamBtn">
<HamBtn/>
</div>
<div className={styles.navTickets} id="tickets-container">
{/*<Nav/>*/}
<Sidenav/>
</div>
<main className={styles.scrollWrapper} id="scrollWrapper">
<main className={styles.desktopPage}>
<Landing/>
<LandingOverlay/>
<Grid/>
<Glow/>
<Trees/>
<Grunge/>
</main>
<main className={styles.mobilePage}>
<OasisLogo/>
<a
href="https://maps.app.goo.gl/EMBKXct4V92g8MbPA"
target='_blank'
className={styles.locationRedirect}
>
<Image
src={locationIcon}
alt='location icon'
/>
</a>
<Countdown dateString="October 23, 2024 19:00:00"/>
<MobileLanding/>
<div className={styles.mobileBackdrop}>
<Grid/>
<Glow/>
<Grunge/>
</div>
</main>
</main>
{/*<AmbientMusic/>*/}
</>
);
return (
<>
<PrePreloader />
<CursorEffect />
<div className={styles.hamBtn} id="hamBtn">
<HamBtn />
</div>
<div className={styles.navTickets} id="tickets-container">
{/*<Nav/>*/}
<Sidenav />
</div>
<main className={styles.scrollWrapper} id="scrollWrapper">
<main className={styles.desktopPage}>
<Landing />
<LandingOverlay />
<Grid />
{/* <Glow /> */}
<Trees />
<Grunge />
</main>
<main className={styles.mobilePage}>
<OasisLogo />
<a
href="https://maps.app.goo.gl/EMBKXct4V92g8MbPA"
target="_blank"
className={styles.locationRedirect}
>
<Image src={locationIcon} alt="location icon" />
</a>
<Countdown dateString="October 23, 2024 19:00:00" />
<MobileLanding />
<div className={styles.mobileBackdrop}>
<Grid />
{/* <Glow /> */}
<Grunge />
</div>
</main>
</main>
{/*<AmbientMusic/>*/}
</>
);
}
Loading

0 comments on commit d511150

Please sign in to comment.