init
This commit is contained in:
commit
d761a10bf7
102 changed files with 4761 additions and 0 deletions
22
lib/components/bio/profile/Extra.svelte
Normal file
22
lib/components/bio/profile/Extra.svelte
Normal file
|
@ -0,0 +1,22 @@
|
|||
<script lang="ts">
|
||||
import { faBriefcase, faGraduationCap, faLocationPin } from '@fortawesome/free-solid-svg-icons';
|
||||
import ExtraItem from './ExtraItem.svelte';
|
||||
|
||||
export let location: string | undefined = undefined;
|
||||
export let school: string | undefined = undefined;
|
||||
export let workplace: string | undefined = undefined;
|
||||
</script>
|
||||
|
||||
{#if location || school || workplace}
|
||||
<div class="flex flex-wrap gap-x-3 gap-y-2">
|
||||
{#if location}
|
||||
<ExtraItem icon={faLocationPin} text={location.trim()} />
|
||||
{/if}
|
||||
{#if school}
|
||||
<ExtraItem icon={faGraduationCap} text={school.trim()} />
|
||||
{/if}
|
||||
{#if workplace}
|
||||
<ExtraItem icon={faBriefcase} text={workplace.trim()} />
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
Loading…
Add table
Add a link
Reference in a new issue