You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@resilientdb.apache.org by bi...@apache.org on 2026/07/26 02:07:12 UTC
(incubator-resilientdb-site) branch master updated: Cleaned tools links from website
This is an automated email from the ASF dual-hosted git repository.
Bismanpal-Singh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb-site.git
The following commit(s) were added to refs/heads/master by this push:
new 103a708 Cleaned tools links from website
103a708 is described below
commit 103a7080e7d5532667e6a16a3d52aed7f4afd6ab
Author: Bismanpal Singh <bi...@gmail.com>
AuthorDate: Sat Jul 25 21:07:05 2026 -0500
Cleaned tools links from website
---
src/components/Footer/index.tsx | 55 +-------------------------------------
src/components/Header/menuData.tsx | 20 --------------
2 files changed, 1 insertion(+), 74 deletions(-)
diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx
index 8898c21..36b83d6 100644
--- a/src/components/Footer/index.tsx
+++ b/src/components/Footer/index.tsx
@@ -1,36 +1,8 @@
import React from 'react';
import Image from "next/image";
import Link from "next/link";
-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import { faStar as faStarSolid, faCodeBranch as faCodeBranchSolid } from "@fortawesome/free-solid-svg-icons";
-import SocialIcons from "./SocialIcons";
-
-async function getGitHubStats() {
- try {
- const response = await fetch('https://api.github.com/repos/apache/incubator-resilientdb', {
- headers: {
- 'Accept': 'application/vnd.github.v3+json',
- 'User-Agent': 'ResilientDB-Website'
- },
- });
-
- if (response.ok) {
- const data = await response.json();
- return {
- stars: data.stargazers_count || 0,
- forks: data.forks || 0,
- };
- }
- } catch (error) {
- console.error('Failed to fetch GitHub stats:', error);
- }
-
- return { stars: 0, forks: 0 };
-}
-
-const Footer = async () => {
- const repoData = await getGitHubStats();
+const Footer = () => {
return (
<>
<footer className="relative z-10 bg-white pt-16 dark:bg-gray-dark md:pt-20 lg:pt-24">
@@ -47,23 +19,6 @@ const Footer = async () => {
height={30}
/>
</Link>
- <div className="flex items-center">
- <SocialIcons />
- <div className="flex mr-3">
- <a className="mr-2" href="https://github.com/apache/incubator-resilientdb">
- <div className="flex items-center px-3 py-1 rounded-full bg-gray-400 text-gray-700 hover:bg-teal-500 hover:text-white transition-colors">
- <FontAwesomeIcon icon={faStarSolid} className="text-xs" />
- <span className="ml-2 text-sm">{repoData.stars}</span>
- </div>
- </a>
- <a href="https://github.com/apache/incubator-resilientdb/fork">
- <div className="flex items-center px-3 py-1 rounded-full bg-gray-400 text-gray-700 hover:bg-teal-500 hover:text-white transition-colors">
- <FontAwesomeIcon icon={faCodeBranchSolid} className="text-xs" />
- <span className="ml-2 text-sm">{repoData.forks}</span>
- </div>
- </a>
- </div>
- </div>
</div>
</div>
@@ -97,14 +52,6 @@ const Footer = async () => {
Email us
</Link>
</li>
- <li>
- <Link
- href="https://github.com/apache/incubator-resilientdb/issues"
- className="mb-4 inline-block text-base text-body-color duration-300 hover:text-primary dark:text-body-color-dark dark:hover:text-primary"
- >
- Issue Tracker
- </Link>
- </li>
</ul>
</div>
</div>
diff --git a/src/components/Header/menuData.tsx b/src/components/Header/menuData.tsx
index 6d3bf97..f0f129a 100644
--- a/src/components/Header/menuData.tsx
+++ b/src/components/Header/menuData.tsx
@@ -19,26 +19,6 @@ const menuData: Menu[] = [
path: "/community",
newTab: false,
},
- {
- id: 4,
- title: "Tools",
- path: "",
- newTab: true,
- submenu: [
- {
- id: 41,
- title: "Wallet",
- path: "https://github.com/apache/incubator-resilientdb/tree/master/ecosystem/tools/resvault",
- newTab: true,
- },
- {
- id: 42,
- title: "Smart Contract CLI",
- path: "https://github.com/apache/incubator-resilientdb/tree/master/ecosystem/smart-contract/rescontract",
- newTab: true,
- },
- ],
- },
{
id: 7,
title: "ASF",