feat: added publications
This commit is contained in:
parent
1e2ad78314
commit
e042996b55
8 changed files with 148 additions and 0 deletions
40
src/lib/components/publications/PublicationListItem.svelte
Normal file
40
src/lib/components/publications/PublicationListItem.svelte
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<script lang="ts">
|
||||
export let title: string;
|
||||
export let authors: string[];
|
||||
export let conference: string;
|
||||
export let pdf: string;
|
||||
</script>
|
||||
|
||||
<li>
|
||||
<a class="main" href={pdf}>
|
||||
<span>
|
||||
{#each authors as author, i}
|
||||
{#if i != authors.length && i != 0}
|
||||
,
|
||||
{/if}
|
||||
{#if author == 'Alexander Daichendt'}
|
||||
<b>{author}</b>
|
||||
{:else}
|
||||
{author}
|
||||
{/if}
|
||||
{/each}
|
||||
</span>
|
||||
|
||||
{title}
|
||||
|
||||
{conference}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<style>
|
||||
.main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue