Skip to content

Commit

Permalink
add logo link and update styles for new logo on top of sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
michellewong793 committed Aug 15, 2024
1 parent 00b6246 commit 40bb0f6
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 15 deletions.
27 changes: 27 additions & 0 deletions website/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
19 changes: 5 additions & 14 deletions website/src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,11 @@ function Main() {
<WasmLoadingMessage />
<Layout style={{ minHeight: "100vh" }}>
<Sider breakpoint="lg" collapsedWidth="0" theme="light">
<img
src={
darkMode
? "../public/aleosdklight.svg"
: "../public/aleosdkdark.svg"
}
alt="Aleo SDK Logo"
style={{
height: "32px",
margin: "16px",
fontWeight: "bold",
whiteSpace: "nowrap",
}}
/>
<h1 className={darkMode ? "headerDark": "headerLight"}>
<Link to="/">
Aleo SDK
</Link>
</h1>
<Menu
theme="light"
mode="inline"
Expand Down
4 changes: 3 additions & 1 deletion website/src/pages/Homepage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ import "./Homepage.css";
const Homepage = () => {
return (
<div className="homepage">
<Link to="https://provable.com/">
<img
src="../public/primary-wordmark-dark.png"
className="logo"
></img>
</Link>
<div className="headerContainer">
<h1 className="header">Aleo SDK</h1>
<p className="subheader">
The tooling for building zero knowledge applications at your
The tooling for building zero-knowledge applications at your
fingertips
</p>{" "}
<Link
Expand Down

0 comments on commit 40bb0f6

Please sign in to comment.