Files
shadcn-ui/apps/www/components/site-footer.tsx
2023-01-24 19:51:29 +04:00

36 lines
1.2 KiB
TypeScript

import { siteConfig } from "@/config/site"
import { Icons } from "@/components/icons"
export function SiteFooter() {
return (
<footer className="container">
<div className="flex flex-col items-center justify-between gap-4 border-t border-t-slate-200 py-10 dark:border-t-slate-700 md:h-24 md:flex-row md:py-0">
<div className="flex flex-col items-center gap-4 px-8 md:flex-row md:gap-2 md:px-0">
<Icons.logo className="h-6 w-6" />
<p className="text-center text-sm leading-loose text-slate-600 dark:text-slate-400 md:text-left">
Built by{" "}
<a
href={siteConfig.links.twitter}
target="_blank"
rel="noreferrer"
className="font-medium underline underline-offset-4"
>
shadcn
</a>
. The source code is available on{" "}
<a
href={siteConfig.links.github}
target="_blank"
rel="noreferrer"
className="font-medium underline underline-offset-4"
>
GitHub
</a>
.
</p>
</div>
</div>
</footer>
)
}