feat: add logo image and RTL support styles
- Added logo image to assets. - Implemented RTL support styles in rtlSupport.scss for various components including breadcrumb, datatable, and tree node toggle button. chore: configure environment files for production, staging, and development - Created environment.prod.ts for production settings. - Created environment.staging.ts for staging settings. - Created environment.ts for local development settings. feat: define custom theme preset - Added presets.ts to define a custom theme preset using PrimeUIX with specific component styles and semantic colors. chore: set up proxy configuration for local development
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export * from './time';
|
||||
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Return the Unix timestamp in seconds for the provided date (or now).
|
||||
*
|
||||
* Examples:
|
||||
* getUnixSeconds() -> 1698470400
|
||||
* getUnixSeconds(new Date('2025-10-27T00:00:00Z')) -> 1740720000
|
||||
*/
|
||||
export function timeToSeconds(time: string): number {
|
||||
const [hours, minutes, seconds] = time.split(':').map(Number);
|
||||
return hours * 3600 + minutes * 60 + seconds;
|
||||
}
|
||||
|
||||
export default { timeToSeconds };
|
||||
Reference in New Issue
Block a user