Skip to content

Commit

Permalink
add offers page
Browse files Browse the repository at this point in the history
  • Loading branch information
YvannPONCE committed Sep 17, 2024
1 parent e5cbf08 commit 019cfe8
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions libs/ui/common/src/lib/offers/offers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,40 @@ import { CenterFocusStrong } from '@mui/icons-material';
import './offers.css';
import { useNavigate } from "react-router-dom";
import { Button, Typography, ButtonGroup, Box } from "@mui/material";
import { red } from '@mui/material/colors';
import * as React from 'react';
import { useState } from 'react';
import { Router } from 'react-router-dom';

export function Offers() {

const myColor = red[500]
const buttons = [
<Button className='offer-button' style={{
padding: '20px 50px', // Plus grand bouton
fontSize: '6vw', // Texte plus grand
borderWidth: '0.5vw',
color: '#333',
borderColor: '#333'
}} key="one">Classic</Button>,
<Button className='offer-button' style={{
padding: '20px 50px', // Plus grand bouton
fontSize: '6vw', // Texte plus grand
borderWidth: '0.5vw'
borderWidth: '0.5vw',
color: '#333',
borderColor: '#333'
}} key="two">Cousinade</Button>,
<Button className='offer-button' style={{
padding: '20px 50px', // Plus grand bouton
fontSize: '6vw', // Texte plus grand
borderWidth: '0.5vw'
borderWidth: '0.5vw',
color: '#333',
borderColor: '#333'
}} key="three">Comanie</Button>,
];

return (
<Box margin='170px' marginTop='30vw'>
<Typography align='center' variant="h1" component="h2" fontSize="8vw" fontWeight="bold" >
<Typography align='center' variant="h1" component="h2" fontSize="10vw" fontWeight="bold" >
Offers
</Typography>
<Box
Expand Down

0 comments on commit 019cfe8

Please sign in to comment.