Initial commit
This commit is contained in:
20
src/components/Hero.tsx
Normal file
20
src/components/Hero.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { useI18n } from "@solid-primitives/i18n";
|
||||
|
||||
import styles from './Hero.module.css';
|
||||
|
||||
export default () => {
|
||||
const [t] = useI18n();
|
||||
|
||||
return (
|
||||
<header class={styles.Hero}>
|
||||
<div>
|
||||
<h1 class={styles.gradientText}>
|
||||
{t('my_name')}
|
||||
</h1>
|
||||
<div>
|
||||
{t('tagline')}
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
)
|
||||
};
|
||||
Reference in New Issue
Block a user