Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: new footer links and logo + favicon image #245

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading