Skip to content

Commit

Permalink
chore: color navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
nxhawk committed Jun 23, 2024
1 parent 1950d92 commit 3fa2363
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/Navbar/MutilTab.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template lang="">
<div class="relative uppercase">
<div
class="hover:text-gray-400 cursor-pointer flex items-center gap-1"
class="hover:text-gray-400 text-gray-600 cursor-pointer flex items-center gap-1"
@mouseenter="mouseEnter"
@mouseleave="mouseLeave"
>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Navbar/MutilTabMobile.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<template lang="">
<div class="uppercase px-1 py-2 border-t">
<div class="cursor-default">{{ props.name }}</div>
<div class="cursor-default text-gray-600">{{ props.name }}</div>
<router-link
v-for="item in props.childrenNode"
:to="{ name: 'exercise', params: { classId: item.slug } }"
:key="item.slug"
@click.native="onClick"
class="p-2 px-4 cursor-pointer hover:text-gray-400 block"
class="p-2 px-4 cursor-pointer hover:text-gray-400 text-gray-600 block"
>
{{ item.name }}
</router-link>
Expand Down
1 change: 0 additions & 1 deletion src/components/Navbar/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
:name="cate.name"
:children-node="cate.children"
/>

</div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions src/components/Navbar/SingleTab.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<template lang="">
<div class="md:border-0 border-t w-full md:p-0 px-1 py-2">
<div class="md:border-0 border-t w-full md:p-0 px-1 py-2 ">
<router-link
@click.native="onClick"
:to="{ name: 'exercise', params: { classId: props.classId } }"
class="hover:text-gray-400 uppercase block"
class="hover:text-gray-400 uppercase block text-gray-600"
>
{{ props.name }}
</router-link>
Expand Down

0 comments on commit 3fa2363

Please sign in to comment.