Skip to content

Commit e961f94

Browse files
committed
Added example image to index
1 parent 3b58773 commit e961f94

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

src/layouts/Default.vue

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,27 @@
1515

1616
<style>
1717
body {
18-
font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif
18+
font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
19+
margin:0;
20+
padding:0;
21+
line-height: 1.5;
1922
}
23+
2024
.layout {
2125
max-width: 600px;
2226
margin: 0 auto;
2327
padding-left: 20px;
2428
padding-right: 20px;
2529
}
30+
2631
.header {
2732
display: flex;
2833
justify-content: space-between;
34+
align-items: center;
2935
margin-bottom: 20px;
36+
height: 80px;
3037
}
38+
3139
.nav__link {
3240
margin-left: 20px;
3341
}

src/pages/Index.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<template>
22
<Layout>
3+
<g-image alt="Example image" src="~/favicon.png" width="135" />
34
<h1>Hello, world!</h1>
4-
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Pariatur excepturi labore tempore expedita, et iste tenetur suscipit explicabo! Dolores, aperiam non officia eos quod asperiores ab harum aliquid dignissimos neque.</p>
5+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Pariatur excepturi labore tempore expedita, et iste tenetur suscipit explicabo! Dolores, aperiam non officia eos quod asperiores</p>
56
</Layout>
67
</template>
78

0 commit comments

Comments
 (0)