digital-gardeners/components/Sidemenu.js

51 lines
1.8 KiB
JavaScript
Raw Normal View History

2021-09-05 16:37:21 +02:00
import { motion } from "framer-motion";
import Link from "next/link";
export default function Sidemenu() {
return (
<motion.div
initial="hidden"
animate="visible"
variants={{
hidden: { opacity: 0, x: -50 },
visible: {
opacity: 1,
x: 0,
transition: {
delay: 0.6,
ease: "easeInOut",
duration: 1,
},
},
}}
2021-09-06 17:36:23 +02:00
className="flex flex-col space-y-3 mt-28 ml-6 w-60 mr-12 text-deepGreen"
2021-09-05 16:37:21 +02:00
>
<Link href="/what">
2021-09-06 17:36:23 +02:00
<a className="text-base opacity-80 hover:opacity-100 transition-all duration-350 leading-tight font-bold">
2021-09-05 16:37:21 +02:00
What's a Digital Garden?
</a>
</Link>
<Link href="/directory">
2021-09-06 17:36:23 +02:00
<a className="text-base opacity-80 hover:opacity-100 transition-all duration-350 leading-tight">
2021-09-05 16:37:21 +02:00
Garden Directory
</a>
</Link>
<Link href="/tools">
2021-09-06 17:36:23 +02:00
<a className="text-base opacity-80 hover:opacity-100 transition-all duration-350 leading-tight">
2021-09-05 16:37:21 +02:00
Tools for Gardening
</a>
</Link>
<Link href="/tutorials">
2021-09-06 17:36:23 +02:00
<a className="text-base opacity-80 hover:opacity-100 transition-all duration-350 leading-tight">
2021-09-05 16:37:21 +02:00
Gardening Tutorials and Guides
</a>
</Link>
<Link href="/theory">
2021-09-06 17:36:23 +02:00
<a className="text-base opacity-80 hover:opacity-100 transition-all duration-350 leading-tight">
2021-09-05 16:37:21 +02:00
Gardening Theory and Navel-Gazing
</a>
</Link>
</motion.div>
);
}