index static

This commit is contained in:
Timur Ercan
2022-11-24 12:28:46 +01:00
parent 5e0d98c39d
commit c382e1b04e

View File

@@ -1,6 +1,12 @@
import Head from 'next/head'
import Image from 'next/image'
import styles from '../styles/Home.module.css'
import Head from "next/head";
import Image from "next/image";
import styles from "../styles/Home.module.css";
export async function getStaticProps(context: any) {
return {
props: {}, // will be passed to the page component as props
};
}
export default function Home() {
return (
@@ -17,7 +23,7 @@ export default function Home() {
</h1>
<p className={styles.description}>
Get started by editing{' '}
Get started by editing{" "}
<code className={styles.code}>pages/index.tsx</code>
</p>
@@ -60,12 +66,12 @@ export default function Home() {
target="_blank"
rel="noopener noreferrer"
>
Powered by{' '}
Powered by{" "}
<span className={styles.logo}>
<Image src="/vercel.svg" alt="Vercel Logo" width={72} height={16} />
</span>
</a>
</footer>
</div>
)
);
}