feat(tl):back button on all tl

This commit is contained in:
2026-03-09 18:05:09 +07:00 Unverified
parent e25f044fd8
commit 683c0f602a
2 changed files with 5 additions and 1 deletions
Regular → Executable
+4
View File
@@ -4,6 +4,7 @@ import Link from "next/link";
import Image from "@/components/image";
import { db } from "@/lib/db";
import { tierlistTypes, tierlistVersions } from "@/lib/db/schema";
import { ArrowLeft } from "lucide-react";
export const metadata: Metadata = {
title: "จัดเทียร์ลิสต์",
@@ -33,6 +34,9 @@ export default async function TierlistSelectionPage({
<div className="max-w-7xl min-h-full flex flex-col gap-6 mx-auto py-8 px-4">
{vers.map((t) => (
<div className="flex flex-col gap-1" key={t.id}>
<Link href="/tl" className="flex hover:underline cursor-default text-muted-foreground">
<ArrowLeft/> กลับไปหน้าแรก
</Link>
<div className="font-bold text-4xl">
<div className="px-2 py-1 border w-fit rounded-md bg-[#2228]">
{t.name}
+1 -1
View File
@@ -50,7 +50,7 @@ export default async function TierlistSelectionPage() {
</span>
</div>
<SimpleTooltip text="ดูเทียร์ลิสต์ของคอนเทนต์นี้ทั้งหมด">
<span className="text-sm text-muted-foreground ml-2">
<span className="text-sm font-normal text-muted-foreground ml-2 hover:underline ">
ดูทั้งหมด
</span>
</SimpleTooltip>