Skip to content
This repository was archived by the owner on Jul 17, 2025. It is now read-only.
Open

V2 #39

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
57 changes: 57 additions & 0 deletions components/About.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
import React, { useMemo } from "react";

import Image from "next/image";

import { motion } from "framer-motion";

import getScrollAnimation from "../utils/getScrollAnimation";

import ScrollAnimationWrapper from "./Layout/ScrollAnimationWrapper";

import Logo from "../public/assets/Logo.png";

const About = () => {
const scrollAnimation = useMemo(() => getScrollAnimation(), []);

return (
<div className="bg-gradient-to-b from-white-300 to-white-500 w-full py-14">
<div
className="max-w-screen-xl mt-8 mb-6 sm:mt-14 sm:mb-14 px-6 sm:px-8 lg:px-16 mx-auto"
id="about"
>
<div className="grid grid-flow-row sm:grid-flow-col grid-cols-1 sm:grid-cols-2 gap-8 p y-8 my-12">
<ScrollAnimationWrapper className="flex w-full justify-end">
<motion.div
className="h-full w-full p-4"
variants={scrollAnimation}
>
<Image
src={Logo}
alt="ERU Symposium Logo"
layout="responsive"
quality={100}
height={100}
width={300}
/>
</motion.div>
</ScrollAnimationWrapper>
<ScrollAnimationWrapper>
<motion.div
className="flex flex-col items-end justify-center ml-auto w-full lg:w-9/12"
variants={scrollAnimation}
>
<p className="text-lg">
ERU Research Symposium-2024 is organized as an event parallel to
the <strong>University of Moratuwa Research Week.</strong> ERU
Symposium provides an excellent opportunity for academics,
industry practitioners, and students to showcase their research.
</p>
</motion.div>
</ScrollAnimationWrapper>
</div>
</div>
</div>
);
};

export default About;
76 changes: 76 additions & 0 deletions components/Awards.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
import React, { useMemo } from "react";

import Image from "next/image";

import { motion } from "framer-motion";

import getScrollAnimation from "../utils/getScrollAnimation";

import ScrollAnimationWrapper from "./Layout/ScrollAnimationWrapper";

import MedalAward from "../public/assets/medal_award.png";

// Icons
import { Check } from "lucide-react";

const Awards = () => {
const scrollAnimation = useMemo(() => getScrollAnimation(), []);

return (
<div id="awards">
<div className="pb-12 max-w-screen-xl mt-28 px-6 sm:px-8 lg:px-16 mx-auto flex flex-col w-full text-center justify-center">
<div className="flex flex-col w-full">
<ScrollAnimationWrapper>
<motion.h3
variants={scrollAnimation}
className="text-2xl sm:text-3xl lg:text-4xl font-medium text-black-600 leading-relaxed"
>
Awards
</motion.h3>
</ScrollAnimationWrapper>
<div className="mt-12 flex flex-col gap-4">
<div className="flex flex-row items-center justify-center">
<Check className="w-6 h-6 mr-2" />
<p className="text-lg font-semibold">
Proceedings will be published with ISSN: 3051-4894
</p>
</div>
<div className="flex flex-row items-center justify-center">
<Check className="w-6 h-6 mr-2" />
<p className="text-lg font-semibold text-orange-500">
The abstracts will be published with a DOI in the University of
Moratuwa Library Website
</p>
</div>
<div className="flex flex-row items-center justify-center">
<Check className="w-6 h-6 mr-2" />
<p className="text-lg font-semibold">
A valuable certificate will be awarded.
</p>
</div>
</div>
<div className="mt-6 grid grid-cols-1 gap-12 md:grid-cols-2 mx-auto">
<AwardCard title="Best Extended Abstract" />
<AwardCard title="Best Poster" />
</div>
</div>
</div>
</div>
);
};

export default Awards;

const AwardCard = ({ title }) => {
return (
<div className="relative shadow-md rounded-xl px-8 py-6">
<Image
src={MedalAward}
alt="Medal Award"
width={150}
objectFit="contain"
/>
<p className="text-2xl font-semibold">{title}</p>
</div>
);
};
70 changes: 0 additions & 70 deletions components/Feature.js

This file was deleted.

Loading