Edit styling and fonts
This commit is contained in:
@ -2,16 +2,22 @@
|
||||
export let project
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.project-image {
|
||||
float: right;
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<article class="project">
|
||||
<h3>{project.name}</h3>
|
||||
<section class="description">
|
||||
{#if project.image}
|
||||
<img src="{project.image.source}" class="project-image" alt="{project.image.image_description}" />
|
||||
{/if}
|
||||
{@html project.description}
|
||||
</section>
|
||||
{#if project.image}
|
||||
<aside>
|
||||
<img src="{project.image}" class="project-image" alt="{project.image.description}" />
|
||||
</aside>
|
||||
{/if}
|
||||
<aside>
|
||||
</aside>
|
||||
</article>
|
||||
|
Reference in New Issue
Block a user