This commit dates the transition from a global user session to individual account handling based on user ID. The transition was made across several components, notably the account settings, icons, and selector. This change improves performance by reducing unnecessary requests and ensures more accurate data handling. The commit also includes some cleanups and minor fixes spread across different components.
28 lines
659 B
TypeScript
28 lines
659 B
TypeScript
import { Metadata } from 'next';
|
|
|
|
import appConfig from '~/config/app.config';
|
|
|
|
/**
|
|
* @name rootMetadata
|
|
* @description Define the root metadata for the application.
|
|
*/
|
|
export const rootMetadata: Metadata = {
|
|
title: appConfig.name,
|
|
description: appConfig.description,
|
|
metadataBase: new URL(appConfig.url),
|
|
openGraph: {
|
|
url: appConfig.url,
|
|
siteName: appConfig.name,
|
|
description: appConfig.description,
|
|
},
|
|
twitter: {
|
|
card: 'summary_large_image',
|
|
title: appConfig.title,
|
|
description: appConfig.description,
|
|
},
|
|
icons: {
|
|
icon: '/images/favicon/favicon.ico',
|
|
apple: '/images/favicon/apple-touch-icon.png',
|
|
},
|
|
};
|