idk
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import { motion } from "framer-motion";
|
||||
import styles from "./footer.module.css";
|
||||
|
||||
|
||||
export default function Footer() {
|
||||
return (
|
||||
@@ -6,7 +8,7 @@ export default function Footer() {
|
||||
initial={{ y: 80, opacity: 0 }}
|
||||
animate={{ y: 0, opacity: 1 }}
|
||||
transition={{ duration: 0.4, delay: 0.2 }}
|
||||
className="bg-white shadow-inner py-4 px-6 mt-8 text-center text-gray-500"
|
||||
className={`${styles.footer} bg-white shadow-inner py-4 px-6 mt-8 text-center text-gray-500`}
|
||||
>
|
||||
<span>
|
||||
© {new Date().getFullYear()} MyDashboard. All rights reserved.
|
||||
4
frontend/src/components/main/footer/footer.module.css
Normal file
4
frontend/src/components/main/footer/footer.module.css
Normal file
@@ -0,0 +1,4 @@
|
||||
.footer {
|
||||
/* optional local styles */
|
||||
/* e.g., outline: 1px solid transparent; */
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Outlet } from "react-router-dom";
|
||||
import Footer from "../components/main/Footer.tsx";
|
||||
import Footer from "../components/main/footer/Footer.tsx";
|
||||
import { motion } from "framer-motion";
|
||||
|
||||
export default function HomeLayout() {
|
||||
|
||||
2
frontend/src/styles/global.css
Normal file
2
frontend/src/styles/global.css
Normal file
@@ -0,0 +1,2 @@
|
||||
@import "tailwindcss";
|
||||
/* ...existing code... */
|
||||
Reference in New Issue
Block a user