diff --git a/website/public/assets/fonts/AleofontSans-Regular.otf b/website/public/assets/fonts/AleofontSans-Regular.otf new file mode 100644 index 000000000..af1038530 Binary files /dev/null and b/website/public/assets/fonts/AleofontSans-Regular.otf differ diff --git a/website/public/primary-wordmark-dark.png b/website/public/primary-wordmark-dark.png new file mode 100644 index 000000000..1ff59544f Binary files /dev/null and b/website/public/primary-wordmark-dark.png differ diff --git a/website/src/App.css b/website/src/App.css index eb1e03298..49395de46 100644 --- a/website/src/App.css +++ b/website/src/App.css @@ -5,4 +5,31 @@ */ input[type="text"]:disabled { cursor: text; +} + +@font-face { + font-family: "AleoSans"; + src: url("/assets/fonts/AleofontSans-Regular.otf") format("opentype"); + font-weight: normal; + font-style: normal; +} + +.headerDark { + font-family: "AleoSans"; + color: white; + font-size:32px; + margin-left:2rem; + a { + color: white; + } +} + +.headerLight { + font-family: "AleoSans"; + color: black; + font-size:32px; + margin-left:2rem; + a{ + color: black; + } } \ No newline at end of file diff --git a/website/src/main.jsx b/website/src/main.jsx index fb35d46d3..ee85219a6 100644 --- a/website/src/main.jsx +++ b/website/src/main.jsx @@ -58,9 +58,9 @@ function Main() { useEffect(() => { setMenuIndex(location.pathname); - if (location.pathname === "/") { - navigate("/account"); - } + // if (location.pathname === "/") { + // navigate("/account"); + // } }, [location, navigate]); const [darkMode, setDarkMode] = useState(true); @@ -80,20 +80,11 @@ function Main() { - Aleo SDK Logo +

+ + Aleo SDK + +

{ + return ( +
+ + + +
+

Aleo SDK

+

+ The tooling for building zero-knowledge applications at your + fingertips +

{" "} + + + {" "} +
    + + {" "} +
  • + Create and manage accounts{" "} +
  • + + + + {" "} +
  • + Execute and deploy programs{" "} +
  • + + + +
  • + Manage program state and data +
  • + +
+

+ Build your first zero-knowledge app with create-leo-app +

{" "} + + + {" "} +
+ + + + © 2024 Provable Inc. +
+
+
+ ); +}; + +export default Homepage; diff --git a/website/src/routing.jsx b/website/src/routing.jsx index f208d255a..8385c2e32 100644 --- a/website/src/routing.jsx +++ b/website/src/routing.jsx @@ -1,4 +1,4 @@ -import { createBrowserRouter, Navigate } from "react-router-dom"; +import { createBrowserRouter } from "react-router-dom"; import Main from "./main.jsx"; import { NewAccount } from "./tabs/account/NewAccount.jsx"; import { AccountFromPrivateKey } from "./tabs/account/AccountFromPrivateKey.jsx"; @@ -22,15 +22,16 @@ import { Join } from "./tabs/develop/Join.jsx"; import { Execute } from "./tabs/develop/execute/"; import { GetMappingNames } from "./tabs/rest/GetMappingNames.jsx"; import { GetMappingValue } from "./tabs/rest/GetMappingValue.jsx"; +import Homepage from "./pages/Homepage"; export const router = createBrowserRouter([ + { + path: "/", + element: , + }, { element:
, children: [ - { - path: "/", - element: , - }, { path: "/account", element: (