diff --git a/src/templates/page.jsx b/src/templates/page.jsx
index 8bb6012..3bfec57 100644
--- a/src/templates/page.jsx
+++ b/src/templates/page.jsx
@@ -1,5 +1,5 @@
/* eslint-disable react/no-danger */
-import React from 'react';
+import React from 'react';
import { graphql } from 'gatsby';
import Layout from '../components/layout';
import LeftNav from "../components/LeftNav";
@@ -8,11 +8,12 @@ import './page.scss';
import SideBar from "../components/SideBar";
import EditDoc from "../components/EditButton";
import SEO from "../components/seo";
-import {Link} from "../../.cache/gatsby-browser-entry";
+import { Link } from "../../.cache/gatsby-browser-entry";
import SearchInputBox from "../components/SearchInputBox";
import MobileView from "../components/MobileView";
import Footer from "../components/Footer"
-import {environment} from "../environment";
+import { environment } from "../environment";
+import Header from '../components/header';
export default ({ data, pageContext }) => {
@@ -36,7 +37,7 @@ export default ({ data, pageContext }) => {
contextualLinks =
;
}
- if(environment.isStaging()) {
+ if (environment.isStaging()) {
post.frontmatter.noindex = true;
}
@@ -53,47 +54,8 @@ export default ({ data, pageContext }) => {
social_share_image={post.frontmatter.social_share_image}
noindex={post.frontmatter.noindex}
/>
-
-
+
+
{/*
*/}
@@ -112,12 +74,16 @@ export default ({ data, pageContext }) => {
@@ -125,39 +91,39 @@ export default ({ data, pageContext }) => {
{prev && (
-
-
Previous
-
-
- {prev.title}
+
+
Previous
+
+
+ {prev.title}
-
+
)}
{next && (
-
-
Next
-
-
- {next.title}
-
-
+
+
Next
+
+
+ {next.title}
+
+
)}
-
+
diff --git a/src/templates/page.scss b/src/templates/page.scss
index 3d3fe55..2aaf599 100644
--- a/src/templates/page.scss
+++ b/src/templates/page.scss
@@ -20,7 +20,12 @@ body{
height: 100%;
}
-#root_header > div {
+#root_header{
+ position: sticky;
+ top: 0;
+ z-index: 99;
+ background-color: #fff;
+ > div {
@media (max-width: 576px) {
// position: relative;
// z-index: 10;
@@ -68,6 +73,7 @@ body{
}
}
}
+}
.doc-page {
@@ -561,7 +567,7 @@ code[class*="language-"] {
.homepage_footer{
flex-basis: 100%;
justify-content: space-between;
- margin-bottom: 4rem;
+ margin: 2rem 0 4rem;
.pagination_buttons{
@media (min-width: $screen_768) {
margin: 0;
@@ -586,4 +592,24 @@ code[class*="language-"] {
background-size: cover;
background-position: center;
}
+}
+.float-cta{
+ @apply px-4 py-8 flex justify-center flex-col;
+ background-color: #EFEFEF;
+ width: 95%;
+ margin: 3rem 0 0;
+ .cta-title{
+ margin: 0 !important;
+ font-size: 24px !important;
+ line-height: 36px !important;
+ text-align: center;
+ }
+ .signup-btn{
+ margin: 1rem 0 0;
+ @apply flex justify-center;
+ }
+}
+
+.fixed{
+ display: none;
}
\ No newline at end of file