Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Social links #225

Merged
merged 6 commits into from
Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions components/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ import {
Link,
X,
type Icon as LucideIcon,
Youtube,
Instagram,
Linkedin,
} from "lucide-react";

export type Icon = LucideIcon;
Expand Down Expand Up @@ -93,4 +96,7 @@ export const Icons = {
),
twitter: Twitter,
check: Check,
youtube: Youtube,
instagram: Instagram,
linkedin: Linkedin
};
72 changes: 62 additions & 10 deletions components/layout/site-footer.tsx
Original file line number Diff line number Diff line change
@@ -1,51 +1,103 @@
import React from "react";
import { cn } from "@/lib/utils";
import { Button } from "../ui/button";
import { Button, buttonVariants } from "../ui/button";
import { Icons } from "../icons";
import Link from "next/link";

type Props = {};

export default function SiteFooter({}: Props) {
return (
<footer className="bg-gray-100 dark:bg-[#161D29] py-10">
<div className="container mx-auto px-4">
<div className="flex items-center justify-center dark:text-white text-gray-700">
<footer className="bg-gray-100 dark:bg-[#161D29] pt-10">
<div className="container mx-auto px-4 flex flex-col items-center gap-10">
<div className="flex md:gap-10 gap-5">
<Link href="https://github.com/FrontendFreaks" target="_blank" rel="noreferrer">
khushijohri2001 marked this conversation as resolved.
Show resolved Hide resolved
<Icons.gitHub className="h-9 w-9 hover:text-[#8fa0be] dark:hover:text-[#30405c]" />
<span className="sr-only">GitHub</span>
</Link>
<Link href="https://twitter.com/frontendfreaks" target="_blank" rel="noreferrer">
<Icons.twitter className="h-9 w-9 hover:text-[#8fa0be] dark:hover:text-[#30405c]" />
<span className="sr-only">Twitter</span>
</Link>
<Link href="https://www.youtube.com/c/VishalRajput_1" target="_blank" rel="noreferrer">
<Icons.youtube className="h-9 w-9 hover:text-[#8fa0be] dark:hover:text-[#30405c]" />
<span className="sr-only">YouTube</span>
</Link>
<Link href="https://www.instagram.com/vishalraj.dev/" target="_blank" rel="noreferrer">
<Icons.instagram className="h-9 w-9 hover:text-[#8fa0be] dark:hover:text-[#30405c]" />
<span className="sr-only">Instagram</span>
</Link>
<Link href="https://www.linkedin.com/company/frontendfreaks/" target="_blank" rel="noreferrer">
<Icons.linkedin className="h-9 w-9 hover:text-[#8fa0be] dark:hover:text-[#30405c]" />
<span className="sr-only">LinkedIn</span>
</Link>
</div>

<div>
<Link
href="https://discord.com/invite/vee94km4Wh"
target="_blank"
className={cn(buttonVariants())}
>
Join Discord Community
</Link>
</div>

<div className="flex items-center justify-center md:gap-8 gap-4 dark:text-white text-gray-700">
<a
href="/"
className={cn(
"mr-4 font-normal transition-colors hover:text-foreground/70 sm:text-md text-foreground/100"
"font-normal transition-colors hover:text-foreground/70 sm:text-md text-foreground/100"
)}
>
Home
</a>
<a
href="/batch/learn/html/basic"
className={cn(
"mr-4 font-normal transition-colors hover:text-foreground/70 sm:text-md text-foreground/100"
"font-normal transition-colors hover:text-foreground/70 sm:text-md text-foreground/100"
)}
>
Learn
</a>
<a href="https://discord.com/invite/vee94km4Wh" target="_blank">
<Button className="rounded-full">Join Community</Button>
<a
href="/batch/dsa/loops"
className={cn(
"font-normal transition-colors hover:text-foreground/70 sm:text-md text-foreground/100"
)}
>
DSA in JS
</a>
<a
href="/batch/build/react/fundamentals"
className={cn(
"mr-4 ml-4 font-normal transition-colors hover:text-foreground/70 sm:text-md text-foreground/100"
"font-normal transition-colors hover:text-foreground/70 sm:text-md text-foreground/100"
)}
>
Build
</a>
<a
href="/batch/hire/hire"
className={cn(
"font-normal transition-colors hover:text-foreground/70 sm:text-md text-foreground/100"
" font-normal transition-colors hover:text-foreground/70 sm:text-md text-foreground/100"
)}
>
Hire
</a>
<a
href="/docs"
className={cn(
" font-normal transition-colors hover:text-foreground/70 sm:text-md text-foreground/100"
)}
>
Docs
</a>
</div>
</div>

<div>
<p className="bg-[#161D29] dark:bg-gray-100 py-6 mt-10 text-white dark:text-gray-700 text-center">© FrontendFreaks. All rights reserved</p>
</div>
</footer>
);
}