chore: update favicon rounded

This commit is contained in:
Steven 2023-11-21 21:41:21 +08:00
parent ec581076ef
commit 0b5f54b5b2
5 changed files with 10 additions and 9 deletions

View File

@ -28,7 +28,7 @@ const ShortcutView = (props: Props) => {
<div className="w-full flex flex-row justify-start items-center"> <div className="w-full flex flex-row justify-start items-center">
<span className={classNames("w-5 h-5 flex justify-center items-center overflow-clip shrink-0")}> <span className={classNames("w-5 h-5 flex justify-center items-center overflow-clip shrink-0")}>
{favicon ? ( {favicon ? (
<img className="w-full h-auto rounded-lg" src={favicon} decoding="async" loading="lazy" /> <img className="w-full h-auto rounded" src={favicon} decoding="async" loading="lazy" />
) : ( ) : (
<Icon.CircleSlash className="w-full h-auto text-gray-400" /> <Icon.CircleSlash className="w-full h-auto text-gray-400" />
)} )}

View File

@ -37,7 +37,7 @@ const ShortcutCard = (props: Props) => {
<div className="w-[calc(100%-16px)] flex flex-row justify-start items-center mr-1 shrink-0"> <div className="w-[calc(100%-16px)] flex flex-row justify-start items-center mr-1 shrink-0">
<Link to={`/shortcut/${shortcut.id}`} className={classNames("w-8 h-8 flex justify-center items-center overflow-clip shrink-0")}> <Link to={`/shortcut/${shortcut.id}`} className={classNames("w-8 h-8 flex justify-center items-center overflow-clip shrink-0")}>
{favicon ? ( {favicon ? (
<img className="w-full h-auto rounded-lg" src={favicon} decoding="async" loading="lazy" /> <img className="w-full h-auto rounded" src={favicon} decoding="async" loading="lazy" />
) : ( ) : (
<Icon.CircleSlash className="w-full h-auto text-gray-400" /> <Icon.CircleSlash className="w-full h-auto text-gray-400" />
)} )}

View File

@ -26,7 +26,7 @@ const ShortcutView = (props: Props) => {
> >
<div className={classNames("w-5 h-5 flex justify-center items-center overflow-clip shrink-0")}> <div className={classNames("w-5 h-5 flex justify-center items-center overflow-clip shrink-0")}>
{favicon ? ( {favicon ? (
<img className="w-full h-auto rounded-lg" src={favicon} decoding="async" loading="lazy" /> <img className="w-full h-auto rounded" src={favicon} decoding="async" loading="lazy" />
) : ( ) : (
<Icon.CircleSlash className="w-full h-auto text-gray-400" /> <Icon.CircleSlash className="w-full h-auto text-gray-400" />
)} )}

View File

@ -70,11 +70,13 @@ const SubscriptionSetting: React.FC = () => {
<Divider /> <Divider />
<section className="w-full pb-8 dark:bg-zinc-900 flex items-center justify-center"> <section className="w-full pb-8 dark:bg-zinc-900 flex items-center justify-center">
<div className="w-full px-6"> <div className="w-full px-6">
<div className="max-w-4xl mx-auto mb-12">
<Alert className="!inline-block mb-12"> <Alert className="!inline-block mb-12">
Slash is open source bookmarks and link sharing platform. Our source code is available and accessible on{" "} Slash is open source bookmarks and link sharing platform. Our source code is available and accessible on{" "}
<Link href="https://github.com/boojack/slash">GitHub</Link> so anyone can get it, inspect it and review it. <Link href="https://github.com/boojack/slash">GitHub</Link> so anyone can get it, inspect it and review it.
</Alert> </Alert>
<div className="w-full grid grid-cols-1 gap-12 mt-8 md:grid-cols-3"> </div>
<div className="w-full grid grid-cols-1 gap-6 lg:gap-12 mt-8 md:grid-cols-3 md:max-w-4xl mx-auto">
<div className="flex flex-col p-6 bg-white dark:bg-zinc-800 shadow-lg rounded-lg justify-between border border-gray-300 dark:border-zinc-700"> <div className="flex flex-col p-6 bg-white dark:bg-zinc-800 shadow-lg rounded-lg justify-between border border-gray-300 dark:border-zinc-700">
<div> <div>
<h3 className="text-2xl font-bold text-center dark:text-gray-300">Free</h3> <h3 className="text-2xl font-bold text-center dark:text-gray-300">Free</h3>

View File

@ -2,5 +2,4 @@ interface User {
id: number; id: number;
email: string; email: string;
nickname: string; nickname: string;
role: "ADMIN" | "USER";
} }