feat : add footer , header , base css, progressBar , main and page components
This commit is contained in:
12
src/components/footer/components/CopyRight.tsx
Normal file
12
src/components/footer/components/CopyRight.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
const CopyRight = () => {
|
||||
return (
|
||||
<div className="relative w-full h-full p-3">
|
||||
<p className="text-center text-sm md:text-lg">
|
||||
تمام حقوق این سایت مطعلق به پرشین پینگ است . ساخته شده با عشق توسط سهیل
|
||||
خالدابادی
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default CopyRight;
|
||||
13
src/components/footer/components/SocialMedia.tsx
Normal file
13
src/components/footer/components/SocialMedia.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { FaInstagram, FaTelegram, FaTwitter } from "react-icons/fa6";
|
||||
|
||||
const SocialMedia = () => {
|
||||
return (
|
||||
<div className="w-full h-full flex pt-2 gap-5 justify-center items-center">
|
||||
<FaInstagram />
|
||||
<FaTwitter />
|
||||
<FaTelegram />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default SocialMedia;
|
||||
16
src/components/footer/index.tsx
Normal file
16
src/components/footer/index.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import CopyRight from "./components/CopyRight";
|
||||
import SocialMedia from "./components/SocialMedia";
|
||||
|
||||
const Footer = () => {
|
||||
return (
|
||||
<div className="relative w-full p-5 h-[10rem]">
|
||||
<footer className="glass w-full flex flex-col justify-center items-center gap-2 h-full">
|
||||
<SocialMedia />
|
||||
<hr className="w-3/4 border-gray-700" />
|
||||
<CopyRight />
|
||||
</footer>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Footer;
|
||||
Reference in New Issue
Block a user