Refactor admin dashboard loader and update translations
The admin-dashboard.loader file was refactored to use a newly created AdminDashboardService. This service encapsulates the logic for fetching dashboard data. Translations related to account settings, privacy policy, terms of service, and cookie policy were updated for better readability. Changes also include minor reorganizing of code files for clearer structure.
This commit is contained in:
@@ -16,7 +16,10 @@ async function TermsOfServicePage() {
|
||||
return (
|
||||
<div className={'mt-8'}>
|
||||
<div className={'container mx-auto'}>
|
||||
<SitePageHeader title={t(`marketing:termsOfService`)} subtitle={``} />
|
||||
<SitePageHeader
|
||||
title={t(`marketing:termsOfService`)}
|
||||
subtitle={t(`marketing:termsOfServiceDescription`)}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user