minor updates

This commit is contained in:
Ren Amamiya
2023-06-18 11:24:57 +07:00
parent 3cc24dc8c1
commit 7ec284d4a5
15 changed files with 174 additions and 164 deletions

View File

@@ -2,7 +2,7 @@ export function Page() {
return (
<div className="flex flex-col justify-between h-full w-full">
<div className="w-full h-full flex flex-col justify-center items-center gap-4 overflow-hidden">
<h1 className="animate-moveBg bg-gradient-to-r from-fuchsia-400 via-green-200 to-orange-400 bg-clip-text text-5xl font-bold leading-none text-transparent">
<h1 className="text-white text-5xl font-bold leading-none text-transparent">
Preserve your freedom
</h1>
<div className="mt-4 flex flex-col gap-1.5">

View File

@@ -107,7 +107,7 @@ export function Page() {
async function fetchChannelMessages() {
try {
const ids = [];
const channels: any = await getChannels(10, 0);
const channels: any = await getChannels();
channels.forEach((channel) => {
ids.push(channel.event_id);
});

View File

@@ -56,7 +56,7 @@ export function FeedBlock({ params }: { params: any }) {
}, [notes.length, rowVirtualizer.getVirtualItems()]);
return (
<div className="shrink-0 w-[420px] border-r border-zinc-900">
<div className="shrink-0 w-[400px] border-r border-zinc-900">
<div
data-tauri-drag-region
className="h-11 w-full flex items-center justify-between px-3 border-b border-zinc-900"

View File

@@ -103,7 +103,7 @@ export function FollowingBlock({ block }: { block: number }) {
};
return (
<div className="shrink-0 w-[420px] border-r border-zinc-900">
<div className="shrink-0 w-[400px] border-r border-zinc-900">
<div
data-tauri-drag-region
className="h-11 w-full inline-flex items-center justify-center border-b border-zinc-900"

View File

@@ -10,7 +10,7 @@ export function ImageBlock({ params }: { params: any }) {
};
return (
<div className="shrink-0 w-[360px] flex-col flex border-r border-zinc-900">
<div className="shrink-0 w-[350px] flex-col flex border-r border-zinc-900">
<div
data-tauri-drag-region
className="h-11 w-full flex items-center justify-between px-3 border-b border-zinc-900"

View File

@@ -23,7 +23,7 @@ export function ThreadBlock({ params }: { params: any }) {
};
return (
<div className="shrink-0 w-[420px] border-r border-zinc-900">
<div className="shrink-0 w-[400px] border-r border-zinc-900">
<div
data-tauri-drag-region
className="h-11 w-full flex items-center justify-between px-3 border-b border-zinc-900"