Skip to content

Commit

Permalink
disabled examples, home
Browse files Browse the repository at this point in the history
  • Loading branch information
meneman committed Oct 23, 2023
1 parent c37101e commit 09744ed
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/components/NavBar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,17 @@ import github from "../images/iconsFront/github-mark.png"


<header class="header nav">
<a href="" class="logo"><Image src={i} alt="logo"></Image> </a>
<a href="/" class="logo"><Image src={i} alt="logo"></Image> </a>
<input class="menu-btn" type="checkbox" id="menu-btn" />
<label class="menu-icon" for="menu-btn"><span class="navicon"></span></label>
<ul class="menu">
<li><a href="/" aria-disabled="true">Home </a></li>
<li>

<Dropdown class="group">
<button class="invisibleBtn">
<span> Wizard Components</span>
<!-- You can style when dropdown is `open` -->

<svg
class="h-6 w-6 rotate-0 transform text-gray-500 group-open:rotate-180"
xmlns="http://www.w3.org/2000/svg"
Expand All @@ -52,8 +54,9 @@ import github from "../images/iconsFront/github-mark.png"
</ul>
</DropdownItems>
</Dropdown>
</li>
<li><a href="#examples">Examples (inactive)</a></li>
</li>

<li><a class="isDisabled" >Examples </a></li>
<!-- <li>
<a
href="https://github.com/FormsWizard/formswizard/blob/main/doc/src/SUMMARY.md"
Expand Down
7 changes: 7 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,13 @@ button:focus-visible {
width: 100%;
}

.isDisabled {
color: currentColor;
cursor: not-allowed;
opacity: 0.5;
text-decoration: none;
}

/* nav version 2 */
.header ul {
margin: 0;
Expand Down

0 comments on commit 09744ed

Please sign in to comment.