Commit 8f4a6d8d authored by Nina Willems's avatar Nina Willems

[client/timeserie] new index init level

parent e6c72cf5
import { DIV, H1 } from 'sdi/components/elements';
import tr from 'sdi/locale';
import { navigateIndex } from 'timeserie/src/events/route';
const renderWelcomeMessage = () => H1({}, tr.ts('welcomeMessage'));
const renderSwitchLevel = () =>
DIV(
{ className: 'switch' },
DIV(
{
onClick: () => navigateIndex('surface'),
}
, 'surface'),
DIV(
{
onClick: () => navigateIndex('ground'),
}
, 'ground'
),
// map(),
)
const render = () =>
DIV(
{ className: 'content content--index' },
DIV(
{ className: 'content__wrapper wrapper--left' },
renderWelcomeMessage(),
renderSwitchLevel(),
),
);
export default render;
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment