Update logo (#1932)

This commit is contained in:
Bram Kragten 2023-09-20 16:39:23 +02:00 committed by GitHub
parent 7eb1c26e9c
commit 1ff196e2af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 29 additions and 23 deletions

View File

@ -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: [
{
@ -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",

View File

@ -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>

View File

@ -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{

Binary file not shown.

Before

Width:  |  Height:  |  Size: 766 B

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
static/img/hero-image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 13 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 16 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB