Skip to content

Commit

Permalink
Initial footer component + header improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
pheralb committed Mar 17, 2024
1 parent a815059 commit 8859de9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
20 changes: 20 additions & 0 deletions src/components/footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import Container from "@/ui/container";
import { cn } from "@/utils";
import React from "react";

interface FooterProps {
className?: string;
}

const Footer = (props: FooterProps) => {
return (
<footer className={cn("w-full", props.className)}>
<Container className="flex items-center justify-between">
<p>Crafted with ❤️ by pheralb</p>
<div></div>
</Container>
</footer>
);
};

export default Footer;
3 changes: 1 addition & 2 deletions src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { ModeToggle } from "./change-theme";
import Logo from "./logo";
import Link from "next/link";
import ExternalLink from "@/ui/external-link";
import { GithubIcon } from "lucide-react";
import { cn } from "@/utils";
import { buttonVariants } from "@/ui/button";
import UserButton from "./auth/user-button";
Expand All @@ -28,7 +27,7 @@ const Header = () => {
<span className="self-center whitespace-nowrap text-lg font-medium tracking-tight dark:text-white">
slug
</span>
<Badge>beta</Badge>
<Badge className="cursor-pointer">beta</Badge>
</Link>
<div className="flex items-center space-x-1">
<ExternalLink
Expand Down

0 comments on commit 8859de9

Please sign in to comment.