mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-14 15:54:13 +01:00
66 lines
1.4 KiB
TypeScript
66 lines
1.4 KiB
TypeScript
interface WakatimeData {
|
|
name: string
|
|
percent: number
|
|
}
|
|
|
|
export interface Stats {
|
|
coding: {
|
|
grand_total: {
|
|
total_seconds_including_other_language: number
|
|
}
|
|
range: {
|
|
start: string
|
|
}
|
|
}
|
|
editors: WakatimeData[]
|
|
os: WakatimeData[]
|
|
languages: WakatimeData[]
|
|
}
|
|
|
|
interface LanyardActivity {
|
|
name: string
|
|
state: string
|
|
details: string
|
|
timestamps: {
|
|
start: number
|
|
}
|
|
assets?: {
|
|
small_text: string
|
|
}
|
|
}
|
|
|
|
export interface Activity {
|
|
data: {
|
|
activities: LanyardActivity[]
|
|
}
|
|
}
|
|
|
|
export const IDEs = [
|
|
{ name: 'Visual Studio Code', icon: 'i-logos:visual-studio-code' },
|
|
{ name: 'IntelliJ IDEA Ultimate', icon: 'i-logos:intellij-idea' },
|
|
{ name: 'WebStorm', icon: 'i-logos:webstorm' },
|
|
{ name: 'PyCharm Professional', icon: 'i-logos:pycharm' },
|
|
{ name: 'Cursor', icon: 'i-vscode-icons-file-type-cursorrules' }
|
|
] as const
|
|
|
|
interface Nav {
|
|
label: string
|
|
to: string
|
|
icon?: string
|
|
target?: string
|
|
}
|
|
|
|
export const navs: readonly Nav[] = [
|
|
{ label: 'home', to: '/', icon: 'house-duotone' },
|
|
{ label: 'uses', to: '/uses', icon: 'tree-evergreen-duotone' },
|
|
{ label: 'projects', to: '/projects', icon: 'folder-duotone' },
|
|
{ label: 'hobbies', to: '/hobbies', icon: 'game-controller-duotone' },
|
|
{ label: 'ecosystem', to: '/ecosystem', icon: 'graph-duotone' },
|
|
{
|
|
label: 'resume',
|
|
icon: 'address-book-duotone',
|
|
to: 'resumes/en',
|
|
target: '_blank'
|
|
}
|
|
] as const
|