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", title: "Developers",
logo: { logo: {
alt: "Home Assistant", alt: "Home Assistant",
src: "img/logo-pretty.svg", src: "img/logo.svg",
srcDark: "img/logo-pretty.svg", srcDark: "img/logo.svg",
}, },
items: [ items: [
{ {
@ -43,7 +43,7 @@ module.exports = {
logo: { logo: {
alt: "Home Assistant", alt: "Home Assistant",
src: "img/logo-white.svg", src: "img/logo-white.svg",
height: "70px", height: "30px",
href: "https://www.home-assistant.io", href: "https://www.home-assistant.io",
}, },
style: "dark", style: "dark",

View File

@ -135,14 +135,7 @@ function Home() {
<header className={clsx("hero hero--primary", styles.heroBanner)}> <header className={clsx("hero hero--primary", styles.heroBanner)}>
<div className="container"> <div className="container">
<div className="row"> <div className="row">
<div className={clsx("col col--5")}> <div className={clsx("col col--10")}>
<img
className={styles.heroLogo}
alt="Home Assistant Logo"
src="/img/logo-white.svg"
/>
</div>
<div className={clsx("col col--5")}>
<h1 className={styles.heroTitle}>{siteConfig.title}</h1> <h1 className={styles.heroTitle}>{siteConfig.title}</h1>
<p className={styles.heroTagline}>{siteConfig.tagline}</p> <p className={styles.heroTagline}>{siteConfig.tagline}</p>
<p> <p>

View File

@ -5,23 +5,20 @@
.heroBanner { .heroBanner {
padding: 4rem 0; padding: 4rem 0;
text-align: center;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
background: url(/img/hero-image.png);
background-size: cover;
color: #ffffff;
text-shadow: 0px 0px 4px #4caee3;
} }
.heroTitle { .heroTitle {
font-size: 3rem; font-size: 2rem;
color: #ffffff;
} }
.heroTagline { .heroTagline {
font-size: 1.4rem; font-size: 1.4rem;
color: #ffffff;
}
.heroLogo {
max-height: 16em;
} }
a.heroText{ 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