Back

Version 239

5/23/2024
/** @jsxImportSource https://esm.sh/hono@latest/jsx */
import { useEffect } from 'https://esm.sh/hono@latest/jsx';
import type { FC } from 'hono/jsx';
import RootLayout from "https://esm.town/v/iamseeley/RootLayout";
import UserLinks from "https://esm.town/v/iamseeley/UserLinks";
import UserProfileHeader from "https://esm.town/v/iamseeley/UserProfileHeader";
import UserWidgets from "https://esm.town/v/iamseeley/UserWidgets";

interface Link {
id?: number;
label: string;
url: string;
}

interface EditProfilePageProps {
user: {
id: number;
username: string;
email: string;
name: string;
bio: string;
avatar: string;
profile_theme: string;
links: Link[];
location?: string;
currentlyListening?: string;
currentlyReading?: {
title?: string;
author?: string;
coverImage?: string;
};
currentlyWatching?: {
title?: string;
platform?: string;
posterImage?: string;
};
Updated: May 23, 2024