Skip to content

Commit

Permalink
Update navigation.webc
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi-EEE committed Apr 22, 2024
1 parent 424ae03 commit 028eacd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions site/_includes/components/navigation.webc
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@
{Name: 'About', Link: '#about'},
{Name: 'Documents', Link: '#documents'},
{Name: 'Contact', Link: '#contact'},
{Line: true},
{Name: 'Github', Link: 'https://github.com/Chi-EEE/Behaviour_Tree_PiCar-V'},
{Name: 'Documentation', Link: '/Behaviour_Tree_PiCar-V/docs'},
]">
<a :href="item.Link" webc:if="item.Link.startsWith('#') || item.Link.startsWith('/')"
]"> <div webc:if="item.Line !== undefined" class="h-[20px] bg-black w-[2px]"></div>
<a :href="item.Link" webc:elseif="item.Link.startsWith('#') || item.Link.startsWith('/')"
class="block py-2 px-3 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700"
aria-current="page" @text="item.Name"></a>
<a :href="item.Link" target="_blank" webc:else
Expand Down

0 comments on commit 028eacd

Please sign in to comment.