(null);
+ const { compactFormat: githubStars, loading: loadingGithubStars } = useGithubStars();
return (
{
@@ -86,7 +88,13 @@ const DesktopNav = ({ navItems, isScrolled }: any) => {
className="hidden rounded-full px-3 py-2 hover:bg-gray-100 dark:hover:bg-neutral-800 transition-colors md:flex items-center gap-1.5"
>
- 9.5k
+ {loadingGithubStars ? (
+
+ ) : (
+
+ {githubStars}
+
+ )}
{
const MobileNav = ({ navItems, isScrolled }: any) => {
const [open, setOpen] = useState(false);
+ const { compactFormat: githubStars, loading: loadingGithubStars } = useGithubStars();
return (
<>
@@ -160,12 +169,19 @@ const MobileNav = ({ navItems, isScrolled }: any) => {
className="flex items-center gap-1.5 rounded-lg px-3 py-2 hover:bg-gray-100 dark:hover:bg-neutral-800 transition-colors"
>
-
- 9.5k
-
+ {loadingGithubStars ? (
+
+ ) : (
+
+ {githubStars}
+
+ )}
-
diff --git a/surfsense_web/components/pricing.tsx b/surfsense_web/components/pricing.tsx
index 55a8855cb..61c1f4f1f 100644
--- a/surfsense_web/components/pricing.tsx
+++ b/surfsense_web/components/pricing.tsx
@@ -76,7 +76,10 @@ export function Pricing({
-