Skip to content

Commit 76d8b90

Browse files
authored
Merge pull request #18 from timonback/feat/logo
feat: Add logo
2 parents b788634 + ef1a5cf commit 76d8b90

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

docusaurus.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const config = {
1212
baseUrl: '/',
1313
onBrokenLinks: 'throw',
1414
onBrokenMarkdownLinks: 'warn',
15-
// favicon: 'img/favicon.ico',
15+
favicon: 'img/favicon.ico',
1616
organizationName: 'springwolf',
1717
projectName: 'springwolf.github.io',
1818
deploymentBranch: 'gh-pages',
@@ -38,6 +38,9 @@ const config = {
3838
({
3939
navbar: {
4040
title: 'Springwolf',
41+
logo: {
42+
src: 'img/logo.png'
43+
},
4144
items: [
4245
{
4346
type: 'doc',

src/pages/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ function HomepageHeader() {
1111
return (
1212
<header className={clsx('hero hero--primary', styles.heroBanner)}>
1313
<div className="container">
14+
<img src={"img/logo.png"} alt={"logo"} width={"200"} />
1415
<h1 className="hero__title">{siteConfig.title}</h1>
1516
<p className="hero__subtitle">{siteConfig.tagline}</p>
1617
<div className={styles.buttons}>

static/img/favicon.ico

11.5 KB
Binary file not shown.

static/img/logo.png

596 KB
Loading

static/img/logo.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)