Merge remote-tracking branch 'origin/master'

# Conflicts:
#	content/portfolio/bikes-glm.md
This commit is contained in:
2025-02-02 22:17:55 +01:00
12 changed files with 23 additions and 24 deletions

View File

@@ -1,5 +1,6 @@
<script lang="ts" setup> <script lang="ts" setup>
import { type Activity, IDEs } from '~~/types' import type { Activity } from '~~/types'
import { IDEs } from '~~/types'
const { data: activity, refresh } = await useAsyncData<Activity>('activity', () => $fetch('/api/activity')) const { data: activity, refresh } = await useAsyncData<Activity>('activity', () => $fetch('/api/activity'))
useIntervalFn(async () => await refresh(), 5000) useIntervalFn(async () => await refresh(), 5000)
@@ -38,11 +39,11 @@ const getActivity = computed(() => {
ago: locale.value === 'en' ago: locale.value === 'en'
? timeAgo ? timeAgo
: timeAgo : timeAgo
.replace('ago', '') .replace('ago', '')
.replace('hours', 'heures') .replace('hours', 'heures')
.replace('minutes', 'minutes') .replace('minutes', 'minutes')
.replace('seconds', 'secondes') .replace('seconds', 'secondes')
.trim(), .trim(),
formated: { formated: {
date: formatDate(timestamps.start, 'DD MMM YYYY'), date: formatDate(timestamps.start, 'DD MMM YYYY'),
time: formatDate(timestamps.start, 'HH:mm:ss'), time: formatDate(timestamps.start, 'HH:mm:ss'),

View File

@@ -54,7 +54,7 @@ export function useVisitors() {
} }
const handleClose = (event: CloseEvent) => { const handleClose = (event: CloseEvent) => {
console.log('Visitors WebSocket closed:', event.code, event.reason) console.warn('Visitors WebSocket closed:', event.code, event.reason)
isConnected.value = false isConnected.value = false
wsRef.value = null wsRef.value = null
@@ -80,7 +80,7 @@ export function useVisitors() {
ws.close() ws.close()
return return
} }
console.log('Stats WebSocket connected') console.warn('Stats WebSocket connected')
isConnected.value = true isConnected.value = true
isLoading.value = false isLoading.value = false
error.value = null error.value = null

View File

@@ -31,4 +31,3 @@ As well as programming, I enjoy :hover-text{hover="Sport allows me to burn off e
:hover-text{hover="Travelling frees me and gets me away from it all ✈️" text="travelling"}. My passion, commitment and :hover-text{hover="Travelling frees me and gets me away from it all ✈️" text="travelling"}. My passion, commitment and
eagerness to learn and progress are the qualities that enable me to succeed in my :hover-text{hover="Career already eagerness to learn and progress are the qualities that enable me to succeed in my :hover-text{hover="Career already
begun and far from over 😎" text="career"} and :hover-text{hover="Only 2 years of study left 💪" text="studies"}. begun and far from over 😎" text="career"} and :hover-text{hover="Only 2 years of study left 💪" text="studies"}.

View File

@@ -29,4 +29,3 @@ The goal is to improve my level of understanding of machine learning and data sc
- [TensorFlow](https://www.tensorflow.org/) - [TensorFlow](https://www.tensorflow.org/)
- [Keras](https://keras.io/) - [Keras](https://keras.io/)
- [PyTorch](https://pytorch.org/) - [PyTorch](https://pytorch.org/)

View File

@@ -1,7 +1,7 @@
{ {
"name": "artsite", "name": "artsite",
"private": true,
"type": "module", "type": "module",
"private": true,
"packageManager": "pnpm@9.5.0", "packageManager": "pnpm@9.5.0",
"scripts": { "scripts": {
"build": "nuxt build", "build": "nuxt build",
@@ -36,8 +36,8 @@
"@tailwindcss/typography": "^0.5.16", "@tailwindcss/typography": "^0.5.16",
"@types/node": "^22.12.0", "@types/node": "^22.12.0",
"@vueuse/core": "^12.5.0", "@vueuse/core": "^12.5.0",
"@vueuse/nuxt": "^12.5.0",
"@vueuse/math": "^12.5.0", "@vueuse/math": "^12.5.0",
"@vueuse/nuxt": "^12.5.0",
"drizzle-kit": "^0.30.3", "drizzle-kit": "^0.30.3",
"eslint": "^9.19.0", "eslint": "^9.19.0",
"typescript": "^5.7.3", "typescript": "^5.7.3",

Binary file not shown.

View File

@@ -49,7 +49,7 @@ export const IDEs = [
export interface Tag { export interface Tag {
label: string label: string
icon: string icon: string
color: BadgeColor color: string
title?: string title?: string
translation: string translation: string
} }