From 9fcfb5d784c38c1c3ddda33184b0d8f1be4db3e0 Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Mon, 3 Feb 2020 17:40:45 +0300 Subject: feat!: remove icons, simplify lib preview --- src/index.tsx | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) (limited to 'src/index.tsx') diff --git a/src/index.tsx b/src/index.tsx index 19c118e..4e1f35f 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -11,12 +11,7 @@ import { SmartList, } from './lib'; -import icon from './assets/icon.png'; -import icon2 from './assets/icon2.svg'; -import HomeIcon from '@material-ui/icons/Home'; -import PlayCircleFilledWhiteIcon from '@material-ui/icons/PlayCircleFilledWhite'; -import ExploreIcon from '@material-ui/icons/Explore'; -import GitHubIcon from '@material-ui/icons/GitHub'; +import icon from './assets/icon.svg'; const useStyles = makeStyles(theme => ({ @@ -25,11 +20,13 @@ const useStyles = makeStyles(theme => ({ } })); + +const Icon = logo + const headerContents = { - home: , - 'getting started': , - explore: , - contribute: , + home: null, + page: null, + 'another page': null, }; const renderItem = ({ index, style }: any) => { @@ -38,9 +35,6 @@ const renderItem = ({ index, style }: any) => { ); }; -const Icon1 = logo -const Icon2 = logo - const App = () => { const classes = useStyles(); const [page, setPage] = useState('home'); @@ -49,7 +43,7 @@ const App = () => {
{ />
- -

Here is some text about BENZIN library.

+ +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. +

-- cgit v1.2.3