-
-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update(docs): styling of sidebar and header
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com> update(docs): target server generation Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
- Loading branch information
1 parent
ea7db92
commit 412a84a
Showing
6 changed files
with
46 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,33 @@ | ||
<template> | ||
<header class="flex items-center py-4 px-8 text-white"> | ||
<header class="flex border-b-1 border-black border-solid items-center py-4 px-8 font-semibold text-white"> | ||
<div class="flex flex-col"> | ||
<a class="logo text-xl" href="https://github.com/bcakmakoglu/vue-flow"> Vue Flow </a> | ||
<span class="text-xs text-gray-800 mt-2" | ||
>An open source library by <a href="https://github.com/bcakmakoglu/bcakmakoglu">Braks</a> <br /> | ||
Based on <a href="https://reactflow.dev">React Flow</a> | ||
</span> | ||
</div> | ||
<div class="flex-1">Docs</div> | ||
<div class="flex-1"><span class="button text-gray-400">Docs</span></div> | ||
<div class="flex-1"> | ||
<router-link to="/examples"> Examples </router-link> | ||
<router-link class="link" to="/examples"> Examples</router-link> | ||
</div> | ||
<div class="flex-1"><a href="https://github.com/bcakmakoglu/vue-flow">Github</a></div> | ||
<div class="flex-1"><a class="link" href="https://github.com/bcakmakoglu/vue-flow">Github</a></div> | ||
</header> | ||
</template> | ||
<style scoped> | ||
a { | ||
@apply hover:text-gray-300; | ||
} | ||
.logo { | ||
text-decoration: none; | ||
display: block; | ||
line-height: 1; | ||
} | ||
.link { | ||
@apply bg-gray-200 rounded-lg px-4 py-2 !hover:text-yellow-500 text-black; | ||
} | ||
.router-link-active { | ||
@apply rounded-lg bg-white font-semibold text-yellow-500; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters