feat(projects): visit projects
This commit is contained in:
@@ -14,46 +14,65 @@ export const useProjectsStore = defineStore("projects", {
|
||||
{
|
||||
description: "pihkaal.me - my personal website",
|
||||
thumbnail: PIHKAAL_ME_THUMBNAIL,
|
||||
url: "https://pihkaal.me",
|
||||
},
|
||||
{
|
||||
description: "tlock - fully customizable and cross-platform terminal based clock",
|
||||
description: "tlock - fully customizable and cross-\nplatform terminal based clock",
|
||||
thumbnail: TLOCK_THUMBNAIL,
|
||||
url: "https://github.com/pihkaal/tlock",
|
||||
},
|
||||
{
|
||||
description: "Simple QR - Simple QR code generator with straightforward API",
|
||||
description: "Simple QR - Simple QR code generator\nwith straightforward API",
|
||||
thumbnail: SIMPLE_QR_THUMBNAIL,
|
||||
url: "https://simple-qr.com",
|
||||
},
|
||||
{
|
||||
description: "lilou.cat - My cat's website",
|
||||
thumbnail: LILOU_CAT_THUMBNAIL
|
||||
thumbnail: LILOU_CAT_THUMBNAIL,
|
||||
url: "https://lilou.cat",
|
||||
},
|
||||
{
|
||||
description: "LBF Bot - Custom Discord bot for a gaming group",
|
||||
description: "LBF Bot - Custom Discord bot for\na gaming group",
|
||||
thumbnail: LBF_BOT_THUMBNAIL,
|
||||
url: "https://github.com/pihkaal/lbf-bot",
|
||||
},
|
||||
{
|
||||
description: "Raylib Speedruns - Collection of simple Raylib setups in multiple languages",
|
||||
description: "Raylib Speedruns - Collection of simple\nRaylib setups in multiple languages",
|
||||
thumbnail: RAYLIB_SPEENDRUNS_THUMBNAIL,
|
||||
url: "https://github.com/pihkaal/raylib-speedruns",
|
||||
},
|
||||
{
|
||||
description: "S3P Map Editor - Web based map editor specialized for trucks",
|
||||
description: "S3P Map Editor - Web based map editor\nspecialized for trucks",
|
||||
thumbnail: SP3WEB_THUMBNAIL,
|
||||
url: null,
|
||||
},
|
||||
{
|
||||
description: "S3P Eramba Visualizer - Eramba asset visualization",
|
||||
description: "S3P Eramba Visualizer - Eramba\nasset visualization",
|
||||
thumbnail: SP3WEB_THUMBNAIL,
|
||||
url: null,
|
||||
},
|
||||
{
|
||||
description: "S3P Incident Engine - Automated alerts to Jira",
|
||||
description: "S3P Incident Engine - Automated\nalerts to Jira",
|
||||
thumbnail: SP3WEB_THUMBNAIL,
|
||||
url: null,
|
||||
},
|
||||
{
|
||||
description: "Biobleud - Automated Excel imports for an ERP system",
|
||||
description: "Biobleud - Automated Excel imports\nfor an ERP system",
|
||||
thumbnail: BIOBLEUD_THUMBNAIL,
|
||||
url: null,
|
||||
},
|
||||
],
|
||||
] satisfies {
|
||||
description: string;
|
||||
thumbnail: string;
|
||||
url: string | null;
|
||||
}[],
|
||||
currentProject: 0,
|
||||
}),
|
||||
|
||||
actions: {},
|
||||
actions: {
|
||||
visitProject() {
|
||||
const url = this.projects[this.currentProject]!.url;
|
||||
if (url) navigateTo(url, { external: true, open: { target: "_blank" } });
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user