Skip to content

Commit

Permalink
feat(app): added components skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
abedzantout committed Sep 13, 2019
1 parent a7aa310 commit 714f385
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 4 deletions.
11 changes: 8 additions & 3 deletions pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import React from 'react';
import React, { Fragment } from 'react';
import { NextPage } from 'next';
import Meta from '../shared/components/Meta';
import Meta from '../shared/components/meta';
import { defaultMetaTags } from '../core/constants';

const IndexPage: NextPage = () => {
return (
<Meta tag={defaultMetaTags}/>
<Fragment>
<Meta tag={defaultMetaTags}/>
<div>

</div>
</Fragment>
)
};

Expand Down
Empty file removed shared/components/Card.tsx
Empty file.
Empty file removed shared/components/Footer.tsx
Empty file.
Empty file removed shared/components/Header.tsx
Empty file.
Empty file removed shared/components/Posts.tsx
Empty file.
10 changes: 10 additions & 0 deletions shared/components/card/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React, { FunctionComponent } from 'react';

type Props = {}
const Card: FunctionComponent<Props> = ({}) => {
return (
<div>hello</div>
);
};

export default Card;
10 changes: 10 additions & 0 deletions shared/components/footer/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React, { FunctionComponent } from 'react';

type Props = {}
const Footer: FunctionComponent<Props> = ({}) => {
return (
<div>hello</div>
);
};

export default Footer;
10 changes: 10 additions & 0 deletions shared/components/header/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React, { FunctionComponent } from 'react';

type Props = {}
const Header: FunctionComponent<Props> = ({}) => {
return (
<div>hello</div>
);
};

export default Header;
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Fragment, FunctionComponent } from 'react';
import { Tag } from '../../interfaces/tag';
import { Tag } from '../../../interfaces/tag';
import Head from "next/head";;

type Props = {
Expand Down
10 changes: 10 additions & 0 deletions shared/components/post/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React, { FunctionComponent } from 'react';

type Props = {}
const Post: FunctionComponent<Props> = ({}) => {
return (
<div>hello</div>
);
};

export default Post;

0 comments on commit 714f385

Please sign in to comment.