feat: update project URLs in projects-item.svelte and projects.ts

This commit is contained in:
Bart van der Braak 2024-01-24 00:18:31 +01:00
parent 18501bf914
commit 7e196ca621
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
<script lang="ts">
import { Circle, ExternalLink, GithubLogo } from 'radix-icons-svelte';
import { Circle, GithubLogo, Globe } from 'radix-icons-svelte';
import { Calendar, Scale } from 'lucide-svelte';
import * as Card from '$lib/components/ui/card';
import type { Project } from '$lib/content/projects';
@ -42,13 +42,13 @@
{#if gitHubUrl || projectUrl}
<div class="flex items-center">
{#if gitHubUrl}
<Button variant="ghost" size="icon" href={gitHubUrl}>
<Button variant="ghost" size="icon" href={gitHubUrl} target="_blank">
<GithubLogo />
</Button>
{/if}
{#if projectUrl}
<Button variant="ghost" size="icon" href={projectUrl}>
<ExternalLink />
<Button variant="ghost" size="icon" href={projectUrl} target="_blank">
<Globe />
</Button>
{/if}
</div>

View file

@ -65,7 +65,7 @@ const projects: Project[] = [
description:
'Keyweave is an open-source tool crafted in Rust to seamlessly fetch secrets from Azure Key Vault and weave them into a convenient .env file.',
gitHubUrl: 'https://www.github.com/bartvdbraak/keyweave',
projectUrl: 'https://docs.rs/crate/keyweave/latest',
projectUrl: 'https://crates.io/crates/keyweave',
year: '2023',
license: 'GPLv3',
languages: [