Skip to content

Commit

Permalink
Merge branch 'main' into prod
Browse files Browse the repository at this point in the history
  • Loading branch information
ManasChoudhary-01 authored Oct 16, 2024
2 parents ea7f132 + e54f76c commit 77f0024
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.brochureBack {
.contactBack {
position: fixed;
height: 100%;
width: 100%;
Expand Down Expand Up @@ -31,10 +31,10 @@
.contactPage {
position: fixed;
top: 0rem;
height: 100lvh;
height: 100%;
width: 100vw;
opacity: 1;
pointer-events: none;
//opacity: 1;
//pointer-events: auto;
overflow-x: hidden;
overflow-y: scroll;

Expand Down Expand Up @@ -137,21 +137,6 @@
}
}

// @media (max-width: 2100px) and (min-width: 1400px) {
// .contactPage {
// .heading {
// margin-top: 5.5rem;

// h2 {
// font-size: 72px;
// }
// }

// .cardContainer {
// margin-top: 5rem;
// }
// }
// }

@media (max-width: 2100px) and (min-width: 1800px) {
.contactPage {
Expand Down Expand Up @@ -187,7 +172,7 @@
margin-top: 4rem;

h2 {
font-size: 65px;
font-size: 58px;
}
}

Expand Down Expand Up @@ -217,11 +202,13 @@

@media (max-width: 1000px) {
.contactPage {
height: fit-content;

.heading {
h2 {
font-size: 62px;
font-size: 52px;
font-weight: 400;
line-height: 43px;
line-height: normal;
box-shadow: none;
}
}
Expand Down
11 changes: 7 additions & 4 deletions app/contact/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"use client";
import React, { useEffect } from "react";
import styles from "./brochure.module.scss";

import React, { useLayoutEffect } from "react";
import styles from "./contact.module.scss";

import Grid from "@/components/Landing/Grid/Grid";
import Grunge from "@/components/Landing/Backdrop/Grunge";
Expand Down Expand Up @@ -30,7 +31,8 @@ import RegBtn from "@/components/Landing/Navbar/RegBtn/RegBtn";
import CursorEffect from "@/components/CursorEffect/CursorEffect";

export default function Brochure() {
useEffect(() => {

useLayoutEffect(() => {
const container = document.querySelector("#contactCard") as HTMLElement;
const cards = container?.querySelectorAll(
".card"
Expand Down Expand Up @@ -181,11 +183,12 @@ export default function Brochure() {
}
}
}, []);

return (
<>
<PrePreloader />
<CursorEffect />
<div className={styles.brochureBack}>
<div className={styles.contactBack}>
<Glow />
<Grunge />
<Grid />
Expand Down
2 changes: 1 addition & 1 deletion components/Landing/Navbar/Logo/Logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function OasisLogo() {
<div className={styles.logo}>
<Image
id="oasisLogo"
src="/oasislogo.png"
src="/oasislogoNew.png"
alt="oasis logo landing"
width={logoAspectRatio * logoHeight}
height={logoHeight}
Expand Down
File renamed without changes

0 comments on commit 77f0024

Please sign in to comment.