Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tmanundercover committed Sep 26, 2023
1 parent 6cd65ff commit 7e06f7b
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 27 deletions.
48 changes: 48 additions & 0 deletions src/components/BlockContentTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,54 @@ export type ThwContactUsSectionType = {
}


//MixedFeelingsByT Types
export type MfbtHeroContentSectionType = {
name: string
title: string
heroImage: SanityImageAsset
heroImageAltText: string
heroImageBackground?: SanityImageAsset
contentWelcomeMessage: string
contentTitle: string
contentText: string
ctaButtonTitle: string
ctaButtonLink: string
}

export type MfbtAboutProprietorSectionType = {
name: string
proprietorImage: SanityImageAsset
proprietorName: string
proprietorTitle: string
// proprietorServices: ProprietorAtAGlanceType
contentTitle: string
favDrinkTitle: string
favDrinkSectionTitle: string
favDrinkImage: SanityImageAsset
favDrinkImage2: SanityImageAsset
favDrinkDescription: string
contentText: string[]
proprietorImageAltText: string
// proprietorSignatureImage: SanityImageAsset
// proprietorSignatureImageAltText: string
ctaButtonText: string
ctaButtonLink: string
}

export type MfbtPaymentMethodSectionType = {
name: string
title: string
mainPaymentImage: SanityImageAsset,
mainPaymentName: string,
paymentImage1: SanityImageAsset,
paymentName1: string,
paymentImage2: SanityImageAsset,
paymentName2: string,
paymentImage3: SanityImageAsset,
paymentName3: string,
}


export type ResumeBioSectionType = {
name?: string
title?: string
Expand Down
16 changes: 2 additions & 14 deletions src/components/mixed-feelings-by-t/MFBTPaymentMethodsSection.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
import React, {FunctionComponent, useContext} from 'react'
import {makeStyles, Theme} from '@material-ui/core/styles'
import {Chip, Grid, Typography} from '@material-ui/core'
import {urlFor} from '../block-content-ui/static-pages/cmsStaticPagesClient'
import {
MfbtAboutProprietorSectionType, MfbtPaymentMethodSectionType,
ProprietorAtAGlanceType,
ThwAboutProprietorSectionType
} from "../BlockContentTypes";
import {Grid, Typography} from '@material-ui/core'
import MixedFeelingsByTTheme from "../../theme/MixedFeelingsByTTheme";
import ImageWIthButtonOverlay from "../image-with-button-overlay/ImageWithButtonOverlay";
import LoadingButton from "../loading-button/LoadingButton";
import ResponsiveBullet from "../ResponsiveBullet";
import {FiberManualRecord} from "@material-ui/icons";
import ColoredPng from "../colored-png/ColoredPng";
import MediaQueriesContext from "../media-queries-context/MediaQueriesContext";
import firebaseAnalyticsClient from "../../utils/firebase/FirebaseAnalyticsClient";
import PageContext from "../page-context/PageContext";
import {theme} from "@sanity/types/parts/part.@sanity/components/build-snapshot";
import {MfbtPaymentMethodSectionType} from "../BlockContentTypes";

export const useStyles = makeStyles((theme: Theme) => ({
root: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/snackbar-context/ModalProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const ModalProvider: FunctionComponent<IProps & PropsWithChildren> = (
style={{width: "100%", height: "100%", position: "relative"}}>

<Grid item container xs={12} sm={9} md={7} style={{
border: `2px solid ${COLORS.DARKORANGE}`,
border: `2px solid black`,
// borderRight:`4px solid ${theme.palette.primary.dark}`,
backgroundColor: 'rgb(250,250,250,.96)',
color: theme.palette.getContrastText(theme.palette.background.paper),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const UnderConstruction: FunctionComponent<IProps> = (props) => {
<Grid xs={10} container item justifyContent='center' className={classes.spacer}>
<CountdownToLaunch launchDate={releaseDate ?? new Date(Date.now() + 2000000000)}/>
</Grid>
<Grid container item sm={10} className={classes.transparentBacking} style={{paddingBottom: theme.spacing(5), marginBottom: xsDown? 0: theme.spacing(1)}}>
<Grid container item sm={10} style={{paddingBottom: theme.spacing(5), marginBottom: xsDown? 0: theme.spacing(1)}}>
<Grid container item justifyContent='center' style={{marginTop: theme.spacing(2.5)}}>
<Grid item xs={11} sm={10}>
<Typography variant='body1'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
import React, {FunctionComponent, useContext} from 'react'
import {makeStyles, Theme} from "@material-ui/core/styles"
import {CircularProgress, Grid, Typography} from '@material-ui/core'
import thwClient from "../thwClient";
import {Grid, Typography} from '@material-ui/core'
import {v4 as uuidv4} from 'uuid'
import {ThwServiceItemType} from "../../BlockContentTypes";
import ThwServiceItem from "../ThwServiceItem";
import DigitalResumeTheme from "../../../theme/DigitalResumeTheme";
import ProgressBar
from "@sanity/types/parts/part.@sanity/components/build-snapshot/__legacy/@sanity/components/progress/ProgressBar";
import PageContext from "../../page-context/PageContext";

export const useStyles = makeStyles((theme: Theme) => ({
Expand Down
6 changes: 0 additions & 6 deletions src/utils/firebase/FirebaseAnalyticsClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,6 @@ const amenityTooltipShown = (serviceName:string, amenityName: string, analyticsI
amenityName
});
}
const qrCodeShown = (qrCodeValue:string, analyticsId:string) =>{
utils.logEventWithData('qrCodeShown', {
analyticsId,
qrCodeValue,
});
}

const qrCodeShown = (qrCodeValue:string, analyticsId:string) =>{
utils.logEventWithData('qrCodeShown', {
Expand Down

0 comments on commit 7e06f7b

Please sign in to comment.