Skip to content

Commit

Permalink
update link classes to use base-link
Browse files Browse the repository at this point in the history
  • Loading branch information
Gareth Redfern committed Jan 10, 2021
1 parent e030aca commit a564303
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions src/components/LoginForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@
/>
<div class="flex justify-between">
<BaseBtn type="submit" text="Login" />
<router-link
to="/forgot-password"
class="text-sm text-blue-500 transition hover:text-blue-600"
>Forgot your password?</router-link
>
<router-link to="/forgot-password" class="text-sm base-link">
Forgot your password?
</router-link>
</div>
<FlashMessage :error="error" />
</form>
Expand Down
2 changes: 1 addition & 1 deletion src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<p>Welcome to the Laravel Vue Demo app.</p>
<p>
You can register for an account
<router-link to="/register" class="text-blue-500">here</router-link>.
<router-link to="/register" class="base-link">here</router-link>.
</p>
</article>
<article class="p-5 mt-5 text-lg text-center bg-white border rounded">
Expand Down

0 comments on commit a564303

Please sign in to comment.