vkorobtsev-nextJs/components/Footer.jsx

58 lines
1.6 KiB
React
Raw Normal View History

2023-09-03 08:45:12 +07:00
"use client";
import { motion } from "framer-motion";
import Link from "next/link";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
2023-09-21 09:14:09 +07:00
import { faArrowAltCircleRight } from "@fortawesome/free-regular-svg-icons";
2023-09-03 08:45:12 +07:00
export default function Footer() {
return (
<div className="flex justify-center items-center flex-col mt-5 overflow-hidden">
2023-09-03 20:26:08 +07:00
<div className="flex justify-center items-center flex-col mt-5 self-center min-h-[50vh] border-b-2 min-w-[80vw] ">
<Link href="/#contact">
2023-09-21 09:14:09 +07:00
<motion.h2
className="text-xl font-medium mt-3 text-center text-gray-400 hover:underline whitespace-nowrap leading-none md:tracking-[0.5rem]"
initial={{
opacity: 0,
x: -100,
2023-09-21 09:14:09 +07:00
}}
whileInView={{
opacity: 1,
x: 0,
}}
transition={{
delay: 0.2,
}}>
Want something like this?
</motion.h2>
2023-09-03 20:26:08 +07:00
<motion.h1
className="text-5xl md:text-7xl font-medium mt-3 hover:underline whitespace-nowrap leading-none"
initial={{
opacity: 0,
x: 100,
2023-09-03 20:26:08 +07:00
}}
whileInView={{
opacity: 1,
2023-09-21 09:14:09 +07:00
x: 0,
2023-09-03 20:26:08 +07:00
}}
transition={{
2023-09-21 09:14:09 +07:00
delay: 0.5,
2023-09-03 20:26:08 +07:00
}}>
Get In Touch{" "}
<FontAwesomeIcon
2023-09-21 09:14:09 +07:00
icon={faArrowAltCircleRight}
className="text-5xl ml-2 "
2023-09-03 20:26:08 +07:00
/>
</motion.h1>
</Link>
</div>
<footer className="flex justify-center items-center flex-col my-5 self-start]">
<p className="text-gray-800 text-sm">
&copy;{new Date().getFullYear()} -{" "}
<span className="text-gray-700 text-lg">Alvalens</span>
</p>
</footer>
2023-09-03 08:45:12 +07:00
</div>
);
}