Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sidenav links #1742

Merged
merged 2 commits into from
Jun 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions site/layouts/partials/sidenav/standard.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@
{{ range.Site.Menus.gettingstarted }}
<li class="relative">
<a
href="{{ .URL }}"
{{ if in .URL "/learn/te-foundations/basics/introduction/" }}
href="https://material-minimal.com/learn/material-minimal/about/"
target="_blank"
{{ else }}
href="{{ .URL }}"
{{ end }}
class="{{ if $currentNode.IsMenuCurrent "gettingstarted" . }}
bg-blue-50 dark:bg-blue-600/10 dark:hover:bg-blue-600/10
{{ end }} flex h-6 cursor-pointer items-center truncate rounded-[5px] py-4 pl-[3.4rem] pr-6 text-[0.78rem] text-gray-600 outline-none transition duration-300 ease-linear hover:bg-slate-50 hover:text-inherit hover:outline-none focus:bg-slate-50 focus:text-inherit focus:outline-none active:bg-slate-50 active:text-inherit active:outline-none data-[te-sidenav-state-active]:text-inherit data-[te-sidenav-state-focus]:outline-none motion-reduce:transition-none dark:text-gray-300 dark:hover:bg-white/10 dark:focus:bg-white/10 dark:active:bg-white/10"
Expand Down Expand Up @@ -707,7 +712,7 @@
<li>
<a
target="_blank"
href="https://material-minimal.com/"
href="https://material-minimal.com/learn/design-hacks/tips-and-tricks/"
class="flex h-6 cursor-pointer items-center truncate rounded-[5px] py-4 pl-[3.4rem] pr-6 text-[0.78rem] text-gray-600 outline-none transition duration-300 ease-linear hover:bg-slate-50 hover:text-inherit hover:outline-none focus:bg-slate-50 focus:text-inherit focus:outline-none active:bg-slate-50 active:text-inherit active:outline-none data-[te-sidenav-state-active]:text-inherit data-[te-sidenav-state-focus]:outline-none motion-reduce:transition-none dark:text-gray-300 dark:hover:bg-white/10 dark:focus:bg-white/10 dark:active:bg-white/10"
data-te-sidenav-link-ref=""
tabindex="0">
Expand Down