Update dependencies
This commit is contained in:
@ -53,7 +53,7 @@
|
||||
</section>
|
||||
{/if}
|
||||
|
||||
<style>
|
||||
<style lang="less">
|
||||
@import '../styles/variables.module.less';
|
||||
|
||||
a {
|
||||
|
@ -1,4 +1,4 @@
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import svgSprite from '../../static/build/icons-sprite.svg'
|
||||
export let className
|
||||
export let name
|
||||
|
@ -1,4 +1,4 @@
|
||||
<script lang="typescript">
|
||||
<script lang="ts">
|
||||
import { format } from 'date-fns'
|
||||
import type { PostContent } from '../../routes/blog/_content'
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<style>
|
||||
<style lang="less">
|
||||
@import '../../styles/variables.module.less';
|
||||
|
||||
.tags-list {
|
||||
|
@ -1,25 +1,27 @@
|
||||
<script lang="typescript">
|
||||
import type { ProjectAttributes } from "../../routes/portfolio/index.json";
|
||||
<script lang="ts">
|
||||
import type { ProjectAttributes } from '../../routes/portfolio/index.json'
|
||||
|
||||
export let project: ProjectAttributes
|
||||
</script>
|
||||
|
||||
<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>
|
||||
<aside />
|
||||
</article>
|
||||
|
||||
<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>
|
||||
<aside>
|
||||
</aside>
|
||||
</article>
|
||||
|
Reference in New Issue
Block a user