diff --git a/devsoc24-landing/src/components/about.tsx b/devsoc24-landing/src/components/about.tsx
index 0e5bb36..40eebec 100644
--- a/devsoc24-landing/src/components/about.tsx
+++ b/devsoc24-landing/src/components/about.tsx
@@ -48,7 +48,6 @@ const About = () => {
return (
<>
{showOriginal && (
-
DEVSOC’24
ignites the tech scene with a blaze of innovation, where
@@ -92,7 +91,6 @@ const About = () => {
Join the fray as we smash barriers and redefine what's
possible.
-
)}
{showGlitchImage && (
{
alt="glitch"
height={0}
width={0}
- className="absolute -z-10 min-h-screen w-screen"
+ className="absolute z-50 min-h-screen w-screen"
/>
)}
{showGlitch && (
diff --git a/devsoc24-landing/src/components/actionButton.tsx b/devsoc24-landing/src/components/actionButton.tsx
new file mode 100644
index 0000000..8f47846
--- /dev/null
+++ b/devsoc24-landing/src/components/actionButton.tsx
@@ -0,0 +1,22 @@
+"use client";
+import { motion } from "framer-motion";
+import styles from "@/styles/btnToPortal.module.css";
+import Image from "next/image";
+import type { StaticImport } from "next/dist/shared/lib/get-img-props";
+import DSLogo from "@/assets/images/DSLogo.svg";
+
+const ActionButton = (props: { link: string; body: string }) => {
+ return (
+ <>
+
+ {props.body}
+
+ >
+ );
+};
+
+export default ActionButton;
diff --git a/devsoc24-landing/src/components/footer.tsx b/devsoc24-landing/src/components/footer.tsx
index a688d19..6ce9c85 100644
--- a/devsoc24-landing/src/components/footer.tsx
+++ b/devsoc24-landing/src/components/footer.tsx
@@ -3,8 +3,13 @@ import Image from "next/image";
import pattern from "@/assets/images/pattern.svg";
import glitch from "@/assets/images/footer_glitch.gif";
import Link from "next/link";
+import { useLenis } from "@studio-freight/react-lenis";
const Footer = () => {
+ const lenis = useLenis(({ scroll }) => {
+ // console.log(scroll);
+ });
+
return (
<>
{
width={0}
className="w-[100%]"
/>
-
+
+ lenis?.scrollTo("#Main", { lerp: 0.1, duration: 1 })
+ }
+ >
X
diff --git a/devsoc24-landing/src/components/main.tsx b/devsoc24-landing/src/components/main.tsx
index fd82421..28532ee 100644
--- a/devsoc24-landing/src/components/main.tsx
+++ b/devsoc24-landing/src/components/main.tsx
@@ -68,7 +68,7 @@ function Main() {
}, []);
return (
<>
-
+
@@ -177,7 +177,7 @@ function Main() {
-
+
diff --git a/devsoc24-landing/src/pages/index.tsx b/devsoc24-landing/src/pages/index.tsx
index 5d7952d..4d4a26f 100644
--- a/devsoc24-landing/src/pages/index.tsx
+++ b/devsoc24-landing/src/pages/index.tsx
@@ -1,5 +1,6 @@
import Timeline from "@/components/Timeline";
import About from "@/components/about";
+import ActionButton from "@/components/actionButton";
import Main from "@/components/main";
import SmoothScrolling from "@/components/smoothscrolling";
@@ -7,9 +8,14 @@ export default function Home() {
return (
<>
-
+
+
>
);