Skip to content

Commit

Permalink
Remove skip-links
Browse files Browse the repository at this point in the history
  • Loading branch information
wenincode committed Nov 6, 2023
1 parent 62b6309 commit 7abb5f9
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 65 deletions.
14 changes: 0 additions & 14 deletions ui/packages/consul-ui/app/components/app/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,6 @@
{{#let (hash main=(concat guid '-main') Notification=(component 'app/notification')) as |exported|}}

<div class='app' ...attributes>

<div class='skip-links' {{on 'click' this.focus}}>
<PortalTarget @name='app-before-skip-links' @multiple={{true}} />
<a href={{concat '#' exported.main}}>{{t 'components.app.skip_to_content'}}</a>
{{!
In order to add further skip links from within other templates use:
<Portal @target="app-skip-links">
<a href="#sub-content">Skip to subcontent</a>
</Portal>
from within your template
}}
<PortalTarget @name='app-after-skip-links' @multiple={{true}} />
</div>

<ModalLayer />

{{yield exported to='side-nav'}}
Expand Down
3 changes: 0 additions & 3 deletions ui/packages/consul-ui/app/components/app/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
* SPDX-License-Identifier: BUSL-1.1
*/

.app .skip-links {
@extend %skip-links;
}
.app .notifications {
@extend %app-notifications;
}
Expand Down
7 changes: 0 additions & 7 deletions ui/packages/consul-ui/app/components/skip-links/index.scss

This file was deleted.

26 changes: 0 additions & 26 deletions ui/packages/consul-ui/app/components/skip-links/layout.scss

This file was deleted.

14 changes: 0 additions & 14 deletions ui/packages/consul-ui/app/components/skip-links/skin.scss

This file was deleted.

1 change: 0 additions & 1 deletion ui/packages/consul-ui/app/styles/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
@import 'consul-ui/components/route/title';
@import 'consul-ui/components/app-view';
@import 'consul-ui/components/brand-loader';
@import 'consul-ui/components/skip-links';
@import 'consul-ui/components/app';
/* app chrome */
@import 'consul-ui/components/main-header-horizontal';
Expand Down

0 comments on commit 7abb5f9

Please sign in to comment.