Skip to content

Commit

Permalink
add favicon + remove Nextra from title
Browse files Browse the repository at this point in the history
  • Loading branch information
cuervoshi committed Feb 20, 2024
1 parent e5bcaf3 commit 7f1b882
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
Binary file added public/favicon.ico
Binary file not shown.
21 changes: 19 additions & 2 deletions theme.config.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
import React from "react";
import { DocsThemeConfig, useConfig } from "nextra-theme-docs";
import { DocsThemeConfig } from "nextra-theme-docs";
import Logo from "./components/Logo";
import LaCryptaLogo from "./components/LaCryptaLogo";

const config: DocsThemeConfig = {
head: (
<head>
<meta property="og:title" content="LaWallet Documentation" />
<meta
property="og:description"
content="The official documentation for LaWallet."
/>
<meta property="og:image" content="/favicon.ico" />
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="shortcut icon" href="/favicon.ico" />
</head>
),
useNextSeoProps() {
return {
titleTemplate: "%s – LaWallet Docs",
};
},
logo: <Logo />,
chat: {
link: "https://discord.lacrypta.ar",
Expand All @@ -14,7 +31,7 @@ const config: DocsThemeConfig = {
<div style={{ textAlign: "center", margin: "auto" }}>
<div>powered by </div>
<div style={{ marginTop: "8px" }}>
<a target='_blank' href='https://lacrypta.ar'>
<a target="_blank" href="https://lacrypta.ar">
<LaCryptaLogo />
</a>
</div>
Expand Down

0 comments on commit 7f1b882

Please sign in to comment.