Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions apps/dashboard/public/assets/tw-icons/account-abstraction.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions apps/dashboard/public/assets/tw-icons/auth.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions apps/dashboard/public/assets/tw-icons/pay.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions apps/dashboard/public/assets/tw-icons/social-auth.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions apps/dashboard/public/assets/tw-icons/wallets.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion apps/dashboard/src/@/components/blocks/app-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function AppFooter(props: AppFooterProps) {
return (
<footer
className={cn(
"w-full border-border border-t bg-muted/50 py-6 md:py-8",
"w-full border-border border-t bg-white py-6 md:py-8 dark:bg-muted/50",
props.className,
)}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function DatePickerWithRange(props: {
id="date"
variant="outline"
className={cn(
"justify-start gap-2 text-left font-normal",
"justify-start gap-2 bg-card text-left font-normal",
props.className,
)}
>
Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard/src/@/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
:root,
[data-theme="light"] {
/* bg - neutral */
--background: 0 0% 100%;
--background: 0 0% 98%;
--popover: 0 0% 100%;
--card: 0 0% 100%;
--secondary: 0 0% 92%;
Expand Down Expand Up @@ -46,7 +46,7 @@
[data-theme="dark"] {
/* bg - neutral */
--background: 0 0% 0%;
--card: 0 0% 0%;
--card: 0 0% 5%;
--popover: 0 0% 0%;
--secondary: 0 0% 10%;
--muted: 0 0% 9%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,18 @@ export function AccountButton(props: {
<DropdownMenuTrigger asChild>
<Button
size="icon"
className="!p-0 !h-auto size-10 rounded-full hover:ring-2 hover:ring-offset-2"
asChild
className="size-10 rounded-full hover:ring-2 hover:ring-offset-2"
variant="ghost"
>
{/* TODO - set account image */}
<GradientAvatar id={props.account?.id} src={""} className="size-9" />
<button type="button">
{/* TODO - set account image */}
<GradientAvatar
id={props.account?.id}
src={""}
className="size-9"
/>
</button>
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent className="w-[300px] rounded-lg p-0" align="end">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function ProjectCard(props: {
<Link
className="group static before:absolute before:top-0 before:right-0 before:bottom-0 before:left-0 before:z-0"
// remove /connect when we have overview page
href={`/team/${team_slug}/${project.slug}/connect/analytics`}
href={`/team/${team_slug}/${project.slug}`}
>
<h2 className="font-medium text-base">{project.name}</h2>
</Link>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import type { Meta, StoryObj } from "@storybook/react";
import { BadgeContainer, mobileViewport } from "stories/utils";
import { EmptyState } from "./EmptyState";

const meta = {
title: "project/Overview/EmptyState",
component: Component,
parameters: {
layout: "centered",
},
} satisfies Meta<typeof Component>;

export default meta;
type Story = StoryObj<typeof meta>;

export const Desktop: Story = {
parameters: {
nextjs: {
appDirectory: true,
},
},
};

export const Mobile: Story = {
parameters: {
nextjs: {
appDirectory: true,
},
viewport: mobileViewport("iphone14"),
},
};

function Component() {
return (
<div className="container max-w-[1150px] py-8">
<BadgeContainer label="Base">
<EmptyState />
</BadgeContainer>
</div>
);
}
Loading
Loading