Skip to content

Commit

Permalink
fix(app): fixed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali Obaji committed Sep 20, 2019
1 parent 3536a69 commit 100c675
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import Router from 'next/router';
import './styles.css';

import {trackPageView} from '../core/gtag';
import Footer from "../shared/components/footer";
import Header from "../shared/components/header";
import Footer from "../shared/components/footer/footer.component";
import Header from "../shared/components/header/header.component";

Router.events.on('routeChangeComplete', url => trackPageView(url));

Expand Down
2 changes: 2 additions & 0 deletions pages/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@

@media (min-width: 1200px) {
.container {
grid-template-rows: auto 8rem auto;

margin: 0 3rem;
}

Expand Down
6 changes: 3 additions & 3 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import { NextPage } from 'next';
import { useRouter } from 'next/router'

import { defaultMetaTags } from '../core/constants';
import Layout from '../shared/components/layout';
import Layout from '../shared/components/layout/layout.component';
import { getAllTags, getBlogPostEntries } from '../core/contentful';
import { BlogPost } from '../interfaces/post';
import Card from '../shared/components/card';
import Paginator from '../shared/components/paginator';
import Card from '../shared/components/card/card.component';
import Paginator from '../shared/components/paginator/paginator.component';

const calculateRange = (length) => Array.from({length}, (v, k) => k + 1);

Expand Down

0 comments on commit 100c675

Please sign in to comment.