Skip to content

Commit

Permalink
docs: add drand banner image
Browse files Browse the repository at this point in the history
  • Loading branch information
kentbull committed Sep 17, 2024
1 parent c162ece commit f834713
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/theme/Layout/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React from 'react';
import OriginalLayout from '@theme-original/Layout';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
// import styles from './styles.module.css'; // Optionally, add custom CSS

export default function Layout(props) {
const {siteConfig} = useDocusaurusContext();
return (
<OriginalLayout {...props}>
{/* Add your banner image below the navbar */}
<div>
<img
src="/img/banner.avif" // Path to your banner image
alt="Banner"
/>
</div>
{props.children}
</OriginalLayout>
);
}
Binary file added static/img/banner.avif
Binary file not shown.

0 comments on commit f834713

Please sign in to comment.