Skip to content

Commit 2902366

Browse files
authored
feat: add better open sauced asset branding (open-sauced#46)
* feat: more branding * fix: remove extra space and a typo Fixes open-sauced#32
1 parent 7ef8f0d commit 2902366

File tree

5 files changed

+44
-1
lines changed

5 files changed

+44
-1
lines changed

docs/introduction.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
22
slug: /
3+
title: Introduction to Open Sauced
4+
sidebar_label: Introduction to Open Sauced 🍕
35
---
46

5-
# Introduction to Open Sauced
7+
# Introduction to Open Sauced ![img](../static/favicon.ico)
68

79
![Example banner](../static/img/what-is-opensauced.png)
810

docusaurus.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ module.exports = {
3434
label: 'Docs',
3535
position: 'left',
3636
},
37+
{
38+
alt: 'Open Sauced Logo',
39+
src: 'img/logo.svg',
40+
href: 'https://opensauced.pizza/'
41+
},
3742
{
3843
href: 'https://dev.to/opensauced',
3944
label: 'Blog',
@@ -62,6 +67,11 @@ module.exports = {
6267
respectPrefersColorScheme: false,
6368
},
6469
footer: {
70+
logo: {
71+
alt: 'Open Sauced Logo',
72+
src: 'img/logo.svg',
73+
href: 'https://opensauced.pizza/'
74+
},
6575
style: 'dark',
6676
links: [
6777
{

src/css/custom.css

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,34 @@
2727
html[data-theme='dark'] .docusaurus-highlight-code-line {
2828
background-color: rgba(0, 0, 0, 0.3);
2929
}
30+
31+
.footer__title {
32+
position: relative;
33+
}
34+
35+
.footer__col > .footer__title::after {
36+
content: '';
37+
display: inline-block;
38+
width: 28px;
39+
height: 23px;
40+
background-position: center;
41+
background-size: contain;
42+
position: absolute;
43+
background-repeat: no-repeat;
44+
}
45+
46+
.footer__col:nth-child(1) > .footer__title::after {
47+
background-image: url('../../static/favicon-32x32.png');
48+
left: 40px;
49+
}
50+
51+
.footer__col:nth-child(2) > .footer__title::after {
52+
background-image: url('../../static/img/openSauced-icon.png');
53+
}
54+
55+
.footer__col:nth-child(3) > .footer__title::after {
56+
background-image: url('../../static/img/mustard.png');
57+
top: -2px;
58+
left: 45px;
59+
}
60+

static/img/mustard.png

9.77 KB
Loading

static/img/openSauced-icon.png

2.19 KB
Loading

0 commit comments

Comments
 (0)