Skip to content

Commit

Permalink
ui: show dashboards on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-kitz committed Jan 13, 2024
1 parent e8597e6 commit f1e5f60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 51 deletions.
18 changes: 1 addition & 17 deletions app/(dashboard)/dashboard/accounts/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,7 @@ export default async function DashboardPage() {

return (
<>
<div className="md:hidden">
<Image
src="/examples/mail-dark.png"
width={1280}
height={727}
alt="Mail"
className="hidden dark:block"
/>
<Image
src="/examples/mail-light.png"
width={1280}
height={727}
alt="Mail"
className="block dark:hidden"
/>
</div>
<div className="hidden flex-col md:flex">
<div className="flex flex-col">
<AccountsDashboard
accounts={accounts}
mails={mails}
Expand Down
18 changes: 1 addition & 17 deletions app/(dashboard)/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,7 @@ export default async function DashboardPage() {

return (
<>
<div className="md:hidden">
<Image
src="/examples/mail-dark.png"
width={1280}
height={727}
alt="Mail"
className="hidden dark:block"
/>
<Image
src="/examples/mail-light.png"
width={1280}
height={727}
alt="Mail"
className="block dark:hidden"
/>
</div>
<div className="hidden flex-col md:flex">
<div className="flex flex-col">
<Dashboard
accounts={accounts}
mails={mails}
Expand Down
18 changes: 1 addition & 17 deletions app/(dashboard)/dashboard/transactions/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,7 @@ export default async function DashboardPage() {

return (
<>
<div className="md:hidden">
<Image
src="/examples/mail-dark.png"
width={1280}
height={727}
alt="Mail"
className="hidden dark:block"
/>
<Image
src="/examples/mail-light.png"
width={1280}
height={727}
alt="Mail"
className="block dark:hidden"
/>
</div>
<div className="hidden flex-col md:flex">
<div className="flex flex-col">
<TransactionsDashboard
accounts={accounts}
mails={mails}
Expand Down

0 comments on commit f1e5f60

Please sign in to comment.