source: frontend/src/Header.js@ 13f1472

Last change on this file since 13f1472 was 13f1472, checked in by Danilo <danilo.najkov@…>, 22 months ago

vip functionallity + menu fields + alergens filtering + google/fb login + email queueing

  • Property mode set to 100644
File size: 628 bytes
Line 
1import {Button} from "antd";
2import React from "react";
3
4export function Header(props) {
5 return <div style={{textAlign: "start"}}>
6 <span style={{fontWeight: "500", fontSize: "30px", padding: "20px", letterSpacing: "1px"}}>resTools</span>
7 <Button type='primary'
8 onClick={props.onClickButton}
9 style={{fontSize: "15px", float: "right", marginTop: "8px", marginRight: "20px"}}>
10 {props.buttonText}
11 </Button>
12 {props.isVip ? <span style={{color:'orange', float:'right', fontSize:'28px', fontWeight:'bold', marginRight:'10px'}}>VIP</span>:''}
13 </div>;
14}
Note: See TracBrowser for help on using the repository browser.