Skip to content

Commit c265aa6

Browse files
author
Gareth Redfern
committed
add view profile link to dashboard
1 parent abcfb25 commit c265aa6

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

src/assets/css/tailwind.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,10 @@
66
body {
77
@apply bg-gray-50;
88
}
9+
.base-link {
10+
@apply text-blue-400;
11+
@apply hover:text-blue-500;
12+
@apply hover:underline;
13+
@apply transition;
14+
}
915
}

src/views/Dashboard.vue

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
<template>
22
<div class="py-5">
3-
<p>Welcome to your Dashboard</p>
3+
<p class="mb-4 text-gray-400">
4+
Full documentation for how this application is built can be found at
5+
<a href="https://laravelvuespa.com/" class="base-link"
6+
>laravelvuespa.com</a
7+
>.
8+
</p>
9+
<div class="grid gap-10 md:grid-cols-3">
10+
<ul class="p-5 bg-white border rounded shadow">
11+
<li>
12+
<router-link to="/user" class="base-link"> View Profile </router-link>
13+
</li>
14+
</ul>
15+
</div>
416
</div>
517
</template>
618

0 commit comments

Comments
 (0)