Skip to content

Commit 80c2732

Browse files
committed
fix portfolio
1 parent 221cc66 commit 80c2732

14 files changed

Lines changed: 16 additions & 486 deletions

File tree

app/app.config.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,13 @@ export default defineAppConfig({
88
phone: '+374(94) 161-331',
99
address: 'Armenia, Ararat Vedi.vosketap i.hakobyan 28',
1010
telegram: '@Vahesargsyan2005',
11-
available: true,
11+
available: false,
1212
birthday: '2005-03-30',
1313
experienceStartDate: '2022-01-01'
1414
},
15-
theme: {
16-
radius: 0.25,
17-
blackAsPrimary: false
18-
},
1915
ui: {
2016
colors: {
21-
primary: 'red',
17+
primary: 'blue',
2218
neutral: 'neutral'
2319
},
2420
card: {
@@ -72,12 +68,6 @@ export default defineAppConfig({
7268
'to': 'https://www.npmjs.com/~vahesargsyan',
7369
'target': '_blank',
7470
'aria-label': 'Vahe on NPM'
75-
},
76-
{
77-
'icon': 'i-simple-icons-modrinth',
78-
'to': 'https://modrinth.com/user/VaheSargsyan',
79-
'target': '_blank',
80-
'aria-label': 'Vahe on Modrinth'
8171
}
8272
]
8373
}

app/app.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,10 @@
22
import * as locales from '@nuxt/ui/locale'
33
import AppIcons from '~/components/AppIcons.vue'
44
5-
const appConfig = useAppConfig()
65
const colorMode = useColorMode()
76
const { locale } = useI18n()
87
const color = computed(() => colorMode.value === 'dark' ? '#020618' : 'white')
98
10-
const blackAsPrimary = computed(() => appConfig.theme.blackAsPrimary ? `:root { --ui-primary: black; } .dark { --ui-primary: white; }` : ':root {}')
11-
129
useHead({
1310
meta: [
1411
{ charset: 'utf-8' },
@@ -18,21 +15,16 @@ useHead({
1815
link: [
1916
{ rel: 'icon', href: '/favicon.ico' }
2017
],
21-
style: [
22-
{ innerHTML: blackAsPrimary, id: 'nuxt-ui-black-as-primary', tagPriority: -2 }
23-
],
2418
htmlAttrs: {
2519
lang: locale.value
2620
}
2721
})
2822
29-
// SEO
3023
useSeoMeta({
3124
ogImage: '/avatar-og.jpg',
3225
twitterImage: '/avatar-og.jpg',
3326
twitterCard: 'summary'
3427
})
35-
3628
</script>
3729

3830
<template>

app/components/AppFooter.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ const { footer } = useAppConfig()
77
:ui="{ left: 'text-xs mt-0', container: 'px-0 md:px-0 lg:px-0 flex flex-row-reverse lg:flex-row w-full justify-between' }"
88
>
99
<template #left>
10-
<p class="text-primary">{{ footer.credits }}</p>
10+
<p class="text-primary">
11+
{{ footer.credits }}
12+
</p>
1113
</template>
1214

1315
<template #right>

app/components/SeasonalAvatar.vue

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
<script setup lang="ts">
2-
import { computed } from 'vue'
3-
import { NuxtImg } from '#components'
4-
52
interface Props {
63
src: string
74
alt: string
@@ -10,22 +7,6 @@ interface Props {
107
118
const props = defineProps<Props>()
129
13-
const month = new Date().getMonth() + 1
14-
15-
const season = computed(() => {
16-
if ([12, 1, 2].includes(month)) return 'winter'
17-
if ([3, 4, 5].includes(month)) return 'spring'
18-
if ([6, 7, 8].includes(month)) return 'summer'
19-
return 'autumn'
20-
})
21-
22-
const seasonalHats: Record<string, string> = {
23-
winter: '/avatars/winter.png',
24-
spring: '/avatars/spring.png',
25-
summer: '/avatars/summer.png',
26-
autumn: '/avatars/autumn.png'
27-
}
28-
2910
const size = computed(() => props.size ?? 112)
3011
</script>
3112

@@ -34,23 +15,13 @@ const size = computed(() => props.size ?? 112)
3415
:style="{ width: size + 'px', height: size + 'px' }"
3516
class="relative"
3617
>
37-
<!-- <NuxtImg -->
38-
<!-- :src="props.src" -->
39-
<!-- :alt="props.alt" -->
40-
<!-- :width="size" -->
41-
<!-- :height="size" -->
42-
<!-- format="webp" -->
43-
<!-- class="rounded-full border border-muted w-full h-full" -->
44-
<!-- /> -->
45-
4618
<NuxtImg
47-
v-if="season"
48-
:src="seasonalHats[season]"
19+
:src="props.src"
4920
:alt="props.alt"
5021
:width="size"
5122
:height="size"
5223
format="webp"
53-
class="rounded-full border border-muted w-full h-full pointer-events-none select-none"
24+
class="rounded-full border border-muted w-full h-full"
5425
/>
5526
</div>
5627
</template>

app/components/seasonal/ChristmasLights.vue

Lines changed: 0 additions & 161 deletions
This file was deleted.

app/components/seasonal/FallingLeaves.vue

Lines changed: 0 additions & 91 deletions
This file was deleted.

0 commit comments

Comments
 (0)