-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(website): update account dashboard (#619)
- Loading branch information
Showing
35 changed files
with
573 additions
and
201 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"version": "12.4.4", | ||
"version": "12.7.0", | ||
"firestore": { | ||
"version": "1.18.1", | ||
"version": "1.18.2", | ||
"path": "firestore_export", | ||
"metadata_file": "firestore_export/firestore_export.overall_export_metadata" | ||
}, | ||
"auth": { | ||
"version": "12.4.4", | ||
"version": "12.7.0", | ||
"path": "auth_export" | ||
}, | ||
"storage": { | ||
"version": "12.4.4", | ||
"version": "12.7.0", | ||
"path": "storage_export" | ||
} | ||
} |
Binary file modified
BIN
+0 Bytes
(100%)
seed/firestore_export/all_namespaces/all_kinds/all_namespaces_all_kinds.export_metadata
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
seed/firestore_export/firestore_export.overall_export_metadata
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 0 additions & 35 deletions
35
website/src/app/[lang]/[region]/(website)/me/contributions/billing-portal-button.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
website/src/app/[lang]/[region]/(website)/me/contributions/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
import { DefaultPageProps } from '@/app/[lang]/[region]'; | ||
import { ContributionsTable } from '@/app/[lang]/[region]/(website)/me/contributions/contributions-table'; | ||
import { Translator } from '@socialincome/shared/src/utils/i18n'; | ||
import { BillingPortalButton } from './billing-portal-button'; | ||
|
||
export default async function Page({ params }: DefaultPageProps) { | ||
const translator = await Translator.getInstance({ language: params.lang, namespaces: ['website-me'] }); | ||
|
||
return ( | ||
<div className="grid grid-cols-1 gap-4 md:grid-cols-2"> | ||
<div className="flex max-w-lg flex-col space-y-4"> | ||
<ContributionsTable | ||
translations={{ date: translator.t('contributions.date'), amount: translator.t('contributions.amount') }} | ||
{...params} | ||
/> | ||
</div> | ||
<BillingPortalButton /> | ||
<div className="grid grid-cols-1 gap-4"> | ||
<ContributionsTable | ||
translations={{ | ||
date: translator.t('contributions.date'), | ||
amount: translator.t('contributions.amount'), | ||
source: translator.t('contributions.source'), | ||
}} | ||
{...params} | ||
/> | ||
</div> | ||
); | ||
} |
Oops, something went wrong.