Skip to content

Commit

Permalink
Add custom link styles to public profile
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmybisenius committed Sep 4, 2020
1 parent 1dffa0c commit 9139b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/u/*.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<h1 class="text-black font-semibold text-2xl sl-headline">{{ profile.headline || user.name }}</h1>
<h3 class="text-gray-600 mb-4 sl-subtitle">{{ profile.subtitle }}</h3>
<a :href="link.url" v-for="link in links" class="w-full">
<div class="rounded shadow bg-white p-4 w-full font-medium mb-3 nc-link sl-item flex items-center justify-center flex-col">
<div class="rounded shadow bg-white p-4 w-full font-medium mb-3 nc-link sl-item flex items-center justify-center flex-col" :style="link.custom_css">
<span class="font-medium text-gray-900 sl-label">{{ link.label }}</span>
<span v-if="link.subtitle" class="text-sm text-gray-700 sl-subtitle mt-2">{{ link.subtitle }}</span>
</div>
Expand Down

0 comments on commit 9139b43

Please sign in to comment.