From a762a3cbb712a7844e172160da142f8674861f23 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 23 Sep 2023 22:32:52 -0700 Subject: [PATCH] cleaning up layout --- app/BottomBar.jsx | 16 ++++++++++++---- app/MainPage.jsx | 22 ++++++---------------- app/WheelSpinPage.jsx | 6 +++--- app/page.jsx | 4 ++-- components/InfoCard.jsx | 6 +++--- 5 files changed, 26 insertions(+), 28 deletions(-) diff --git a/app/BottomBar.jsx b/app/BottomBar.jsx index 71cea8f..dd49bb1 100644 --- a/app/BottomBar.jsx +++ b/app/BottomBar.jsx @@ -1,17 +1,25 @@ import React from 'react' import styled from '@emotion/styled' +import { Grid, Typography } from '@mui/material'; const CustomDiv = styled.div` - background-color: ${(props) => props.theme.palette.primary.brightest}; - height: 10vh; + background-color: black; + color: white; + height: 50px; width: 100% `; const BottomBar = () => { return ( - contact: 530-368-6616 - email: mrheffern@gmail.com + + + + Phone: 530-368-6616 + Email: mrheffern@gmail.com + + + ) } diff --git a/app/MainPage.jsx b/app/MainPage.jsx index 6c478f5..b5c945b 100644 --- a/app/MainPage.jsx +++ b/app/MainPage.jsx @@ -5,22 +5,12 @@ import React from 'react' const CustomDiv = styled.div` background-color: ${(props) => props.theme.palette.primary.main}; - height: 1500px; + height: 700px; width: 100%; display: flex; `; -const CustomH1 = styled.h1` - color: #2F2E41; -`; -const CustomH3 = styled.h3` - color: #000; -`; - -const StyledGrid = styled(Grid)` - height: 100vh; -`; const CircleContainer = styled.div` width: 325px; @@ -44,10 +34,10 @@ const HorizontalLine = styled.div` function MainPage() { return ( - - - - + + + + Empowerment for those who need it most @@ -59,7 +49,7 @@ function MainPage() { - + diff --git a/app/WheelSpinPage.jsx b/app/WheelSpinPage.jsx index e797246..bd014c5 100644 --- a/app/WheelSpinPage.jsx +++ b/app/WheelSpinPage.jsx @@ -8,7 +8,7 @@ import WinningDialog from '@components/WinningDialog'; const CustomDiv = styled.div` background-color: ${(props) => props.theme.palette.primary.main}; - height: 140vh; + height: 900px; width: 100%; display: flex; justify-content: center; @@ -49,12 +49,12 @@ const WheelSpinPage = () => { { label: '4 KSats', backgroundColor: theme.palette.secondary.main }, { label: '4 KSats', backgroundColor: '#f7931a' }, { label: '4 KSats', backgroundColor: theme.palette.secondary.main }, - { label: '17 KSats', backgroundColor: '#f7931a'}, + { label: '19 KSats', backgroundColor: '#f7931a'}, { label: '4 KSats', backgroundColor: theme.palette.secondary.main}, { label: '4 KSats', backgroundColor: '#f7931a'}, { label: '4 KSats', backgroundColor: theme.palette.secondary.main}, { label: '4 KSats', backgroundColor: '#f7931a'}, - { label: '17 KSats', backgroundColor: theme.palette.secondary.main}, + { label: '19 KSats', backgroundColor: theme.palette.secondary.main}, { label: '4 KSats', backgroundColor: '#f7931a'}, { label: '4 KSats', backgroundColor: theme.palette.secondary.main}, { label: '4 KSats', backgroundColor: '#f7931a'} diff --git a/app/page.jsx b/app/page.jsx index 02b00b7..4dd0476 100644 --- a/app/page.jsx +++ b/app/page.jsx @@ -1,6 +1,6 @@ "use client" import { LineChart, Line, CartesianGrid, XAxis, YAxis } from 'recharts'; -import { AppBar, Grid, ThemeProvider, Toolbar } from '@mui/material'; +import { AppBar, Grid, ThemeProvider, Toolbar, Typography } from '@mui/material'; import { useTheme } from '@emotion/react'; import styled from '@emotion/styled'; import theme from './theme'; @@ -35,7 +35,7 @@ const Home = () => {
- Spokane Bitcoin Club + Spokane Bitcoin Club diff --git a/components/InfoCard.jsx b/components/InfoCard.jsx index 4a652c6..06fe66a 100644 --- a/components/InfoCard.jsx +++ b/components/InfoCard.jsx @@ -4,15 +4,15 @@ import React from 'react' const InfoCard = (props) => { return ( - + - {props.title} + {props.title} {props.picture} - {props.text} + {props.text}