Skip to content

Commit

Permalink
update logo
Browse files Browse the repository at this point in the history
  • Loading branch information
liujun93 committed Dec 1, 2023
1 parent 7f1c149 commit 599ea9b
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pages/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"chain-registry": "Chain Registry",
"cosmos-kit": "Cosmos Kit",
"create-cosmos-app": "Create Cosmos App",
"cwsc": "CWScript Compiler",
"cwsc": "CWScript",
"interchain-ui": "Interchain UI",
"osmojs": "OsmoJS",
"sign": "Sign",
Expand Down
27 changes: 27 additions & 0 deletions public/images/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/icon.ico
Binary file not shown.
22 changes: 15 additions & 7 deletions theme.config.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ import React from "react";

export default {
logo: (
<img
src="https://cosmology.zone/logos/cosmology/cosmology-with-name.svg"
width="150px"
/>
<>
<img src="/images/favicon.svg" width="36px"></img>
<span style={{ fontWeight: 600, fontSize: 20 }}>
&nbsp;&nbsp;cosmology
</span>
</>
),
logoLink: "https://docs.cosmology.zone",
project: {
Expand Down Expand Up @@ -48,16 +50,22 @@ export default {
<meta property="og:url" content={url} />
<meta property="og:title" content={_title} />
<meta property="og:description" content={"Web3 Products Provider"} />
<link rel="icon" type="image/x-icon" href="/images/icon.ico" />
<link rel="icon" type="image/x-icon" href="/images/favicon.svg" />
<title>{_title}</title>
</>
);
},
sidebar: {
defaultMenuCollapseLevel: 1,
},
primaryHue: 260,
primarySaturation: 75,
primaryHue: {
light: 260,
dark: 265,
},
primarySaturation: {
light: 75,
dark: 100,
},
useNextSeoProps() {
const { asPath } = useRouter();
if (asPath !== "/") {
Expand Down

0 comments on commit 599ea9b

Please sign in to comment.