Added color converter icon for PageTitle component
This commit is contained in:
parent
9a4749f4ab
commit
8324596b77
1 changed files with 4 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import { Show } from 'solid-js'
|
||||||
import { RiSystemLockPasswordLine } from 'solid-icons/ri'
|
import { RiSystemLockPasswordLine } from 'solid-icons/ri'
|
||||||
import { FiHash } from 'solid-icons/fi'
|
import { FiHash } from 'solid-icons/fi'
|
||||||
import { Si1password } from 'solid-icons/si'
|
import { Si1password } from 'solid-icons/si'
|
||||||
|
import { TbColorSwatch } from 'solid-icons/tb'
|
||||||
|
|
||||||
export default (props: { title: string; description: string }) => {
|
export default (props: { title: string; description: string }) => {
|
||||||
return (
|
return (
|
||||||
|
|
@ -16,6 +17,9 @@ export default (props: { title: string; description: string }) => {
|
||||||
<Show when={props.title === 'Password Manager'}>
|
<Show when={props.title === 'Password Manager'}>
|
||||||
<Si1password class="title__icon" opacity={1} />
|
<Si1password class="title__icon" opacity={1} />
|
||||||
</Show>
|
</Show>
|
||||||
|
<Show when={props.title === 'Color Converter'}>
|
||||||
|
<TbColorSwatch class="title__icon" opacity={1} />
|
||||||
|
</Show>
|
||||||
<h1 class="title__text">{props.title}</h1>
|
<h1 class="title__text">{props.title}</h1>
|
||||||
<p class="title__description">{props.description}</p>
|
<p class="title__description">{props.description}</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue