Skip to content

Commit

Permalink
Add dark logo for website.
Browse files Browse the repository at this point in the history
  • Loading branch information
sevensolutions committed Aug 23, 2024
1 parent b2ad89a commit 447cdac
Show file tree
Hide file tree
Showing 5 changed files with 146 additions and 1 deletion.
70 changes: 70 additions & 0 deletions artwork/logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const config: Config = {
logo: {
alt: 'Nomad IIS Logo',
src: 'img/logo.svg',
srcDark: 'img/logo-dark.svg'
},
items: [
{
Expand Down
4 changes: 4 additions & 0 deletions website/src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

.logo {
width: 50em;
content:url("~/img/logo.svg")
}
[data-theme='dark'] .logo {
content:url("~/img/logo-dark.svg")
}
2 changes: 1 addition & 1 deletion website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function Home(): JSX.Element {
description="A TaskDriver plugin for HashiCorp Nomad to run IIS workloads.">

<div className={styles.container}>
<img className={styles.logo} src="img/logo.svg" />
<img className={styles.logo} />
<h2>{siteConfig.tagline}</h2>
</div>
</Layout>
Expand Down
70 changes: 70 additions & 0 deletions website/static/img/logo-dark.svg
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 447cdac

Please sign in to comment.