-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dark mode: add new navbar mode selector example
- Loading branch information
1 parent
9d3b206
commit caa433a
Showing
4 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
site/content/docs/5.3/examples/navbar-mode-selector/index.html
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
layout: examples | ||
title: Navbar with mode selector | ||
aliases: | ||
- "/examples/navbar-mode-selector" | ||
- "/docs/examples/navbar-mode-selector" | ||
--- | ||
|
||
<main> | ||
<h1 class="visually-hidden">Navbar containing a mode selector</h1> | ||
<header class="sticky-top" data-bs-theme="dark"> | ||
{{< orange-supra mode="languages" aria_label="Supra navigation - Mode selector example" >}} | ||
{{< /orange-supra >}} | ||
|
||
{{< orange-global-headers id="global-header-1" mode="theme" demo=true aria_label="Global navigation - Mode selector example">}} | ||
{{< /orange-global-headers >}} | ||
</header> | ||
<div class="container-xxl pt-4"> | ||
<h1>Title</h1> | ||
<p class="lead">Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorum mollitia provident fuga animi voluptatem consequatur perspiciatis cum quos maiores, nesciunt dicta et dolor repellat eum odio id nihil, eos nostrum?</p> | ||
<button type="button" class="btn btn-primary">Primary</button> | ||
<button type="button" class="btn btn-secondary">Secondary</button> | ||
</div> | ||
</main> |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.