restructured article layout to accomdate homepage landing content
parent
d1b94447ee
commit
6c78475973
|
@ -1,9 +1,7 @@
|
|||
.article {
|
||||
flex-grow: 1;
|
||||
background: $article-bg;
|
||||
border-radius: $border-radius 0 0 0;
|
||||
border-radius: $border-radius 0 0 $border-radius;
|
||||
padding: 2rem 4rem 3rem;
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
.article--content{
|
||||
|
@ -572,13 +570,3 @@
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
@include media(medium) {
|
||||
.article { width: 100%; }
|
||||
}
|
||||
|
||||
@media (min-width: 801px) and (max-width: 1200px) {
|
||||
.article {
|
||||
width: 70%;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
.content-wrapper {
|
||||
flex-grow: 1;
|
||||
width: 75%;
|
||||
border-radius: $border-radius 0 0 $border-radius;
|
||||
|
||||
.copyright {
|
||||
padding: .5rem 1rem .5rem .5rem;
|
||||
text-align: right;
|
||||
font-size: .9rem;
|
||||
color: rgba($article-text, .5);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////// MEDIA QUERIES ////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@include media(medium) {
|
||||
.content-wrapper {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 801px) and (max-width: 1200px) {
|
||||
.content-wrapper {
|
||||
width: 70%;
|
||||
}
|
||||
}
|
|
@ -13,5 +13,6 @@
|
|||
"layouts/layout-global",
|
||||
"layouts/layout-topnav",
|
||||
"layouts/layout-sidebar",
|
||||
"layouts/layout-content-wrapper",
|
||||
"layouts/layout-article",
|
||||
"layouts/syntax-highlighting";
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
title: InfluxDB v2.0
|
||||
seotitle: This is the SEO title for InfluxDB v2.0
|
||||
description: placeholder
|
||||
layout: version-landing
|
||||
menu:
|
||||
versions:
|
||||
name: v2.0
|
||||
|
|
|
@ -2,13 +2,9 @@
|
|||
|
||||
<div class="page-wrapper">
|
||||
{{ partial "sidebar.html" . }}
|
||||
<div class="article">
|
||||
<article class="article--content">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ partial "article/latest-version.html" . }}
|
||||
{{ partial "article/enterprise.html" . }}
|
||||
{{ .Content }}
|
||||
</article>
|
||||
<div class="content-wrapper">
|
||||
{{ partial "article.html" . }}
|
||||
<div class="copyright">© {{ now.Year }} InfluxData, Inc.</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -2,13 +2,9 @@
|
|||
|
||||
<div class="page-wrapper">
|
||||
{{ partial "sidebar.html" . }}
|
||||
<div class="article">
|
||||
<article class="article--content">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ partial "article/latest-version.html" . }}
|
||||
{{ partial "article/enterprise.html" . }}
|
||||
{{ .Content }}
|
||||
</article>
|
||||
<div class="content-wrapper">
|
||||
{{ partial "article.html" . }}
|
||||
<div class="copyright">© {{ now.Year }} InfluxData, Inc.</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
{{ partial "header.html" . }}
|
||||
|
||||
<div class="page-wrapper">
|
||||
{{ partial "sidebar.html" . }}
|
||||
<div class="content-wrapper">
|
||||
|
||||
<div class="cards">
|
||||
<div class="full">
|
||||
<h1>{{ $.Page.Title }}</h1>
|
||||
<a class="btn" href="get-started">Get Started</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ partial "article.html" . }}
|
||||
<div class="copyright">© {{ now.Year }} InfluxData, Inc.</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ partial "footer.html" . }}
|
|
@ -0,0 +1,8 @@
|
|||
<div class="article">
|
||||
<article class="article--content">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ partial "article/latest-version.html" . }}
|
||||
{{ partial "article/enterprise.html" . }}
|
||||
{{ .Content }}
|
||||
</article>
|
||||
</div>
|
Loading…
Reference in New Issue