reset commits
This commit is contained in:
commit
cf5af3cc23
55 changed files with 6825 additions and 0 deletions
23
src/components/PageTitle/PageTitle.tsx
Normal file
23
src/components/PageTitle/PageTitle.tsx
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import './PageTitle.sass'
|
||||
import { Show } from 'solid-js'
|
||||
import { RiSystemLockPasswordLine } from 'solid-icons/ri'
|
||||
import { FiHash } from 'solid-icons/fi'
|
||||
import { Si1password } from 'solid-icons/si'
|
||||
|
||||
export default (props: { title: string; description: string }) => {
|
||||
return (
|
||||
<section class="title">
|
||||
<Show when={props.title === 'Password Generator'}>
|
||||
<RiSystemLockPasswordLine class="title__icon" opacity={1} />
|
||||
</Show>
|
||||
<Show when={props.title === 'Hash Generator'}>
|
||||
<FiHash class="title__icon" opacity={1} />
|
||||
</Show>
|
||||
<Show when={props.title === 'Password Manager'}>
|
||||
<Si1password class="title__icon" opacity={1} />
|
||||
</Show>
|
||||
<h1 class="title__text">{props.title}</h1>
|
||||
<p class="title__description">{props.description}</p>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue