Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daksh2k24 orientation theme update #86

Open
wants to merge 3 commits into
base: daksh2k24_orientation
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 44 additions & 31 deletions components/About/About.js
Original file line number Diff line number Diff line change
@@ -1,37 +1,50 @@
import React from 'react'
import Link from 'next/link'
import styles from './about.module.css'
import Buttons from '../Buttons/Buttons'
import React from "react";
import Link from "next/link";
import styles from "./about.module.css";
import Buttons from "../Buttons/Buttons";

function About() {
return (
<section className={styles.about}>
<div className={styles.row__about} data-aos="fade-up">
<div className={styles.col_lg_6} >
<div className={styles.text_container__about}>
<h3 className={`${styles.about__h3} ${styles.theme_text}`} >About Us</h3>
<p className={styles.about__p}>
Instituted in 2007, DAKSH is the annual techno management fest of Sastra University. Ever since its establishment it has been a platform for a multitude of students and aspirants to unravel their talents and showcase their technical prowess. We’ve grown together as a fest since our inception providing students with the finest exposure and skill. This edition of Daksh aims at creating a virtual forum bringing together the eccentric minded and celebrating technology.
</p>
{/* <Link href="#newsletter">
return (
<section className={styles.about}>
<div className={styles.row__about} data-aos="fade-up">
<div className={styles.col_lg_6}>
<div className={styles.text_container__about}>
<h3 className={`${styles.about__h3} ${styles.theme_text}`}>
About Us
</h3>
<p className={styles.about__p}>
Instituted in 2007, DAKSH is the annual techno management fest of
Sastra University. Ever since its establishment it has been a
platform for a multitude of students and aspirants to unravel
their talents and showcase their technical prowess. We’ve grown
together as a fest since our inception providing students with the
finest exposure and skill. This edition of Daksh aims at creating
a virtual forum bringing together the eccentric minded and
celebrating technology.
</p>
{/* <Link href="#newsletter">
<a className={styles.button__about} > Teams </a>
</Link> */}
<Link href="/teams" >
<div>
<Buttons text="TEAMS" radius="10px" />
</div>
</Link>
</div>
</div>
<div className={styles.col_lg_6} >
<div className={styles.video_container__about}>
{/* <img className={styles.about__img_fluid}src="https://dummyimage.com/700x400/fff/000000&text=Daksh" alt="dummy image"/> */}
<iframe className={styles.about__video_size} src="https://www.youtube.com/embed/pFL37QpQ5t0" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>
</div>
</div>
</div>
</section>
)
<Link href="/teams">
<div>
<Buttons text="TEAMS" radius="10px" />
</div>
</Link>
</div>
</div>
<div className={styles.col_lg_6}>
<div className={styles.image_container__about}>
<img
className={styles.about__img_fluid}
src="/about-img.png"
alt="dummy image"
/>
{/* <iframe className={styles.about__video_size} src="https://www.youtube.com/embed/pFL37QpQ5t0" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe> */}
</div>
</div>
</div>
</section>
);
}
// width="560" height="315"
export default About
export default About;
42 changes: 31 additions & 11 deletions components/About/about.module.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
.about{
/* background-color: rgba(0, 0, 0, 0.9); */
background-color: var(--color-white);
/* background-image: url("/aboutbg.png"); */
/* background: linear-gradient(90deg, rgba(105, 82, 73, 0.7) 0%, rgba(157, 147, 121, 0.7) 100%), url("/aboutbg.png"); */
background: linear-gradient(90deg, rgba(105, 82, 73, 0.40) 0%, rgba(157, 147, 121, 0.40) 100%), url("/aboutbg.png"), lightgray 50% / cover no-repeat;
mix-blend-mode: luminosity;
background-position: center;
background-size: cover;
text-align: left;
width: 100%;
padding: 5rem;
overflow-x: hidden;
position: relative;
z-index: 5;
}
.container__about{
width: 100%;
Expand All @@ -21,6 +29,7 @@

.col_lg_6{
width: 100%;
height: auto;
display: flex;
flex-direction: column;
justify-content: center;
Expand Down Expand Up @@ -82,22 +91,33 @@
line-height: 18px;
/* margin-bottom: 1.5rem; */
}
.video_container__about{
padding: 25px;
align-items: center;
.image_container__about{
display: flex;
position: relative;
height: auto;
width: 400px;
border-radius: 10px;
}
/* .about__img_fluid {
.about__img_fluid {
max-width: 100%;
height: auto;
vertical-align: middle;
display: block;
align-self: center;
} */
.about__video_size{
position: relative;
z-index: 0;
mix-blend-mode: luminosity;
}

/* .about__video_size{
height: 250px;
width: 400px;
border-radius: 10px;
border: 2px solid var(--white);
}
} */







Expand All @@ -116,14 +136,14 @@
flex-direction: column;
flex-wrap: wrap;
}
.video_container__about {
.image_container__about {
width: 100%;
padding: 0;
margin-top: 25px;
display: flex;
justify-content: center;
}
.about__video_size{
/* .about__video_size{
width: 100%;
}
} */
}
56 changes: 31 additions & 25 deletions components/Banner/Banner.js
Original file line number Diff line number Diff line change
@@ -1,40 +1,46 @@
import React from 'react'
import styles from './banner.module.css';
import React from "react";
import styles from "./banner.module.css";
import homeStyles from "../../styles/Home.module.css";
import Link from 'next/link'
import Buttons from '../Buttons/Buttons'

import Link from "next/link";
import Buttons from "../Buttons/Buttons";

function Banner() {
return (
<>
<div className={styles.topcover}>
<div className={styles.divbanner}>
{/* <video className={homeStyles.bannervideo} autoPlay loop muted>
return (
<>
<div className={styles.topcover}>
<div className={styles.divbanner}>
{/* <video className={homeStyles.bannervideo} autoPlay loop muted>
<source src="/bgvideo.mp4" type='video/mp4' />
</video> */}
<h1 className={`${styles.divbanner__headtext} ${styles.theme_text}`} data-aos="fade-up" data-aos-delay="200">
build <br /> things that <br /> matter.
</h1>
<h3 className={styles.divbanner__descriptiontext} data-aos="fade-up" data-aos-delay="400">
Daksh is Happening very soon
</h3>
{/* <a href='https://linktr.ee/daksh2023' data-aos="fade-up" data-aos-delay="200" className={styles.register__btn}>COMING SOON ...</a> */}
{/* <Link href="#newsletter">
<h1
className={`${styles.divbanner__headtext} ${styles.theme_text}`}
data-aos="fade-up"
data-aos-delay="200"
>
build <br /> things <br /> that <br /> matter.
</h1>
<h3
className={styles.divbanner__descriptiontext}
data-aos="fade-up"
data-aos-delay="400"
>
Daksh is Happening very soon
</h3>
{/* <a href='https://linktr.ee/daksh2023' data-aos="fade-up" data-aos-delay="200" className={styles.register__btn}>COMING SOON ...</a> */}
{/* <Link href="#newsletter">
<a className={styles.divbanner__eveandwsbtn}>
Events and Workshops
</a>
</Link > */}
{/* <Link href="#newsletter">
{/* <Link href="#newsletter">
<div style={{marginTop: "1rem"}} data-aos="fade-up" data-aos-delay="600">
<Buttons text="Subscribe" radius="40px" />
</div>
</Link > */}
</div>
</div>

</>
)
</div>
</div>
</>
);
}

export default Banner
export default Banner;
7 changes: 3 additions & 4 deletions components/Banner/banner.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@
width: 100vw;
height: 100%;
justify-content: center;
/* background-color: rgba(0,0,0,0.7); */
/* background: url("/backgbanner.png"); */
background-position: center;
background-size: 100%;
background-color: rgba(0,0,0,0.7);
background: url("/backgbanner.png");
background-size: 100% 100%;
margin: 0;
}

Expand Down
Loading