{/* Previous */}
diff --git a/src/components/footer.tsx b/src/components/footer.tsx
index 0899ddc..8c69b16 100644
--- a/src/components/footer.tsx
+++ b/src/components/footer.tsx
@@ -6,6 +6,7 @@ import Link from "next/link";
import Image from "next/image";
import { cn } from "@/lib/utils";
import { ExternalLink, Mail } from "lucide-react";
+import SocialLink from "@/components/social-link";
const links = {
Resources: [
@@ -55,18 +56,24 @@ const Footer = (): ReactElement => (
{/* Socials */}
}
+ tooltip="Email us"
+ logo={}
href="mailto:support@pulseapp.cc"
/>
@@ -119,35 +126,6 @@ const Branding = () => (
);
-const SocialLink = ({
- name,
- logo,
- href,
-}: {
- name: string;
- logo: string | ReactElement;
- href: string;
-}) => (
-
- {typeof logo === "string" ? (
-
- ) : (
- logo
- )}
-
-);
-
const LinkCategory = ({
title,
children,
diff --git a/src/components/navbar/navbar.tsx b/src/components/navbar/navbar.tsx
index f8bb9e8..4323844 100644
--- a/src/components/navbar/navbar.tsx
+++ b/src/components/navbar/navbar.tsx
@@ -5,9 +5,10 @@ import Link from "next/link";
import Image from "next/image";
import QuickSearchDialog from "@/components/navbar/search-dialog";
import Sidebar from "@/components/sidebar/sidebar";
+import SocialLink from "@/components/social-link";
const Navbar = ({ pages }: { pages: DocsContentMetadata[] }): ReactElement => (
-
diff --git a/src/components/simple-tooltip.tsx b/src/components/simple-tooltip.tsx
index 1f33a10..91b3f1d 100644
--- a/src/components/simple-tooltip.tsx
+++ b/src/components/simple-tooltip.tsx
@@ -39,7 +39,10 @@ const SimpleTooltip = ({
}: SimpleTooltipProps): ReactElement => (
+
{Object.entries(themes).map(([theme, icon]) => {
const active: boolean = mounted && theme === activeTheme;
return (
@@ -41,7 +41,7 @@ const ThemeSwitcher = (): ReactElement => {
className={cn(
"p-1 h-6 opacity-80 rounded-full",
active &&
- "ring-1 bg-zinc-900 ring-white/15 opacity-100"
+ "ring-1 bg-white dark:bg-zinc-900 ring-gray-900/10 dark:ring-white/15 hover:bg-white hover:dark:bg-zinc-900 opacity-100"
)}
variant="ghost"
onClick={() => setTheme(theme)}