aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-26 21:28:29 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-26 21:28:29 +0100
commit6682690a1c8a05bcffc24bcef3c89a14c1762d85 (patch)
tree1c02b2df5f0678853cd4979125e03e65b7a66501 /pages
parent12b41df69ad0bb3e2697071d55e9023026a0c59a (diff)
image and button components
Diffstat (limited to 'pages')
-rw-r--r--pages/_app.tsx2
-rw-r--r--pages/index.tsx5
2 files changed, 7 insertions, 0 deletions
diff --git a/pages/_app.tsx b/pages/_app.tsx
index f0c16f4..1e9ba0d 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -4,6 +4,8 @@ import '../styles/colors.css';
import '../styles/layout.css';
import '../styles/globals.css';
import '../styles/navbarItem.css';
+import '../styles/button.css';
+import '../styles/image.css';
export default function Blog({ Component, pageProps }) {
return <div>
diff --git a/pages/index.tsx b/pages/index.tsx
index 6450fd8..18e09fe 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -1,5 +1,7 @@
import Seperator from '../components/articleSeperator';
import Navbar from '../components/navbar';
+import Button from '../components/button';
+import Image from '../components/image';
export default function Home() {
return <div>
@@ -16,6 +18,9 @@ export default function Home() {
Lorem ipsum <a>dolor</a> sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Gravida dictum fusce ut placerat orci nulla pellentesque. Laoreet id donec ultrices tincidunt arcu. Tortor aliquam nulla facilisi cras fermentum odio eu feugiat. A scelerisque purus semper eget duis at tellus. A iaculis at erat pellentesque adipiscing commodo elit at imperdiet. Arcu bibendum at varius vel pharetra vel turpis nunc eget. Euismod in pellentesque massa placerat duis. Lorem ipsum dolor sit amet consectetur adipiscing elit. Ultrices in iaculis nunc sed augue lacus. Vestibulum mattis ullamcorper velit sed. Adipiscing diam donec adipiscing
</p>
<a href="https://blog.pipeframe.xyz">Here's a link</a>
+ <Button text="gert" onclick={() => alert("Hallo wereld!")}/>
+ <Button text="gert2" href="https://github.com/lonkaars"/>
+ <Image src="https://external-content.duckduckgo.com/iu/?u=http%3A%2F%2Fbarkpost-assets.s3.amazonaws.com%2Fwp-content%2Fuploads%2F2013%2F11%2FplainDoge.jpg&f=1&nofb=1" title="fonny doge meme big laugh hahaha funni image big fonny me laugh because image fonne"/>
<Seperator/>
<p>