diff --git a/.husky/_/husky.sh b/.husky/_/husky.sh index dab6c54..f9d0637 100644 --- a/.husky/_/husky.sh +++ b/.husky/_/husky.sh @@ -1,28 +1,9 @@ -#!/bin/sh -if [ -z "$husky_skip_init" ]; then - debug () { - if [ "$HUSKY_DEBUG" = "1" ]; then - echo "husky (debug) - $1" - fi - } - readonly hook_name="$(basename "$0")" - debug "starting $hook_name..." - if [ "$HUSKY" = "0" ]; then - debug "HUSKY env variable is set to 0, skipping hook" - exit 0 - fi - if [ -f ~/.huskyrc ]; then - debug "sourcing ~/.huskyrc" - . ~/.huskyrc - fi +echo "husky - DEPRECATED - export readonly husky_skip_init=1 - sh -e "$0" "$@" - exitCode="$?" +Please remove the following two lines from $0: - if [ $exitCode != 0 ]; then - echo "husky - $hook_name hook exited with code $exitCode (error)" - fi +#!/usr/bin/env sh +. \"\$(dirname -- \"\$0\")/_/husky.sh\" - exit $exitCode -fi \ No newline at end of file +They WILL FAIL in v10.0.0 +" \ No newline at end of file diff --git a/app/temp/page.tsx b/app/temp/page.tsx index 7a07b93..132e26a 100644 --- a/app/temp/page.tsx +++ b/app/temp/page.tsx @@ -7,7 +7,9 @@ import { Playfair_Display } from "next/font/google"; import Image from "next/image"; import Director from "@/components/about-page/Director"; import VC from "@/components/about-page/VC"; - +import Mission from "@/components/about-page/Mission"; +import Vision from "@/components/about-page/Vision"; +import Landmarks from "@/components/about-page/Landmarks"; const playfair = Playfair_Display({ subsets: ["latin"], weight: ["400", "500", "600", "700", "800", "900"], @@ -15,15 +17,14 @@ const playfair = Playfair_Display({ const page = () => { return ( <> -
- - - -
- - -
-
+ + + + + + + + ); }; diff --git a/components/about-page/Customslide.tsx b/components/about-page/Customslide.tsx new file mode 100644 index 0000000..31f6774 --- /dev/null +++ b/components/about-page/Customslide.tsx @@ -0,0 +1,30 @@ +"use client"; +import React from "react"; +import { Manrope } from "next/font/google"; +import { Achievement } from "grommet-icons"; + +const manrope = Manrope({ + subsets: ["latin"], + weight: ["200", "300", "400", "500"], +}); +interface Slideprops { + id: string; + // icon: JSX.Element | string; + heading: string; + paragraph: string; +} +const Customslide = ({ id, heading, paragraph }: Slideprops) => { + return ( +
+
+ {" "} + +
+

{heading}

+

+ {paragraph} +

+
+ ); +}; +export default Customslide; diff --git a/components/about-page/DesCard.tsx b/components/about-page/DesCard.tsx new file mode 100644 index 0000000..4de1cab --- /dev/null +++ b/components/about-page/DesCard.tsx @@ -0,0 +1,16 @@ +import React from "react"; +interface Cardprop { + id: string; + description: string; +} +const DesCard = ({ id, description }: Cardprop) => { + return ( +
+

{id}

+

+ {description} +

+
+ ); +}; +export default DesCard; diff --git a/components/about-page/Landmarks.tsx b/components/about-page/Landmarks.tsx new file mode 100644 index 0000000..97cba6c --- /dev/null +++ b/components/about-page/Landmarks.tsx @@ -0,0 +1,37 @@ +"use client"; +import React from "react"; +import "slick-carousel/slick/slick.css"; +import "slick-carousel/slick/slick-theme.css"; +import dynamic from "next/dynamic"; +import { landmarks } from "@/constants/about-page/landmarks"; +import Customslide from "./Customslide"; +const Slider = dynamic(() => import("react-slick"), { + ssr: false, +}); +function Landmarks() { + var settings = { + dots: true, + infinite: false, + speed: 500, + slidesToScroll: 4, + slidesToShow: 4, + }; + return ( +
+ + {landmarks.map((value: any, id) => { + return ( + + ); + })} + +
+ ); +} + +export default Landmarks; diff --git a/components/about-page/Mission.tsx b/components/about-page/Mission.tsx new file mode 100644 index 0000000..789bc65 --- /dev/null +++ b/components/about-page/Mission.tsx @@ -0,0 +1,39 @@ +"use client"; +import React from "react"; +import { + missions, + missionDavv, + missionIet, +} from "@/constants/about-page/mission"; +import { useState } from "react"; +import DesCard from "./DesCard"; + +const Mission = () => { + const [preview, setPreview] = useState(missionIet); + return ( +
+
+ {missions && + missions.map((value, id) => ( + + ))} +
+
+ {preview?.map((item: any, index: number) => ( + + ))} +
+
+ ); +}; +export default Mission; diff --git a/components/about-page/Vision.tsx b/components/about-page/Vision.tsx new file mode 100644 index 0000000..a4b859e --- /dev/null +++ b/components/about-page/Vision.tsx @@ -0,0 +1,79 @@ +import { + visionIET, + visionDavvText, + visionIetText, + visionDAVV, +} from "@/constants/about-page/about"; +import { px } from "framer-motion"; +import Image from "next/image"; +import React from "react"; +import { Playfair_Display } from "next/font/google"; + +const playfair = Playfair_Display({ + subsets: ["latin"], + weight: ["400", "500", "600", "700", "800", "900"], +}); + +const Vision = () => { + return ( +
+
+
+

+ VISION-IET +

+
+
+
+ Vision IET +
+
+ +
+

+ {visionIetText} +

+
+
+
+ +
+
+
+ Vision DAVV +
+
+ +
+

+ {visionDavvText} +

+
+
+
+

+ VISION-DAVV +

+
+
+
+ ); +}; + +export default Vision; diff --git a/constants/about-page/about.ts b/constants/about-page/about.ts index 0bbe68f..8ef134c 100644 --- a/constants/about-page/about.ts +++ b/constants/about-page/about.ts @@ -3,6 +3,12 @@ export const aboutIET = export const aboutImage = "/about/aboutietimg.png"; export const aboutDirector = "/about/about_director.png"; export const aboutVC = "/about/aboutVC.png"; +export const visionIET = "/about/visionietimg.png"; +export const visionDAVV = "/about/visiondavvimg.png"; +export const visionDavvText = + "Emerge as a premier higher learning institution by creating, advancing and disseminating knowledge with collective wisdom, through value imbued holistic education for peaceful, sustainable and humane society."; +export const visionIetText = + "To be a leading human resource development centre for generating, advancing and disseminating knowledge, serve and build value to the society and industry through research, entrepreneurship and outreach activities."; export const aboutDirectorText = "Devi Ahilya Vishwavidyalaya, Indore (DAVV) formerly, established in 1964 at Indore - the pride city of Malwa, is the leading university in the central part of India.Initially it was known as the University of Indore and the jurisdiction was limited to the district of Indore. Later in the year 1988 university was renamed after the famous and benevolent ruler of Malwa i.e. Devi Ahilya Bai Holkar.During reorganization of the Universities the jurisdiction of the university was expanded over to Indore division spanning over Six Districts. In Indore division, here are fifty four development blocks, out of which forty development blocks are identified as tribal blocks. In all there are 153 affiliated colleges imparting education at UG/PG level in almost all the basic & professional disciplines Most of them also provide the facilities of doctoral research. University now has 6000 students in its campus and total 1, 20,000 students in its affiliated colleges. University has 16 Faculties."; export const aboutVCText = diff --git a/constants/about-page/landmarks.ts b/constants/about-page/landmarks.ts new file mode 100644 index 0000000..49dcf8a --- /dev/null +++ b/constants/about-page/landmarks.ts @@ -0,0 +1,61 @@ +"use client"; +import React from "react"; +import { Achievement } from "grommet-icons"; +export const landmarks = [ + { + id: "1", + // icon: () => , + heading: "Lorem Ipsum", + paragraph: + "Lorem ipsum dolor sit amet, consectetur adipiscing elit. aEtiam eu turpis molestie", + }, + { + id: "2", + // icon: , + heading: "Lorem Ipsum", + paragraph: + "Lorem ipsum dolor sit amet, consectetur adipiscing elit. aEtiam eu turpis molestie", + }, + { + id: "3", + // icon: , + heading: "Lorem Ipsum", + paragraph: + "Lorem ipsum dolor sit amet, consectetur adipiscing elit. aEtiam eu turpis molestie", + }, + { + id: "4", + // icon: , + heading: "Lorem Ipsum", + paragraph: + "Lorem ipsum dolor sit amet, consectetur adipiscing elit. aEtiam eu turpis molestie", + }, + { + id: "5", + // icon: , + heading: "Lorem Ipsum", + paragraph: + "Lorem ipsum dolor sit amet, consectetur adipiscing elit. aEtiam eu turpis molestie", + }, + { + id: "6", + // icon: , + heading: "Lorem Ipsum", + paragraph: + "Lorem ipsum dolor sit amet, consectetur adipiscing elit. aEtiam eu turpis molestie", + }, + { + id: "7", + // icon: , + heading: "Lorem Ipsum", + paragraph: + "Lorem ipsum dolor sit amet, consectetur adipiscing elit. aEtiam eu turpis molestie", + }, + { + id: "8", + // icon: , + heading: "Lorem Ipsum", + paragraph: + "Lorem ipsum dolor sit amet, consectetur adipiscing elit. aEtiam eu turpis molestie", + }, +]; diff --git a/constants/about-page/mission.ts b/constants/about-page/mission.ts new file mode 100644 index 0000000..7e605bd --- /dev/null +++ b/constants/about-page/mission.ts @@ -0,0 +1,78 @@ +import { link } from "fs"; + +export const missionIet = [ + { + id: "01", + description: + "To be a leading human resource development centre for generating, advancing and disseminating knowledge, serve and build value to the society and industry through research, entrepreneurship and outreach activities.", + }, + { + id: "02", + description: + "To be a leading human resource development centre for generating, advancing and disseminating knowledge, serve and build value to the society and industry through research, entrepreneurship and outreach activities.", + }, + { + id: "03", + description: + "To be a leading human resource development centre for generating, advancing and disseminating knowledge, serve and build value to the society and industry through research, entrepreneurship and outreach activities.", + }, + { + id: "04", + description: + "To be a leading human resource development centre for generating, advancing and disseminating knowledge, serve and build value to the society and industry through research, entrepreneurship and outreach activities.", + }, + { + id: "05", + description: + "To be a leading human resource development centre for generating, advancing and disseminating knowledge, serve and build value to the society and industry through research, entrepreneurship and outreach activities.", + }, + { + id: "06", + description: + "To be a leading human resource development centre for generating, advancing and disseminating knowledge, serve and build value to the society and industry through research, entrepreneurship and outreach activities.", + }, +]; +export const missionDavv = [ + { + id: "01", + description: + "Emerge as a premier higher learning institution by creating, advancing and disseminating knowledge with collective wisdom, through value imbued holistic education for peaceful, sustainable and humane society.", + }, + { + id: "02", + description: + "Emerge as a premier higher learning institution by creating, advancing and disseminating knowledge with collective wisdom, through value imbued holistic education for peaceful, sustainable and humane society.", + }, + { + id: "03", + description: + "Emerge as a premier higher learning institution by creating, advancing and disseminating knowledge with collective wisdom, through value imbued holistic education for peaceful, sustainable and humane society.", + }, + { + id: "04", + description: + "Emerge as a premier higher learning institution by creating, advancing and disseminating knowledge with collective wisdom, through value imbued holistic education for peaceful, sustainable and humane society.", + }, + { + id: "05", + description: + "Emerge as a premier higher learning institution by creating, advancing and disseminating knowledge with collective wisdom, through value imbued holistic education for peaceful, sustainable and humane society.", + }, + { + id: "06", + description: + "Emerge as a premier higher learning institution by creating, advancing and disseminating knowledge with collective wisdom, through value imbued holistic education for peaceful, sustainable and humane society.", + }, +]; +export const missions = [ + { + name: "MISSION-IET", + id: "m1", + link: missionIet, + }, + { + name: "MISSION-DAVV", + id: "m2", + link: missionDavv, + }, +]; diff --git a/package.json b/package.json index e4ddbb4..1ba7f57 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "clsx": "^2.1.1", "framer-motion": "^11.3.31", "global": "^4.4.0", - "next": "^14.2.6", + "grommet-icons": "^4.12.1", + "next": "^14.2.15", "react": "^18", "react-dom": "^18", "react-fast-marquee": "^1.6.5", diff --git a/public/about/visiondavvimg.png b/public/about/visiondavvimg.png new file mode 100644 index 0000000..566f599 Binary files /dev/null and b/public/about/visiondavvimg.png differ diff --git a/public/about/visionietimg.png b/public/about/visionietimg.png new file mode 100644 index 0000000..a49da42 Binary files /dev/null and b/public/about/visionietimg.png differ