Skip to content

Commit

Permalink
feat: Update navigation links on the website (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
alainncls authored Jan 15, 2024
1 parent add2afa commit 4ab5720
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 49 deletions.
2 changes: 0 additions & 2 deletions website/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import "./App.css";
import { HashRouter, Route, Routes } from "react-router-dom";
import Home from "./pages/Home.tsx";
import Poh from "./pages/Poh.tsx";
import SDKDemo from "./pages/SDKDemo.tsx";
import Navbar from "./components/Navbar.tsx";
import Footer from "./components/Footer.tsx";
Expand All @@ -15,7 +14,6 @@ function App() {
<Routes>
<Route path="*" element={<Home title={"Verax Attestation Registry"} />} />
<Route path="/sdk-demo" element={<SDKDemo title={"Verax | SDK Demo"} />} />
<Route path="/linea-poh" element={<Poh />} />
</Routes>
<footer>
<Footer />
Expand Down
30 changes: 14 additions & 16 deletions website/src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,40 +1,38 @@
import "./Footer.css";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faDiscord, faGithub, faTelegram } from "@fortawesome/free-brands-svg-icons";
import { Link } from "react-router-dom";
import { faBook } from "@fortawesome/free-solid-svg-icons";
import { faDiscord, faGithub, faTelegram, faXTwitter } from "@fortawesome/free-brands-svg-icons";
import { FollowOnLens } from "@lens-protocol/widgets-react";
import React from "react";

const Footer: React.FC = () => {
return (
<ul className="social-icon">
<li className="social-icon__item">
<Link className="social-icon__link" to={"https://discord.gg/Sq4EmYdBEk"} target={"_blank"}>
<a className="social-icon__link" href={"https://twitter.com/VeraxRegistry"} target={"_blank"}>
<FontAwesomeIcon icon={faXTwitter} />
</a>
</li>

<li className="social-icon__item">
<a className="social-icon__link" href={"https://discord.gg/Sq4EmYdBEk"} target={"_blank"}>
<FontAwesomeIcon icon={faDiscord} />
</Link>
</a>
</li>

<li className="social-icon__item">
<Link className="social-icon__link" to={"https://t.me/+C94-EJOoVjVhM2U0"} target={"_blank"}>
<a className="social-icon__link" href={"https://t.me/+C94-EJOoVjVhM2U0"} target={"_blank"}>
<FontAwesomeIcon icon={faTelegram} />
</Link>
</a>
</li>

<li className="social-icon__item">
<Link
<a
className="social-icon__link"
to={"https://github.com/Consensys/linea-attestation-registry"}
href={"https://github.com/Consensys/linea-attestation-registry"}
target={"_blank"}
>
<FontAwesomeIcon icon={faGithub} />
</Link>
</li>

<li className="social-icon__item">
<Link className="social-icon__link" to={"https://docs.ver.ax"} target={"_blank"}>
<FontAwesomeIcon icon={faBook} />
</Link>
</a>
</li>

<li className="social-icon__item social-icon__link lens">
Expand Down
19 changes: 13 additions & 6 deletions website/src/components/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { NavLink } from "react-router-dom";
import "./Navbar.css";
import React from "react";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faArrowUpRightFromSquare } from "@fortawesome/free-solid-svg-icons";

const Navbar: React.FC = () => {
return (
Expand All @@ -13,14 +15,19 @@ const Navbar: React.FC = () => {
</NavLink>
</li>
<li className="nav-item">
<NavLink className="navbar-brand" to="/linea-poh" end>
Linea POH
</NavLink>
<a className={"navbar-brand"} href={"https://explorer.ver.ax"} target={"_blank"}>
Explorer <FontAwesomeIcon icon={faArrowUpRightFromSquare} size={"xs"} />
</a>
</li>
<li className="nav-item">
<NavLink className="navbar-brand" to="/sdk-demo" end>
SDK Demo
</NavLink>
<a className={"navbar-brand"} href={"https://docs.ver.ax"} target={"_blank"}>
Documentation <FontAwesomeIcon icon={faArrowUpRightFromSquare} size={"xs"} />
</a>
</li>
<li className="nav-item">
<a className={"navbar-brand"} href={"https://poh.linea.build"} target={"_blank"}>
Linea POH <FontAwesomeIcon icon={faArrowUpRightFromSquare} size={"xs"} />
</a>
</li>
</ul>
</div>
Expand Down
12 changes: 0 additions & 12 deletions website/src/pages/Poh.css

This file was deleted.

13 changes: 0 additions & 13 deletions website/src/pages/Poh.tsx

This file was deleted.

0 comments on commit 4ab5720

Please sign in to comment.