From b5b91703b675a0f8b23ac380621de940e7ee84a6 Mon Sep 17 00:00:00 2001 From: Michael Hunteman Date: Fri, 16 Aug 2024 13:42:56 -0700 Subject: Switch divs to papers --- client/src/components/GuestLogin.tsx | 75 ++++++++++++------------ client/src/components/Registry.tsx | 31 +++++++--- client/src/components/RsvpForm.tsx | 16 ++++-- client/src/components/Schedule.tsx | 108 ++++++++++++++++------------------- 4 files changed, 118 insertions(+), 112 deletions(-) diff --git a/client/src/components/GuestLogin.tsx b/client/src/components/GuestLogin.tsx index 32245fc..7f634aa 100644 --- a/client/src/components/GuestLogin.tsx +++ b/client/src/components/GuestLogin.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { useNavigate } from 'react-router-dom'; import { useDispatch } from 'react-redux'; -import { Button, TextField, Typography } from '@mui/material'; +import { Button, Paper, TextField, Typography } from '@mui/material'; import { useForm } from 'react-hook-form'; import { setCredentials } from '../slices/authSlice'; import { useLoginMutation } from '../slices/apiSlice'; @@ -44,49 +44,44 @@ function GuestLogin() { noValidate onSubmit={handleSubmit(onSubmit)} > -
-
- Guest Login - - - -
-
+ Guest Login + + + + ); } diff --git a/client/src/components/Registry.tsx b/client/src/components/Registry.tsx index dd8ff36..c6e61b1 100644 --- a/client/src/components/Registry.tsx +++ b/client/src/components/Registry.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Button } from '@mui/material'; +import { Button, Paper } from '@mui/material'; import LaunchIcon from '@mui/icons-material/Launch'; function Registry() { @@ -11,16 +11,29 @@ function Registry() { display: 'flex', justifyContent: 'center', alignItems: 'center', - flexDirection: 'column', }} > -

- Thank you for your generous gifts! We look forward to seeing you at the - wedding. -

- + +

+ Thank you for your generous gifts! We look forward to seeing you at + the wedding. +

+ +
); } diff --git a/client/src/components/RsvpForm.tsx b/client/src/components/RsvpForm.tsx index 10c2205..4c9ae92 100644 --- a/client/src/components/RsvpForm.tsx +++ b/client/src/components/RsvpForm.tsx @@ -8,6 +8,7 @@ import { FormControlLabel, FormLabel, Grid, + Paper, Radio, RadioGroup, Snackbar, @@ -109,14 +110,19 @@ function RsvpForm() { noValidate onSubmit={handleSubmit(onSubmit)} > -
- +

Please RSVP for the wedding by March 10, 2025. The ceremony will @@ -274,7 +280,7 @@ function RsvpForm() {

- + ); } diff --git a/client/src/components/Schedule.tsx b/client/src/components/Schedule.tsx index a22f105..3620c4e 100644 --- a/client/src/components/Schedule.tsx +++ b/client/src/components/Schedule.tsx @@ -16,69 +16,61 @@ function Schedule() { backgroundSize: 'cover', }} > -
- -
-
-

April 26, 2025

-
-
- Wedding Schedule -
+
+
+

April 26, 2025

-
-
-
-

2:00 PM

-
-
- Ceremony -

- Divine Shepherd -
- - 15005 Q St, Omaha, NE 68137 - -

-
+
+ Wedding Schedule
-
-
-
-

5:00 PM

-
-
- Reception -

- A Venue on the Ridge -
- - 20033 Elkhorn Ridge Dr, Elkhorn, NE 68022 - -

-
+
+
+
+
+

2:00 PM

- -
+
+ Ceremony +

+ Divine Shepherd +
+ + 15005 Q St, Omaha, NE 68137 + +

+
+
+
+
+
+

5:00 PM

+
+
+ Reception +

+ A Venue on the Ridge +
+ + 20033 Elkhorn Ridge Dr, Elkhorn, NE 68022 + +

+
+
+
); } -- cgit v1.2.3