* added more details of the sale phases to the sale detail, added current region dates on the sale overview, links to other coretime resellers * refactor, separated components for readability * partial lint * arranged white boxes * added dotlake link, added price graph link, visual improvements * fixed incorrect sale times plus added an exception for the second sale on Kusams * lint and tsc * added ui colour * translation * wording change * typo
11 lines
475 B
TypeScript
11 lines
475 B
TypeScript
// Copyright 2017-2025 @polkadot/app-coretime authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import React, { type ReactNode } from 'react';
|
|
|
|
export const WhiteBox = ({ children, style }: { children: ReactNode, style?: React.CSSProperties }) => {
|
|
return <div style={{ backgroundColor: 'white', borderRadius: '4px', display: 'flex', flexDirection: 'column', justifyItems: 'center', minWidth: '250px', padding: '24px', ...style }}>
|
|
{children}
|
|
</div>;
|
|
};
|