1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-26 06:19:36 +02:00

Empty sections will be hidden from guests. Fixed temperature value rounding. Added welcome message

This commit is contained in:
Paweł Malak 2021-11-22 12:29:47 +01:00
parent 882f011d07
commit d110d9b732
11 changed files with 80 additions and 71 deletions

View file

@ -0,0 +1,8 @@
.message {
color: var(--color-primary);
}
.message a {
color: var(--color-accent);
font-weight: 600;
}

View file

@ -0,0 +1,11 @@
import { ReactNode } from 'react';
import classes from './Message.module.css';
interface Props {
children: ReactNode;
}
export const Message = ({ children }: Props): JSX.Element => {
return <p className={classes.message}>{children}</p>;
};

View file

@ -12,3 +12,4 @@ export * from './Forms/InputGroup/InputGroup';
export * from './Forms/ModalForm/ModalForm';
export * from './Buttons/ActionButton/ActionButton';
export * from './Buttons/Button/Button';
export * from './Text/Message/Message';