removed tech-label highlights; clickable techhnologie links

This commit is contained in:
shrt 2025-05-27 19:54:58 +02:00
parent 0d853e695f
commit 38cf54c2e8
3 changed files with 41 additions and 26 deletions

View File

@ -1,15 +0,0 @@
#!/bin/bash
set -e
if [ -z "$1" ]; then
echo "Usage: $0 <project_path>"
exit 1
fi
PROJECT_PATH=$1
echo "Deploying project..."
cd "$PROJECT_PATH" || { echo "Directory not found: $PROJECT_PATH"; exit 1; }
git pull origin main
docker-compose up -d --build
echo "Deployment finished!"

View File

@ -1,10 +1,16 @@
import Link from "next/link";
import React from "react"; import React from "react";
export type TechIcon = "ts" | "next" | "react" | "tailwind" | "PostgreSQL"; export type TechIcon = "ts" | "next" | "react" | "tailwind" | "PostgreSQL";
const tech: { label: string; Logo: (props: any) => JSX.Element }[] = [ const tech: {
label: string;
link: string;
Logo: (props: any) => JSX.Element;
}[] = [
{ {
label: "Tailwind CSS", label: "Tailwind CSS",
link: "https://tailwindcss.com/",
Logo: (props: any) => ( Logo: (props: any) => (
<svg <svg
{...props} {...props}
@ -45,6 +51,7 @@ const tech: { label: string; Logo: (props: any) => JSX.Element }[] = [
}, },
{ {
label: "Typescript", label: "Typescript",
link: "https://www.typescriptlang.org/",
Logo: (props: any) => ( Logo: (props: any) => (
<svg <svg
{...props} {...props}
@ -72,6 +79,7 @@ const tech: { label: string; Logo: (props: any) => JSX.Element }[] = [
}, },
{ {
label: "Next JS", label: "Next JS",
link: "https://nextjs.org/",
Logo: (props: any) => ( Logo: (props: any) => (
<svg <svg
{...props} {...props}
@ -99,6 +107,8 @@ const tech: { label: string; Logo: (props: any) => JSX.Element }[] = [
}, },
{ {
label: "Drizzle ORM", label: "Drizzle ORM",
link: "https://orm.drizzle.team/",
Logo: (props: any) => ( Logo: (props: any) => (
<svg <svg
{...props} {...props}
@ -128,6 +138,7 @@ const tech: { label: string; Logo: (props: any) => JSX.Element }[] = [
{ {
label: "PostgreSQL", label: "PostgreSQL",
link: "https://www.postgresql.org/",
Logo: (props: any) => ( Logo: (props: any) => (
<svg <svg
{...props} {...props}
@ -157,6 +168,7 @@ const tech: { label: string; Logo: (props: any) => JSX.Element }[] = [
{ {
label: "Figma", label: "Figma",
link: "https://www.figma.com",
Logo: (props: any) => ( Logo: (props: any) => (
<svg <svg
{...props} {...props}
@ -184,6 +196,7 @@ const tech: { label: string; Logo: (props: any) => JSX.Element }[] = [
}, },
{ {
label: "Github", label: "Github",
link: "https://github.com/",
Logo: (props: any) => ( Logo: (props: any) => (
<svg <svg
{...props} {...props}
@ -215,18 +228,20 @@ function Tech() {
return ( return (
<div className="py-12 lg:py-20 container relative space-y-8"> <div className="py-12 lg:py-20 container relative space-y-8">
<h3 className="text-sm font-mono text-muted-foreground text-center"> <h3 className="text-sm font-mono text-muted-foreground text-center">
most liked{" "} most liked <span className="text-foreground">technologies</span> and{" "}
<span className="underline text-foreground">technologies</span> and{" "} <span className="text-foreground">tools</span>
<span className="underline text-foreground">tools</span>
</h3> </h3>
<ul className="flex w-full items-center justify-center gap-2 md:gap-4 lg:gap-8 flex-wrap"> <ul className="flex w-full items-center justify-center gap-2 md:gap-4 lg:gap-8 flex-wrap">
{tech.map(({ Logo, label }, idx) => ( {tech.map(({ Logo, label, link }, idx) => (
<li <li key={idx}>
className="flex items-center gap-2 py-2 px-6 rounded-md bg-muted" <Link
key={idx} href={link}
> target="_blank"
<Logo className="size-6" /> className="flex items-center gap-2 py-2 px-6 rounded-md bg-muted"
<span>{label}</span> >
<Logo className="size-6" />
<span>{label}</span>
</Link>
</li> </li>
))} ))}
</ul> </ul>

15
test.yml Normal file
View File

@ -0,0 +1,15 @@
labels:
- "traefik.enable=true"
- "traefik.http.routers.logipedia.rule=Host(`logipedia.shortman.me`)"
- "traefik.http.routers.logipedia.entrypoints=websecure"
- "traefik.http.routers.logipedia.tls.certresolver=myresolver"
networks:
- logipedia_network
- webproxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.pablo-shortman-me.rule=Host(`pablo.shortman.me`)"
- "traefik.http.routers.pablo-shortman-me.entrypoints=websecure"
- "traefik.http.routers.pablo-shortman-me.tls.certresolver=myresolver"
networks:
- webproxy