Skip to content

Commit

Permalink
feat: new footer links and logo + favicon image (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
olehbairak committed Apr 17, 2024
1 parent 25d20d7 commit 549be8c
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 7 deletions.
58 changes: 52 additions & 6 deletions packages/testing-docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type * as Preset from '@docusaurus/preset-classic';
const config: Config = {
title: 'Block Explorer',
tagline: '',
favicon: 'img/favicon.ico',
favicon: 'img/logo_black_zk.png',

// Set the production url of your site here
url: 'https://be-test-docs.zksync.io/',
Expand Down Expand Up @@ -67,28 +67,74 @@ const config: Config = {
],
},
footer: {
logo: {
alt: 'zkSync Logo',
src: 'img/logo_footer.svg',
href: 'https://matter-labs.io/',
width: 120,
height: 30,
},
style: 'dark',
links: [
{
title: 'Block Explorer',
title: 'zkSync Links',
items: [
{
label: 'Main link',
href: 'https://explorer.zksync.io/',
label: 'ZK Credo',
href: 'https://github.com/zksync/credo',
},
{
label: 'Ecosystem',
href: 'https://zksync.dappradar.com/',
},
{
label: 'Terms of Service',
href: 'https://zksync.io/terms',
},
],
},
{
title: 'More',
title: 'ZK Project Links',
items: [
{
label: 'Block Explorer',
href: 'https://sepolia.explorer.zksync.io/',
},
{
label: 'Bridges & Wallets',
href: 'https://zksync.io/explore#bridges',
},
{
label: 'Github Discussions',
href: 'https://github.com/zkSync-Community-Hub/zksync-developers/discussions',
},
],
},
{
title: 'Current project link',
items: [
{
label: 'GitHub',
href: 'https://github.com/matter-labs/block-explorer',
},
],
},
{
title: 'Contact Links',
items: [
{
label: 'Twitter',
href: 'https://twitter.com/zksync',
},
{
label: 'Discord',
href: 'https://join.zksync.dev/',
},

],
},
],
// copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
//copyright: `Made with ❤️ by Matter Labs`,
},
prism: {
theme: prismThemes.github,
Expand Down
2 changes: 1 addition & 1 deletion packages/testing-docs/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function Home(): JSX.Element {
const {siteConfig} = useDocusaurusContext();
return (
<Layout
title={`Hello from ${siteConfig.title}`}
title={`zkSync Test Docs for ${siteConfig.title}`}
description="">
<HomepageHeader />
<main>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions packages/testing-docs/static/img/logo_footer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 549be8c

Please sign in to comment.