Update logo (#1932)
@ -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",
|
||||||
|
@ -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>
|
||||||
|
@ -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{
|
||||||
|
Before Width: | Height: | Size: 766 B After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 2.0 KiB |
BIN
static/img/hero-image.png
Normal file
After Width: | Height: | Size: 270 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 1.3 KiB |