aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-04-14 00:59:35 -0400
committerAndrew Lee <alee14498@protonmail.com>2022-04-14 00:59:35 -0400
commit796dc37e648f1c8c44ffe990cedd0be17669fabc (patch)
treede83a1f9a4ce3d8999a553ff6d53f04d5ee92a72
parent9dc4cd9624837490ce943315c1ec56b80440ae69 (diff)
downloadsmart-cooker-796dc37e648f1c8c44ffe990cedd0be17669fabc.tar.gz
smart-cooker-796dc37e648f1c8c44ffe990cedd0be17669fabc.tar.bz2
smart-cooker-796dc37e648f1c8c44ffe990cedd0be17669fabc.zip
Even more content
-rw-r--r--package.json3
-rw-r--r--pages/index.js9
-rw-r--r--styles/Home.module.css3
-rw-r--r--styles/globals.css5
-rw-r--r--yarn.lock5
5 files changed, 20 insertions, 5 deletions
diff --git a/package.json b/package.json
index e9d1475..5b8df5a 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,8 @@
"dependencies": {
"next": "12.1.4",
"react": "18.0.0",
- "react-dom": "18.0.0"
+ "react-dom": "18.0.0",
+ "three": "^0.139.2"
},
"devDependencies": {
"eslint": "8.13.0",
diff --git a/pages/index.js b/pages/index.js
index d48d986..78b4807 100644
--- a/pages/index.js
+++ b/pages/index.js
@@ -12,8 +12,13 @@ export default function Home() {
</Head>
<main className={styles.main}>
- <Image src="/logov1-2.png" width={256} height={256}/>
- <h2>L&apos;été est là!<br/>L&apos;argent, c&apos;est maintenant !</h2>
+ <Image src="/logov1-2.png" width={256} height={256} alt="Logo"/>
+ <h2 className={styles.center}>L&apos;été est là!<br/>L&apos;argent, c&apos;est maintenant!</h2>
+ <h3>Modèle prototype</h3>
+ <Image src="/smart-stove.png" width={500} height={300} alt="Render image"/>
+ <h3>Description</h3>
+ <p>Maître Cuisinier est un cuiseur portable pour les camionneurs de nourriture et il possède le premier cuiseur à écran tactile au monde.</p>
+ <h3 className={styles.center}>Achetez ce produit à 300 $ avec une remise de 10 %.<br/> Contactez admin@maitre-cuisinier.ca pour commander votre cuisinière.</h3>
</main>
</div>
)
diff --git a/styles/Home.module.css b/styles/Home.module.css
index 125e21c..9645622 100644
--- a/styles/Home.module.css
+++ b/styles/Home.module.css
@@ -7,5 +7,8 @@
flex-direction: column;
justify-content: center;
align-items: center;
+}
+
+.center {
text-align: center;
}
diff --git a/styles/globals.css b/styles/globals.css
index e5e2dcc..c4eefcb 100644
--- a/styles/globals.css
+++ b/styles/globals.css
@@ -1,9 +1,10 @@
+@font-face {font-family: 'Hack';src: url('../public/fonts/Hack-Regular.ttf');src: url('../public/fonts/Hack-Bold.ttf');}
+
html,
body {
padding: 0;
margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
- Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
+ font-family: Hack, sans-serif;
}
a {
diff --git a/yarn.lock b/yarn.lock
index 3ac460f..873ebe2 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1534,6 +1534,11 @@ text-table@^0.2.0:
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=
+three@^0.139.2:
+ version "0.139.2"
+ resolved "https://registry.yarnpkg.com/three/-/three-0.139.2.tgz#b110799a15736df673b9293e31653a4ac73648dd"
+ integrity sha512-gV7q7QY8rogu7HLFZR9cWnOQAUedUhu2WXAnpr2kdXZP9YDKsG/0ychwQvWkZN5PlNw9mv5MoCTin6zNTXoONg==
+
to-regex-range@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4"