Skip to content

Commit

Permalink
chore: update favicon rounded
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed Nov 21, 2023
1 parent ec58107 commit 0b5f54b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion frontend/extension/src/components/ShortcutView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const ShortcutView = (props: Props) => {
<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")}>
{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" />
)}
Expand Down
2 changes: 1 addition & 1 deletion frontend/web/src/components/ShortcutCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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">
<Link to={`/shortcut/${shortcut.id}`} className={classNames("w-8 h-8 flex justify-center items-center overflow-clip shrink-0")}>
{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" />
)}
Expand Down
2 changes: 1 addition & 1 deletion frontend/web/src/components/ShortcutView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const ShortcutView = (props: Props) => {
>
<div className={classNames("w-5 h-5 flex justify-center items-center overflow-clip shrink-0")}>
{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" />
)}
Expand Down
12 changes: 7 additions & 5 deletions frontend/web/src/pages/SubscriptionSetting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@ const SubscriptionSetting: React.FC = () => {
<Divider />
<section className="w-full pb-8 dark:bg-zinc-900 flex items-center justify-center">
<div className="w-full px-6">
<Alert className="!inline-block mb-12">
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.
</Alert>
<div className="w-full grid grid-cols-1 gap-12 mt-8 md:grid-cols-3">
<div className="max-w-4xl mx-auto 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{" "}
<Link href="https://github.com/boojack/slash">GitHub</Link> so anyone can get it, inspect it and review it.
</Alert>
</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>
<h3 className="text-2xl font-bold text-center dark:text-gray-300">Free</h3>
Expand Down
1 change: 0 additions & 1 deletion frontend/web/src/types/modules/user.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ interface User {
id: number;
email: string;
nickname: string;
role: "ADMIN" | "USER";
}

0 comments on commit 0b5f54b

Please sign in to comment.