Update Preos

This commit is contained in:
root
2025-10-15 18:55:45 +00:00
parent f8209c3712
commit 4dd2ba9d9d
6 changed files with 496 additions and 80 deletions
+1 -33
View File
@@ -20,43 +20,11 @@ export function Footer({ brandName, brandLink, routes }) {
</a>{" "}
for a better web.
</Typography>
<ul className="flex items-center gap-4">
{routes.map(({ name, path }) => (
<li key={name}>
<Typography
as="a"
href={path}
target="_blank"
variant="small"
className="py-0.5 px-1 font-normal text-inherit transition-colors hover:text-blue-500"
>
{name}
</Typography>
</li>
))}
</ul>
</div>
</footer>
);
}
Footer.defaultProps = {
brandName: "Creative Tim",
brandLink: "https://www.creative-tim.com",
routes: [
{ name: "Creative Tim", path: "https://www.creative-tim.com" },
{ name: "About Us", path: "https://www.creative-tim.com/presentation" },
{ name: "Blog", path: "https://www.creative-tim.com/blog" },
{ name: "License", path: "https://www.creative-tim.com/license" },
],
};
Footer.propTypes = {
brandName: PropTypes.string,
brandLink: PropTypes.string,
routes: PropTypes.arrayOf(PropTypes.object),
};
Footer.displayName = "/src/widgets/layout/footer.jsx";
export default Footer;