Skip to content

Commit

Permalink
wiki: Move X to header
Browse files Browse the repository at this point in the history
Change-Id: I866b24e7acce9cf3f0d2821976c89f324b3224d3
  • Loading branch information
neroices committed Dec 28, 2024
1 parent afd49eb commit c41fa11
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/components/site-footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import Link from "next/link";
import { FaXTwitter } from "react-icons/fa6";

export function SiteFooter() {
return (
<footer className="border-t bg-background">
Expand All @@ -19,13 +16,6 @@ export function SiteFooter() {
.
</p>
</div>

<div className="flex items-center space-x-4">
<Link href="https://x.com/WitAquaROM" target="_blank" rel="noopener noreferrer">
<FaXTwitter className="h-5 w-5" />
<span className="sr-only">X</span>
</Link>
</div>
</div>
</footer>
);
Expand Down
10 changes: 10 additions & 0 deletions src/components/site-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { LuGithub } from "react-icons/lu";
import Image from "next/image";
import { Button } from "@/components/ui/button";
import { ThemeToggle } from "@/components/theme-toggle";
import { FaXTwitter } from "react-icons/fa6";

export function SiteHeader() {
return (
Expand Down Expand Up @@ -50,6 +51,15 @@ export function SiteHeader() {
<LuGithub className="h-5 w-5" />
</Button>
</Link>
<Link href="https://x.com/WitAquaROM">
<Button
variant="ghost"
size="icon"
className="hidden sm:inline-flex"
>
<FaXTwitter className="h-5 w-5" />
</Button>
</Link>
<ThemeToggle />
</div>
</div>
Expand Down

0 comments on commit c41fa11

Please sign in to comment.