-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
63dc207
commit c7b6a95
Showing
2 changed files
with
25 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
/* eslint-disable local-rules/no-class-without-style */ | ||
import { Show } from 'solid-js'; | ||
import { useInboxContext } from 'src/ui/context'; | ||
import { Novu } from '../../icons'; | ||
|
||
export const Footer = () => { | ||
const { hideBranding } = useInboxContext(); | ||
|
||
return ( | ||
<div class="nt-flex nt-shrink-0 nt-justify-center nt-items-center nt-gap-1 nt-mt-auto nt-pt-9 nt-pb-3 nt-text-foreground-alpha-200"> | ||
<Novu /> | ||
<span class="nt-text-xs">Powered by Novu</span> | ||
</div> | ||
<Show when={!hideBranding()}> | ||
<div class="nt-flex nt-shrink-0 nt-justify-center nt-items-center nt-gap-1 nt-mt-auto nt-pt-9 nt-pb-3 nt-text-foreground-alpha-200"> | ||
<Novu /> | ||
<span class="nt-text-xs">Powered by Novu</span> | ||
</div> | ||
</Show> | ||
); | ||
}; |
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