fix(uishell): remove navbar footer

This commit is contained in:
Marcus Feitoza 2020-04-18 15:15:07 -03:00
commit ba459dc25d

View file

@ -3,8 +3,6 @@
export let isOpen = undefined;
import { cx } from '../../../lib';
import Icon from '../../Icon/Icon.svelte';
import { closeIcon } from '../constants';
$: footerSpanText = isOpen ? 'Open' : 'Close';
</script>
@ -13,12 +11,4 @@
class={cx('--side-nav__navigation', '--side-nav', '--side-nav--ux', isOpen && '--side-nav--expanded')}
aria-label={ariaLabel}>
<slot />
<footer class={cx('--side-nav__footer')}>
<button class={cx('--side-nav__toggle')} type="button" title="Open">
<div class={cx('--side-nav__icon')}>
<Icon {...closeIcon} />
</div>
<span class={cx('--assistive-text')}>{footerSpanText}</span>
</button>
</footer>
</nav>