Skip to content

Commit

Permalink
possible netlify build fix
Browse files Browse the repository at this point in the history
by adding case sensitivity config to git
gatsbyjs/gatsby#8205
  • Loading branch information
KarstenBuckstegge committed Oct 7, 2019
1 parent cb9dcba commit 9695f9a
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/components/LayoutComponent/LayoutComponent.tsx
@@ -0,0 +1,23 @@
import * as React from 'react';

import { HeaderComponent } from '../HeaderComponent/HeaderComponent';

import styles from './layoutComponent.module.scss';

interface Props {
children: React.ReactNode;
}

export const LayoutComponent: React.StatelessComponent<Props> = ({ children }) => {
// require('smooth-scroll')('a[href*="#"]', {
// speed: 600
// });

return (
<main className={styles.main}>
<div className={styles.grain} />
<HeaderComponent />
{children}
</main>
);
};
22 changes: 22 additions & 0 deletions src/components/LayoutComponent/layoutComponent.module.scss
@@ -0,0 +1,22 @@
@import '../../styles/constants';

$layoutPadding: $base * 5;

.main {
position: relative;
width: 100%;
min-height: (11400 / 5000) * $streamWidth; // 11400/5000 ratio of stream svg
padding: ($headerHeight + $layoutPadding) $layoutPadding $layoutPadding;
}

.grain {
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
background-image: url('../../../static/grain.png');
pointer-events: none;
z-index: 9999;
opacity: 0.3;
}

0 comments on commit 9695f9a

Please sign in to comment.