Skip to content

Commit

Permalink
Update logo (home-assistant#1932)
Browse files Browse the repository at this point in the history
  • Loading branch information
bramkragten authored Sep 20, 2023
1 parent 7eb1c26 commit 1ff196e
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 23 deletions.
6 changes: 3 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ module.exports = {
title: "Developers",
logo: {
alt: "Home Assistant",
src: "img/logo-pretty.svg",
srcDark: "img/logo-pretty.svg",
src: "img/logo.svg",
srcDark: "img/logo.svg",
},
items: [
{
Expand Down Expand Up @@ -43,7 +43,7 @@ module.exports = {
logo: {
alt: "Home Assistant",
src: "img/logo-white.svg",
height: "70px",
height: "30px",
href: "https://www.home-assistant.io",
},
style: "dark",
Expand Down
9 changes: 1 addition & 8 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,7 @@ function Home() {
<header className={clsx("hero hero--primary", styles.heroBanner)}>
<div className="container">
<div className="row">
<div className={clsx("col col--5")}>
<img
className={styles.heroLogo}
alt="Home Assistant Logo"
src="/img/logo-white.svg"
/>
</div>
<div className={clsx("col col--5")}>
<div className={clsx("col col--10")}>
<h1 className={styles.heroTitle}>{siteConfig.title}</h1>
<p className={styles.heroTagline}>{siteConfig.tagline}</p>
<p>
Expand Down
13 changes: 5 additions & 8 deletions src/pages/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,20 @@

.heroBanner {
padding: 4rem 0;
text-align: center;
position: relative;
overflow: hidden;
background: url(/img/hero-image.png);
background-size: cover;
color: #ffffff;
text-shadow: 0px 0px 4px #4caee3;
}

.heroTitle {
font-size: 3rem;
color: #ffffff;
font-size: 2rem;
}

.heroTagline {
font-size: 1.4rem;
color: #ffffff;
}

.heroLogo {
max-height: 16em;
}

a.heroText{
Expand Down
Binary file modified static/img/favicon.ico
Binary file not shown.
Binary file modified static/img/favicon.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/hero-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion static/img/logo-pretty.svg

This file was deleted.

1 change: 0 additions & 1 deletion static/img/logo-responsive.svg

This file was deleted.

Loading

0 comments on commit 1ff196e

Please sign in to comment.