Skip to content

Commit

Permalink
feat: hide Next.js homepage content
Browse files Browse the repository at this point in the history
  • Loading branch information
martapanc-resourcify committed Jul 5, 2023
1 parent 7cdfc01 commit 04d085d
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';

import Layout from '@/components/layout/Layout';
import ArrowLink from '@/components/links/ArrowLink';
import ButtonLink from '@/components/links/ButtonLink';
import UnstyledLink from '@/components/links/UnstyledLink';
// import ArrowLink from '@/components/links/ArrowLink';
// import ButtonLink from '@/components/links/ButtonLink';
// import UnstyledLink from '@/components/links/UnstyledLink';
import Seo from '@/components/Seo';

/**
Expand All @@ -13,7 +13,7 @@ import Seo from '@/components/Seo';
* You can override the next-env if the type is important to you
* @see https://stackoverflow.com/questions/68103844/how-to-override-next-js-svg-module-declaration
*/
import Vercel from '~/svg/Vercel.svg';
// import Vercel from '~/svg/Vercel.svg';

export default function HomePage() {
return (
Expand All @@ -23,40 +23,40 @@ export default function HomePage() {
<main>
<section className='dark:bg-dark bg-white'>
<div className='layout relative flex min-h-screen flex-col items-center justify-center py-12 text-center'>
<Vercel className='text-5xl' />
<h1 className='mt-4'>
Next.js + Tailwind CSS + TypeScript Starter
</h1>
<p className='mt-2 text-sm text-gray-600 dark:text-gray-100'>
A starter for Next.js, Tailwind CSS, and TypeScript with Absolute
Import, Seo, Link component, pre-configured with Husky{' '}
</p>
<p className='mt-2 text-sm'>
<ArrowLink href='https://github.com/theodorusclarence/ts-nextjs-tailwind-starter'>
See the repository
</ArrowLink>
</p>
{/*<Vercel className='text-5xl' />*/}
{/*<h1 className='mt-4'>*/}
{/* Next.js + Tailwind CSS + TypeScript Starter*/}
{/*</h1>*/}
{/*<p className='mt-2 text-sm text-gray-600 dark:text-gray-100'>*/}
{/* A starter for Next.js, Tailwind CSS, and TypeScript with Absolute*/}
{/* Import, Seo, Link component, pre-configured with Husky{' '}*/}
{/*</p>*/}
{/*<p className='mt-2 text-sm'>*/}
{/* <ArrowLink href='https://github.com/theodorusclarence/ts-nextjs-tailwind-starter'>*/}
{/* See the repository*/}
{/* </ArrowLink>*/}
{/*</p>*/}

<ButtonLink
className='mt-6'
href='/samples/components'
variant='light'
>
See all components
</ButtonLink>
{/*<ButtonLink*/}
{/* className='mt-6'*/}
{/* href='/samples/components'*/}
{/* variant='light'*/}
{/*>*/}
{/* See all components*/}
{/*</ButtonLink>*/}

<UnstyledLink
href='https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Ftheodorusclarence%2Fts-nextjs-tailwind-starter'
className='mt-4'
>
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
width='92'
height='32'
src='https://vercel.com/button'
alt='Deploy with Vercel'
/>
</UnstyledLink>
{/*<UnstyledLink*/}
{/* href='https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Ftheodorusclarence%2Fts-nextjs-tailwind-starter'*/}
{/* className='mt-4'*/}
{/*>*/}
{/* /!* eslint-disable-next-line @next/next/no-img-element *!/*/}
{/* <img*/}
{/* width='92'*/}
{/* height='32'*/}
{/* src='https://vercel.com/button'*/}
{/* alt='Deploy with Vercel'*/}
{/* />*/}
{/*</UnstyledLink>*/}

{/*<footer className='absolute bottom-2 text-gray-700'>*/}
{/* © {new Date().getFullYear()} By{' '}*/}
Expand Down

0 comments on commit 04d085d

Please sign in to comment.