Oiva report and link icons

This commit is contained in:
2022-11-13 20:08:02 +02:00
parent cab5d2ecde
commit 4781e3c3aa
5 changed files with 27 additions and 2 deletions

15
package-lock.json generated
View File

@@ -15,6 +15,7 @@
"next-seo": "^5.14.1", "next-seo": "^5.14.1",
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"react-icons": "^4.6.0",
"sass": "^1.55.0", "sass": "^1.55.0",
"typescript": "4.8.4" "typescript": "4.8.4"
} }
@@ -579,6 +580,14 @@
"react": "^18.2.0" "react": "^18.2.0"
} }
}, },
"node_modules/react-icons": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.6.0.tgz",
"integrity": "sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g==",
"peerDependencies": {
"react": "*"
}
},
"node_modules/readdirp": { "node_modules/readdirp": {
"version": "3.6.0", "version": "3.6.0",
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
@@ -1003,6 +1012,12 @@
"scheduler": "^0.23.0" "scheduler": "^0.23.0"
} }
}, },
"react-icons": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.6.0.tgz",
"integrity": "sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g==",
"requires": {}
},
"readdirp": { "readdirp": {
"version": "3.6.0", "version": "3.6.0",
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",

View File

@@ -16,6 +16,7 @@
"next-seo": "^5.14.1", "next-seo": "^5.14.1",
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"react-icons": "^4.6.0",
"sass": "^1.55.0", "sass": "^1.55.0",
"typescript": "4.8.4" "typescript": "4.8.4"
} }

View File

@@ -3,6 +3,7 @@ import Image from 'next/image';
import { OpenHours } from '../components/OpenHours'; import { OpenHours } from '../components/OpenHours';
import { ScrollToTop } from '../components/ScrollToTop'; import { ScrollToTop } from '../components/ScrollToTop';
import { NextSeo } from 'next-seo'; import { NextSeo } from 'next-seo';
import { FiExternalLink } from 'react-icons/fi';
export default function Index() { export default function Index() {
return ( return (
@@ -82,7 +83,7 @@ export default function Index() {
Velkuantie 988, 21180 Livonsaari Velkuantie 988, 21180 Livonsaari
</span> </span>
<a href='https://www.smartpost.fi/' className={styles.link}> <a href='https://www.smartpost.fi/' className={styles.link}>
Lisätietoja Lisätietoja <FiExternalLink />
</a> </a>
</section> </section>
@@ -107,6 +108,9 @@ export default function Index() {
<h1 className={styles.title}>Juomat</h1> <h1 className={styles.title}>Juomat</h1>
</a> </a>
</div> </div>
<a href='/oiva.pdf' className={styles.link + ' ' + styles.oivaLink}>
Oiva-raportti <FiExternalLink />
</a>
</section> </section>
<span className={styles.separator} /> <span className={styles.separator} />

BIN
public/oiva.pdf Normal file

Binary file not shown.

View File

@@ -92,9 +92,10 @@
} }
.link { .link {
color: #0274be; color: #427da4;
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
margin-top: 1rem;
} }
.link:hover { .link:hover {
@@ -128,6 +129,10 @@
} }
} }
.oivaLink {
margin-top: 2rem;
}
.instagramLink { .instagramLink {
color: #686868; color: #686868;
text-decoration: none; text-decoration: none;