Commit c78df598 by PLN (Algolia)

wip: nots+yarn

parent e4b4a06e
/// <reference types="next" /> /// <reference types="next" />
/// <reference types="next/types/global" />
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -8,13 +8,10 @@ ...@@ -8,13 +8,10 @@
"start": "next start" "start": "next start"
}, },
"dependencies": { "dependencies": {
"next": "^10.0.0", "bootstrap": "^5.0.0-beta3",
"react": "17.0.1", "next": "^10.1.3",
"react-dom": "17.0.1" "react": "^17.0.2",
"react-dom": "^17.0.2"
}, },
"devDependencies": { "devDependencies": {}
"@types/node": "^14.14.41",
"@types/react": "^17.0.3",
"typescript": "^4.2.4"
}
} }
import Image from 'next/image' import Image from "next/image";
import Link from 'next/link' import Link from "next/link";
import Head from "next/head";
export async function getStaticProps(context) { export async function getStaticProps(context) {
return { return {
props: {} props: {},
} };
} }
export default function Hydra() { return ( export default function Hydra() {
<div> return (
<h1>Image Component With Layout Responsive</h1> <Head>
<Image <meta name="viewport" content="width=device-width, initial-scale=1" />
alt="Mountains" <title>PLN's Hydra works</title>
src="/images/WIP_GaLactic.png" </Head>
layout="fill" <div>
// width={700} <h1>I create visuals with patterns</h1>
// height={475} <Image
/> alt="Mountains"
<Link href="/">Back</Link> src="/images/WIP_GaLactic.png"
</div> layout="fill"
) // width={700}
// height={475}
/>
<Link href="/">Back</Link>
</div>
);
} }
...@@ -11,6 +11,7 @@ export default function Home() { ...@@ -11,6 +11,7 @@ export default function Home() {
return ( return (
<div className="container"> <div className="container">
<Head> <Head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>PLN's Home</title> <title>PLN's Home</title>
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
</Head> </Head>
......
This diff is collapsed. Click to expand it.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment