Skip to content

Commit

Permalink
feat: add better open sauced asset branding (open-sauced#46)
Browse files Browse the repository at this point in the history
* feat: more branding

* fix: remove extra space and a typo

Fixes open-sauced#32
  • Loading branch information
nightknighto committed Oct 5, 2022
1 parent 7ef8f0d commit 2902366
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/introduction.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
slug: /
title: Introduction to Open Sauced
sidebar_label: Introduction to Open Sauced 🍕
---

# Introduction to Open Sauced
# Introduction to Open Sauced ![img](../static/favicon.ico)

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

Expand Down
10 changes: 10 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ module.exports = {
label: 'Docs',
position: 'left',
},
{
alt: 'Open Sauced Logo',
src: 'img/logo.svg',
href: 'https://opensauced.pizza/'
},
{
href: 'https://dev.to/opensauced',
label: 'Blog',
Expand Down Expand Up @@ -62,6 +67,11 @@ module.exports = {
respectPrefersColorScheme: false,
},
footer: {
logo: {
alt: 'Open Sauced Logo',
src: 'img/logo.svg',
href: 'https://opensauced.pizza/'
},
style: 'dark',
links: [
{
Expand Down
31 changes: 31 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,34 @@
html[data-theme='dark'] .docusaurus-highlight-code-line {
background-color: rgba(0, 0, 0, 0.3);
}

.footer__title {
position: relative;
}

.footer__col > .footer__title::after {
content: '';
display: inline-block;
width: 28px;
height: 23px;
background-position: center;
background-size: contain;
position: absolute;
background-repeat: no-repeat;
}

.footer__col:nth-child(1) > .footer__title::after {
background-image: url('../../static/favicon-32x32.png');
left: 40px;
}

.footer__col:nth-child(2) > .footer__title::after {
background-image: url('../../static/img/openSauced-icon.png');
}

.footer__col:nth-child(3) > .footer__title::after {
background-image: url('../../static/img/mustard.png');
top: -2px;
left: 45px;
}

Binary file added static/img/mustard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/openSauced-icon.png
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 2902366

Please sign in to comment.