-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert global-navbar to Svelte and add mobile support (#103)
- Loading branch information
Showing
27 changed files
with
722 additions
and
385 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
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...es/astro-theme/components/GlobalNav.astro → .../components/nav/global/GlobalNavbar.astro
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,7 +1,7 @@ | ||
--- | ||
import EventBanner from "./EventBanner.svelte"; | ||
import GlobalNavbar from "@leaningtech/global-navbar/include.html"; | ||
import Nav from "@leaningtech/global-navbar/Wrapper.astro"; | ||
--- | ||
|
||
<EventBanner client:idle /> | ||
<GlobalNavbar /> | ||
<Nav /> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# global-navbar | ||
|
||
This is a Svelte component for the navigation bar that appears across almost all Leaning Technologies websites. | ||
|
||
It can also be built with `pnpm build` to produce a hydratable version of the component ready to be used in non-JS apps (such as WordPress sites). The WordPress plugin is available at `wordpress-plugin/global-navbar`. | ||
|
||
To develop this component, launch a site such as `sites/labs` and observe the changes there. |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.