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>
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'))
useIntervalFn(async () => await refresh(), 5000)
@@ -38,11 +39,11 @@ const getActivity = computed(() => {
ago: locale.value === 'en'
? timeAgo
: timeAgo
.replace('ago', '')
.replace('hours', 'heures')
.replace('minutes', 'minutes')
.replace('seconds', 'secondes')
.trim(),
.replace('ago', '')
.replace('hours', 'heures')
.replace('minutes', 'minutes')
.replace('seconds', 'secondes')
.trim(),
formated: {
date: formatDate(timestamps.start, 'DD MMM YYYY'),
time: formatDate(timestamps.start, 'HH:mm:ss'),

View File

@@ -54,7 +54,7 @@ export function useVisitors() {
}
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
wsRef.value = null
@@ -80,7 +80,7 @@ export function useVisitors() {
ws.close()
return
}
console.log('Stats WebSocket connected')
console.warn('Stats WebSocket connected')
isConnected.value = true
isLoading.value = false
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
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"}.

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/)
- [Keras](https://keras.io/)
- [PyTorch](https://pytorch.org/)

View File

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

Binary file not shown.

View File

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