update Readme and minor css changes

This commit is contained in:
Philipp Traber
2025-02-19 11:56:20 +01:00
parent 65a75080a4
commit 87478c9a55
9 changed files with 37 additions and 9 deletions
+1 -2
View File
@@ -1,9 +1,8 @@
"use server"
import { set, z } from "zod";
import { z } from "zod";
import prisma from "../../prisma/prisma";
import { revalidatePath } from "next/cache";
import toast from "react-hot-toast";
export async function createLinkBlock(prevState: any, formData: FormData) {
+2 -2
View File
@@ -28,7 +28,7 @@ export default async function CustomPageComponent(params: { customPage: CustomPa
className="rounded-full zoom-animated"
/>
<h1 className="mt-5 text-center zoom-animated">{customPage.title}</h1>
<h1 className="my-10 text-center zoom-animated">{customPage.title}</h1>
<div className="w-full max-w-96 p-2">
{linkBlocks.map((block, index) => (
@@ -39,7 +39,7 @@ export default async function CustomPageComponent(params: { customPage: CustomPa
>
<a href={`/${block.redirectPage.page.shortcode}`}>
<div className="relative flex items-center">
<div className="flex-shrink-0"><LinkFavicon url={block.redirectPage.dest} /></div>
<div className="flex-shrink-0 w-8 h-8"><LinkFavicon url={block.redirectPage.dest} /></div>
<div className="absolute left-1/2 transform -translate-x-1/2 text-center font-bold">{block.title}</div>
</div>
</a>