Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Nicer Guides layout

Damian Legawiec88fb3ae62db8
diff --git a/guides/src/components/Footer.js b/guides/src/components/Footer.js
index fb539ac570..6001120199 100644
--- a/guides/src/components/Footer.js
+++ b/guides/src/components/Footer.js
@@ -30,10 +30,6 @@ const Footer = ({ hasSidebar }) => (
}
}}
className={cx(
- {
- 'mw9 center w-100': !hasSidebar,
- 'bt b--light-gray': hasSidebar
- },
'tc pv3 flex flex-column flex-row-l items-center justify-center lh-copy'
)}
>
@@ -46,7 +42,7 @@ const Footer = ({ hasSidebar }) => (
>
<img
src={LogoSrc}
- height={21}
+ height={18}
className="dib mh2"
alt="Spree Commerce & Ruby on Rails developers"
title="Spree Commerce & Ruby on Rails developers"
diff --git a/guides/src/components/Sidebar.js b/guides/src/components/Sidebar.js
index 3592f291be..53ef564625 100644
--- a/guides/src/components/Sidebar.js
+++ b/guides/src/components/Sidebar.js
@@ -63,7 +63,7 @@ export default class Sidebar extends React.PureComponent {
<aside
className={cx(
{
- 'dn db-l fixed-l br bg-near-white b--light-gray ph4 pt4 vh-100': !this
+ 'dn db-l fixed-l ph4 pt4 vh-100': !this
.props.isMobile
},
{ 'db pt2 bg-white': this.props.isMobile },
diff --git a/guides/src/html.js b/guides/src/html.js
index a3f5c8402d..fc50a8579d 100644
--- a/guides/src/html.js
+++ b/guides/src/html.js
@@ -30,7 +30,7 @@ export default class HTML extends React.Component {
<link rel="icon" href="/favicon.ico" />
{this.props.headComponents}
</head>
- <body {...this.props.bodyAttributes} className="bg-white f5 h-100">
+ <body {...this.props.bodyAttributes} className="bg-near-white f5 h-100">
<div
className="h-100"
id="___gatsby"