Commit c78df598 by PLN (Algolia)

wip: nots+yarn

parent e4b4a06e
/// <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 @@
"start": "next start"
},
"dependencies": {
"next": "^10.0.0",
"react": "17.0.1",
"react-dom": "17.0.1"
"bootstrap": "^5.0.0-beta3",
"next": "^10.1.3",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@types/node": "^14.14.41",
"@types/react": "^17.0.3",
"typescript": "^4.2.4"
}
"devDependencies": {}
}
import Image from 'next/image'
import Link from 'next/link'
import Image from "next/image";
import Link from "next/link";
import Head from "next/head";
export async function getStaticProps(context) {
return {
props: {}
}
props: {},
};
}
export default function Hydra() { return (
<div>
<h1>Image Component With Layout Responsive</h1>
<Image
alt="Mountains"
src="/images/WIP_GaLactic.png"
layout="fill"
// width={700}
// height={475}
/>
<Link href="/">Back</Link>
</div>
)
export default function Hydra() {
return (
<Head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>PLN's Hydra works</title>
</Head>
<div>
<h1>I create visuals with patterns</h1>
<Image
alt="Mountains"
src="/images/WIP_GaLactic.png"
layout="fill"
// width={700}
// height={475}
/>
<Link href="/">Back</Link>
</div>
);
}
......@@ -11,6 +11,7 @@ export default function Home() {
return (
<div className="container">
<Head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>PLN's Home</title>
<link rel="icon" href="/favicon.ico" />
</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