Skip to content

Commit

Permalink
Merge pull request #4 from dev-sandip/main
Browse files Browse the repository at this point in the history
fix : hero section timer and some footer ui tweaks
  • Loading branch information
delta-ioepc authored Jan 8, 2025
2 parents ff4e39b + e766b05 commit 2fba54d
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 31 deletions.
69 changes: 42 additions & 27 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
import React from "react"
import Image from "next/image"
import Link from "next/link"
import { Poppins, Montserrat } from "next/font/google"
import React from "react";
import Image from "next/image";
import Link from "next/link";
import { Poppins, Montserrat } from "next/font/google";

const poppins = Poppins({
weight: ["100", "200", "300", "400", "500", "600", "700"],
subsets: ["latin"],
})
});

const montserrat = Montserrat({
weight: ["100", "200", "300", "400", "500", "600", "700"],
subsets: ["latin"],
})
});

const Footer = () => {
return (
<div className="w-[100%] pt-7 ">
<div
className={`text-white flex gap-7 py-7 xl:flex-row flex-col items-center ${montserrat.className}`}>
className={`text-white flex gap-7 py-7 xl:flex-row flex-col items-center ${montserrat.className}`}
>
<div className="my-auto text-center xl:pb-0 pb-12">
<Image
src="/images/delta_5.0_profile_logo_white.png"
Expand Down Expand Up @@ -79,10 +80,12 @@ const Footer = () => {
fill="none"
xmlns="http://www.w3.org/2000/svg"
width="25"
height="25">
height="25"
>
<path
d="M7.5 14.5a7 7 0 110-14 7 7 0 010 14zm0 0v-8a2 2 0 012-2h.5m-5 4h5"
stroke="currentColor"></path>
stroke="currentColor"
></path>
</svg>
</li>
</Link>
Expand All @@ -93,10 +96,12 @@ const Footer = () => {
fill="none"
xmlns="http://www.w3.org/2000/svg"
width="25"
height="25">
height="25"
>
<path
d="M11 3.5h1M4.5.5h6a4 4 0 014 4v6a4 4 0 01-4 4h-6a4 4 0 01-4-4v-6a4 4 0 014-4zm3 10a3 3 0 110-6 3 3 0 010 6z"
stroke="currentColor"></path>
stroke="currentColor"
></path>
</svg>
</li>
</Link>
Expand Down Expand Up @@ -130,17 +135,20 @@ const Footer = () => {
</Link> */}
<Link
href="https://www.youtube.com/@deltaevent3395"
target="_blank">
target="_blank"
>
<li className="cursor-pointer duration-300 hover:text-[#5ae65a]">
<svg
viewBox="0 0 15 15"
fill="none"
xmlns="http://www.w3.org/2000/svg"
width="25"
height="25">
height="25"
>
<path
d="M1.61 12.738l-.104.489.105-.489zm11.78 0l.104.489-.105-.489zm0-10.476l.104-.489-.105.489zm-11.78 0l.106.489-.105-.489zM6.5 5.5l.277-.416A.5.5 0 006 5.5h.5zm0 4H6a.5.5 0 00.777.416L6.5 9.5zm3-2l.277.416a.5.5 0 000-.832L9.5 7.5zM0 3.636v7.728h1V3.636H0zm15 7.728V3.636h-1v7.728h1zM1.506 13.227c3.951.847 8.037.847 11.988 0l-.21-.978a27.605 27.605 0 01-11.568 0l-.21.978zM13.494 1.773a28.606 28.606 0 00-11.988 0l.21.978a27.607 27.607 0 0111.568 0l.21-.978zM15 3.636c0-.898-.628-1.675-1.506-1.863l-.21.978c.418.09.716.458.716.885h1zm-1 7.728a.905.905 0 01-.716.885l.21.978A1.905 1.905 0 0015 11.364h-1zm-14 0c0 .898.628 1.675 1.506 1.863l.21-.978A.905.905 0 011 11.364H0zm1-7.728c0-.427.298-.796.716-.885l-.21-.978A1.905 1.905 0 000 3.636h1zM6 5.5v4h1v-4H6zm.777 4.416l3-2-.554-.832-3 2 .554.832zm3-2.832l-3-2-.554.832 3 2 .554-.832z"
fill="currentColor"></path>
fill="currentColor"
></path>
</svg>
</li>
</Link>
Expand All @@ -151,10 +159,12 @@ const Footer = () => {
fill="none"
xmlns="http://www.w3.org/2000/svg"
width="25"
height="25">
height="25"
>
<path
d="M.5 4.5l7 4 7-4m-13-3h12a1 1 0 011 1v10a1 1 0 01-1 1h-12a1 1 0 01-1-1v-10a1 1 0 011-1z"
stroke="currentColor"></path>
stroke="currentColor"
></path>
</svg>
</li>
</Link>
Expand All @@ -163,33 +173,38 @@ const Footer = () => {
</div>
</div>
<div
className={`text-white text-[13px] ${montserrat.className} mx-auto flex flex-col py-50`}>
className={`text-white text-[13px] ${montserrat.className} mx-auto flex flex-col py-50`}
>
<p className="text-center py-3">
Copyright © 2023 Delta IOEPC | Designed and developed by{" "}
Copyright © {new Date().getFullYear()} Delta IOEPC | Designed and
Developed by{" "}
<Link
href="https://www.ghimiresuzan.com.np/"
className="hover:text-[#5ae65a] duration-300"
target="_blank">
Sujan
target="_blank"
>
Sujan
</Link>{" "}
,Kritam{" "}
<Link
href="https://swikarneupane.com.np"
className="hover:text-[#5ae65a] duration-300"
target="_blank">
target="_blank"
>
Swikar
</Link>
and
</Link>{" "}
and{" "}
<Link
href="https://prashntapandey.com.np"
className="hover:text-[#5ae65a] duration-300"
target="_blank">
target="_blank"
>
Prashnta
</Link>
</p>
</div>
</div>
)
}
);
};

export default Footer
export default Footer;
2 changes: 1 addition & 1 deletion src/components/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const montserrat = Montserrat({
});

const Hero = () => {
const targetDate = new Date("2024-01-19T10:00:00");
const targetDate = new Date("2025-01-31T10:00:00");
return (
<div
className={`w-full h-full flex flex-col justify-center items-center ${montserrat.className} bg-hero_background bg-cover bg-no-repeat bg-center `}
Expand Down
6 changes: 3 additions & 3 deletions src/pages/_document.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Html, Head, Main, NextScript } from "next/document"
import Head from 'next/head';
// import Head from 'next/head';

export default function Document() {
return (
<Html lang="en">
<Head >
<title>Delta 5.0 - Purwanchal Campus</title>
<title>Delta 5.0 - Purwanchal Campus</title>
<meta name="description" content="Reflecting on Delta's remarkable journey and substantial growth. A pivotal platform for leadership and positive impact in the engineering community." />

</Head>

<body>
Expand Down

0 comments on commit 2fba54d

Please sign in to comment.