First commit

This commit is contained in:
pheralb
2022-01-16 22:27:55 +00:00
parent d56096e7f7
commit a1b3dd2706
45 changed files with 4227 additions and 303 deletions
+64 -65
View File
@@ -1,69 +1,68 @@
import Head from 'next/head'
import Image from 'next/image'
import styles from '../styles/Home.module.css'
import { chakra, Box } from "@chakra-ui/react";
import Search from "components/search";
import Grid from "components/grid";
import Card from "components/card";
import Icons from "data/icons";
import Show from "animations/show";
export default function Home() {
export default function Index() {
return (
<div className={styles.container}>
<Head>
<title>Create Next App</title>
<meta name="description" content="Generated by create next app" />
<link rel="icon" href="/favicon.ico" />
</Head>
<main className={styles.main}>
<h1 className={styles.title}>
Welcome to <a href="https://nextjs.org">Next.js!</a>
</h1>
<p className={styles.description}>
Get started by editing{' '}
<code className={styles.code}>pages/index.js</code>
</p>
<div className={styles.grid}>
<a href="https://nextjs.org/docs" className={styles.card}>
<h2>Documentation &rarr;</h2>
<p>Find in-depth information about Next.js features and API.</p>
</a>
<a href="https://nextjs.org/learn" className={styles.card}>
<h2>Learn &rarr;</h2>
<p>Learn about Next.js in an interactive course with quizzes!</p>
</a>
<a
href="https://github.com/vercel/next.js/tree/canary/examples"
className={styles.card}
<>
<Box overflow="hidden">
<Box mx="auto">
<Box
pos="relative"
pb={{ base: 2, sm: 16, md: 20, lg: 28, xl: 32 }}
w="full"
border="solid 1px transparent"
>
<h2>Examples &rarr;</h2>
<p>Discover and deploy boilerplate example Next.js projects.</p>
</a>
<a
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
className={styles.card}
>
<h2>Deploy &rarr;</h2>
<p>
Instantly deploy your Next.js site to a public URL with Vercel.
</p>
</a>
</div>
</main>
<footer className={styles.footer}>
<a
href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
Powered by{' '}
<span className={styles.logo}>
<Image src="/vercel.svg" alt="Vercel Logo" width={72} height={16} />
</span>
</a>
</footer>
</div>
)
<Box
mt={{ base: "4", md: "8" }}
mx="auto"
maxW={{ base: "8xl" }}
px={{ base: 4, sm: 6, lg: 8 }}
>
<Box
textAlign="center"
w={{ base: "full", md: 11 / 12, xl: 8 / 12 }}
mx="auto"
>
<Show delay="0">
<chakra.h1
fontSize={{ base: "30px", sm: "5xl", md: "6xl" }}
letterSpacing="tight"
lineHeight="short"
fontWeight="extrabold"
mb={{ base: 4, md: 8 }}
>
Beautiful SVG vector icons
</chakra.h1>
</Show>
<Show delay="0.2">
<Search />
</Show>
<Show delay="0.4">
<Box mt={{ base: 4, md: 8 }}>
<Grid>
{Icons.map((link) => (
<>
<div key={link.id}>
<Card
title={link.title}
url={link.href}
icon={link.icon}
/>
</div>
</>
))}
</Grid>
</Box>
</Show>
</Box>
</Box>
</Box>
</Box>
</Box>
</>
);
}