Move src dir

This commit is contained in:
Timothy Pidashev
2024-06-05 09:11:18 -07:00
parent 189774def8
commit ef9522cf3e
42 changed files with 229 additions and 229 deletions

View File

@@ -0,0 +1,60 @@
"use client"
import Link from "next/link";
import { motion } from "framer-motion";
const Items = [
{ id: 0, href: "https://add-later", label: "Contact", color: "green" },
{ id: 1, href: "https://github.com/timmypidashev", label: "Github", color: "yellow" },
{ id: 3, href: "https://linkedin.com/in/timothy-pidashev-9055922a7", label: "Linkedin", color: "blue" },
{ id: 4, href: "https://instagram.com/timmypidashev", label: "Instagram", color: "purple" },
{ id: 5, href: "https://github.com/timmypidashev/web", label: "Source", color: "aqua" },
];
const ItemColors = {
green: "text-light-green-1 dark:text-dark-green-1",
yellow: "text-light-yellow-1 dark:text-dark-yellow-1",
blue: "text-light-blue-1 dark:text-dark-blue-1",
purple: "text-light-purple-1 dark:text-dark-purple-1",
aqua: "text-light-aqua-1 dark:text-dark-aqua-1"
};
function Content() {
return (
<motion.nav
initial="hidden"
animate="visible"
variants={{
visible: {
transition: {
staggerChildren: 0.3
}
},
}}
className="
fixed bottom-0 left-0 w-full z-50
flex flex-row
px-6 py-1.5
font-bold text-2xl
justify-center
">
<div className="flex space-x-10">
{Items.map((item) => (
<motion.div
key={item.id}
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
transition={{ delay: item.id * 0.2 }}
className={`
inline-block
${ItemColors[item.color]} dark:${ItemColors[item.color]}
`}>
<Link href={item.href} target="_blank" rel="noopener noreferrer">{item.label}</Link>
</motion.div>
))}
</div>
</motion.nav>
);
}
export default Content;

View File

@@ -0,0 +1,10 @@
import Container from "@/components/ui/container";
import Content from "@/components/footer/content";
function Footer() {
return (
<Content />
);
}
export default Footer;