diff --git a/components/About/About.js b/components/About/About.js index 98fed27..a67b3fd 100644 --- a/components/About/About.js +++ b/components/About/About.js @@ -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 ( -
-
-
-
-

About Us

-

- 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. -

- {/* + return ( +
+
+
+
+

+ About Us +

+

+ 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. +

+ {/* Teams */} - -
- -
- -
-
-
-
- {/* dummy image */} - -
-
-
-
- ) + +
+ +
+ +
+
+
+
+ dummy image + {/* */} +
+
+
+
+ ); } // width="560" height="315" -export default About +export default About; diff --git a/components/About/about.module.css b/components/About/about.module.css index fb364ec..1cf4051 100644 --- a/components/About/about.module.css +++ b/components/About/about.module.css @@ -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%; @@ -21,6 +29,7 @@ .col_lg_6{ width: 100%; + height: auto; display: flex; flex-direction: column; justify-content: center; @@ -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); -} +} */ + + + + @@ -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%; - } + } */ } \ No newline at end of file diff --git a/components/Banner/Banner.js b/components/Banner/Banner.js index a026c64..c140b25 100644 --- a/components/Banner/Banner.js +++ b/components/Banner/Banner.js @@ -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 ( - <> -
-
- {/*
+
+ + ); } -export default Banner +export default Banner; diff --git a/components/Banner/banner.module.css b/components/Banner/banner.module.css index 30b3096..d9eaf9c 100644 --- a/components/Banner/banner.module.css +++ b/components/Banner/banner.module.css @@ -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; } diff --git a/components/BannerCards/BannerCards.js b/components/BannerCards/BannerCards.js index feab269..bc6d1ae 100644 --- a/components/BannerCards/BannerCards.js +++ b/components/BannerCards/BannerCards.js @@ -1,102 +1,110 @@ -import React,{useState} from 'react' -import styles from './bannercards.module.css'; +import React, { useState } from "react"; import "slick-carousel/slick/slick.css"; import "slick-carousel/slick/slick-theme.css"; import Slider from "react-slick"; -import Link from 'next/link'; +import Link from "next/link"; +import styles from "./bannercards.module.css"; function BannerCards() { - const carousel_items=[ - { - idx:0, - description:"Events", - src:'/events.png', - buttonText:'view', - href: "/events-workshop" - }, - { - idx:1, - description:"Workshops", - src:'/workshop.png', - buttonText:'view', - href: "/events-workshop" - }, - { - idx:2, - description:"Podcasts", - src:'/tech.png', - buttonText:'view', - href: "/podcast" - }, - { - idx:3, - description:"Teams", - src:'/team.png', - buttonText:'view', - href: "/teams" - } - ] + const carousel_items = [ + { + idx: 0, + description: "Events", + src: "/events.png", + buttonText: "view", + href: "/events-workshop", + }, + { + idx: 1, + description: "Workshops", + src: "/workshop.png", + buttonText: "view", + href: "/events-workshop", + }, + { + idx: 2, + description: "Podcasts", + src: "/tech.png", + buttonText: "view", + href: "/podcast", + }, + { + idx: 3, + description: "Teams", + src: "/team.png", + buttonText: "view", + href: "/teams", + }, + ]; - const [imageIdx,setImageIdx] = useState(0); - - var settings = { - autoplay: true, - className: "center", - centerMode: true, - infinite: true, - dots: true, - arrows: false, - autoplaySpeed: 3000, - slidesToShow: 3, - speed: 500, - beforeChange: (current,next) => setImageIdx(next), - responsive: [ - { - breakpoint: 770, - settings: { - centerMode: true, - centerPadding: '0px', - slidesToShow: 1 - } - }, - { - breakpoint: 480, - settings: { - centerMode: true, - centerPadding: '0px', - slidesToShow: 1 - }, - }, - ] - }; + const [imageIdx, setImageIdx] = useState(0); - return( - <> -
-
- - {carousel_items.map((item,idx)=>{ - return ( -
-
-
- -
-
{item.description}
- -
{item.buttonText}
- -
-
- ) - })} -
-
-
- - - ); - + var settings = { + autoplay: true, + centerMode: true, + infinite: true, + dots: true, + arrows: false, + autoplaySpeed: 3000, + slidesToShow: 3, + speed: 500, + beforeChange: (current, next) => setImageIdx(next), + responsive: [ + { + breakpoint: 770, + settings: { + centerMode: true, + centerPadding: "0px", + slidesToShow: 1, + }, + }, + { + breakpoint: 480, + settings: { + centerMode: true, + centerPadding: "0px", + slidesToShow: 1, + }, + }, + ], + }; + + return ( + <> +
+
+ + {carousel_items.map((item, idx) => { + return ( +
+
+
+ +
+
{item.description}
+ +
+ {item.buttonText} +
+ +
+
+ ); + })} +
+
+
+ + ); } export default BannerCards; diff --git a/components/BannerCards/bannercards.module.css b/components/BannerCards/bannercards.module.css index e603fd9..98ae4ff 100644 --- a/components/BannerCards/bannercards.module.css +++ b/components/BannerCards/bannercards.module.css @@ -7,8 +7,8 @@ display: flex; justify-content: center; align-items: center; - /* background-image: var(--gradient-right); */ - background-color: var(--color-blue-1); + background-image: url("/cardbg.png"); + background: linear-gradient(90deg, rgba(105, 82, 73, 0.8) 0%, rgba(157, 147, 121, 0.8) 100%), url("/cardbg.png"); /* background-color: transparent; */ } @@ -27,9 +27,11 @@ justify-content: center; transition: all 0.5s; transform: scale(0.8); - background: rgba(10, 3, 68, 0.8); + background: rgba(255, 255, 255, 0.71); box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.25); + border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 30px; + padding-bottom: 20px; } .card_active { @@ -38,7 +40,7 @@ height: 400px; max-height: 400px; /* background-color: rgb(0,0,0); */ - background-color: var(--color-blue-2); + background-color: rgba(255, 255, 255, 0.49); border-radius: 30px; margin: auto 0px; display: flex; @@ -48,7 +50,9 @@ /* box-shadow: rgb(0,0,0); */ transform: scale(1); /* box-shadow: rgba(25, 25, 26, 0.5) 0px 7px 29px 0px; */ - box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.25); + /* box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.25); */ + box-shadow: 0px 0px 35px 0px rgba(0, 0, 0, 0.25); + } .center { @@ -85,4 +89,13 @@ font-size: 1rem; border-radius: 10px; cursor: pointer; -} \ No newline at end of file +} + +.slick-dots li button:before { + color: white !important;; +} + +.slick-dots li.slick-active button:before { + opacity: .75; + color: white !important; +} \ No newline at end of file diff --git a/components/Footer/Footer.js b/components/Footer/Footer.js index f6d34b2..46f84c1 100644 --- a/components/Footer/Footer.js +++ b/components/Footer/Footer.js @@ -8,74 +8,76 @@ import { RiFacebookCircleFill, RiLinkedinBoxFill } from "react-icons/ri"; function Footer() { return ( -