mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-08 09:56:30 +00:00
Add Home Assistant logo to home page banner (#658)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
21ee6f9492
commit
27f16608ae
@ -1,6 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
title: "Home Assistant Developer Documentation",
|
title: "Home Assistant Developer Docs",
|
||||||
tagline: "All you need to start developing for Home Assistant",
|
tagline: "All you need to start developing",
|
||||||
url: "https://developers.home-assistant.io",
|
url: "https://developers.home-assistant.io",
|
||||||
baseUrl: "/",
|
baseUrl: "/",
|
||||||
favicon: "img/favicon.png",
|
favicon: "img/favicon.png",
|
||||||
|
@ -23,10 +23,6 @@
|
|||||||
padding: 0 var(--ifm-pre-padding);
|
padding: 0 var(--ifm-pre-padding);
|
||||||
}
|
}
|
||||||
|
|
||||||
a.hero__text{
|
|
||||||
color: var(--ifm-heading-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.videoSection {
|
.videoSection {
|
||||||
padding: 20px 0;
|
padding: 20px 0;
|
||||||
}
|
}
|
||||||
|
@ -120,14 +120,21 @@ function Home() {
|
|||||||
>
|
>
|
||||||
<header className={classnames("hero hero--primary", styles.heroBanner)}>
|
<header className={classnames("hero hero--primary", styles.heroBanner)}>
|
||||||
<div className="container">
|
<div className="container">
|
||||||
|
<div className="row">
|
||||||
|
<div className={classnames('col col--5')}>
|
||||||
|
<img className={styles.heroLogo} alt="Home Assistant Logo" src="/img/logo-white.svg" />
|
||||||
|
</div>
|
||||||
|
<div className={classnames('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>
|
||||||
<a className="hero__text" href="https://www.home-assistant.io">
|
<a className={styles.heroText} href="https://www.home-assistant.io">
|
||||||
Not a developer? Go to the normal website
|
Not a developer? Go to the normal website
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
{features && features.length && (
|
{features && features.length && (
|
||||||
|
@ -12,10 +12,20 @@
|
|||||||
|
|
||||||
.heroTitle {
|
.heroTitle {
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.heroTagline {
|
.heroTagline {
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.heroLogo {
|
||||||
|
max-height: 16em;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.heroText{
|
||||||
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 966px) {
|
@media screen and (max-width: 966px) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user