-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd537a8
commit fe22ef5
Showing
19 changed files
with
130 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,20 @@ | ||
<script lang="ts" setup> | ||
import type { Cv } from '~/types/cvfy' | ||
import { useCvState } from '~/data/useCvState' | ||
defineProps<Pick<Cv, 'aboutme' | 'layout'>>() | ||
const { formSettings } = useCvState() | ||
</script> | ||
|
||
<template> | ||
<section | ||
class="cv__section cv__section--main" | ||
> | ||
<section class="cv__section cv__section--main"> | ||
<h4 | ||
class="cv__section-title cv__section-title--main" | ||
:class="layout === 'one-column' && 'sr-only'" | ||
:class="formSettings.layout === 'one-column' && 'sr-only'" | ||
> | ||
{{ $t("about-me") }} | ||
</h4> | ||
<p class="font-light"> | ||
<!-- Avoids unnecessary spaces at the begging while still allowing break lines --> | ||
<span class="whitespace-pre-wrap">{{ aboutme }}</span> | ||
<span class="whitespace-pre-wrap">{{ formSettings.aboutme }}</span> | ||
</p> | ||
</section> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<script lang="ts" setup> | ||
import type { Cv } from '~/types/cvfy' | ||
import { useCvState } from '~/data/useCvState' | ||
defineProps<Pick<Cv, 'name' | 'lastName'>>() | ||
const { formSettings } = useCvState() | ||
</script> | ||
|
||
<template> | ||
<h2 | ||
class="text-primary text-xl/normal uppercase font-bold tracking-wide" | ||
> | ||
{{ name }} {{ lastName }} | ||
<h2 class="text-primary text-xl/normal uppercase font-bold tracking-wide"> | ||
{{ formSettings.name }} {{ formSettings.lastName }} | ||
</h2> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.