Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pages/ResumePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div class="max-w-[700px]">
<section>
<!-- Page title -->
<h1 class="h1 font-aspekta mb-6">My resume</h1>
<h1 id="resume-top" class="h1 font-aspekta mb-6">My resume</h1>

<nav aria-label="Resume sections" class="flex flex-wrap items-center gap-3 text-sm font-medium text-slate-500 dark:text-slate-400 mb-12">
<a
Expand Down
9 changes: 9 additions & 0 deletions src/partials/BackToTopLink.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<template>
<a
class="inline-flex items-center gap-2 rounded-full border border-slate-200/70 px-4 py-2 text-sm font-medium text-slate-600 transition-colors hover:border-fuchsia-400/70 hover:text-slate-800 dark:border-slate-700/80 dark:text-slate-300 dark:hover:text-slate-100"
href="#resume-top"
>
<span aria-hidden="true">↑</span>
Back to top
</a>
</template>
6 changes: 5 additions & 1 deletion src/partials/ExperiencePartial.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<section class="space-y-8">
<h2 class="h2 font-aspekta text-slate-700 dark:text-slate-300">Work Experience</h2>
<div class="flex flex-wrap items-center justify-between gap-4">
<h2 class="h2 font-aspekta text-slate-700 dark:text-slate-300">Work Experience</h2>
<BackToTopLink />
</div>
<ul class="space-y-8">
<!-- Item -->
<li v-for="item in props.experience" :key="item.uuid" class="relative group">
Expand Down Expand Up @@ -40,6 +43,7 @@
</section>
</template>
<script setup lang="ts">
import BackToTopLink from '@partials/BackToTopLink.vue';
import type { ExperienceResponse } from '@api/response/index.ts';

const props = defineProps<{
Expand Down
6 changes: 5 additions & 1 deletion src/partials/RecommendationPartial.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<section class="space-y-8">
<h2 class="h3 font-aspekta text-slate-800 dark:text-slate-100">Recommendations</h2>
<div class="flex flex-wrap items-center justify-between gap-4">
<h2 class="h3 font-aspekta text-slate-800 dark:text-slate-100">Recommendations</h2>
<BackToTopLink />
</div>
<ul class="space-y-8">
<!-- Item -->
<li v-for="item in processedRecommendations" :key="item.uuid" class="relative group">
Expand Down Expand Up @@ -29,6 +32,7 @@
<script setup lang="ts">
import { computed } from 'vue';
import DOMPurify from 'dompurify';
import BackToTopLink from '@partials/BackToTopLink.vue';
import { image, date } from '@/public.ts';
import type { RecommendationsResponse } from '@api/response/recommendations-response.ts';
import { renderMarkdown } from '@/support/markdown.ts';
Expand Down
Loading