From 36f6037339c6d634d705f7102a2533f3032f040e Mon Sep 17 00:00:00 2001 From: Matthew Gisonno Date: Thu, 4 Apr 2024 04:31:21 -0700 Subject: [PATCH 1/2] Updates to Person, PeopleGrid, and SpeakersGrid components, Chakra Theme, and container css. --- src/Project/Sugcon2024/Sugcon/src/Theme.ts | 3 ++ .../sass/components/_component-container.scss | 3 +- .../components/Basic Components/Person.tsx | 28 ++++++++++--------- .../components/List Components/PeopleGrid.tsx | 1 + .../List Components/SpeakersGrid.tsx | 2 +- 5 files changed, 22 insertions(+), 15 deletions(-) diff --git a/src/Project/Sugcon2024/Sugcon/src/Theme.ts b/src/Project/Sugcon2024/Sugcon/src/Theme.ts index 645d0577b..2e0044371 100644 --- a/src/Project/Sugcon2024/Sugcon/src/Theme.ts +++ b/src/Project/Sugcon2024/Sugcon/src/Theme.ts @@ -105,6 +105,9 @@ const Link = defineStyleConfig({ white: { color: 'white', fontSize: '18px', + _hover: { + color: 'white', + }, }, smallWhite: { color: 'white', diff --git a/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/_component-container.scss b/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/_component-container.scss index 3812b1042..ba123bed4 100644 --- a/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/_component-container.scss +++ b/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/_component-container.scss @@ -16,6 +16,7 @@ $size-padding: 8px; .container { padding: 0; + max-width: 1440px; &.fullwidth-container { max-width: unset; @@ -24,5 +25,5 @@ $size-padding: 8px; .component-content { @include clearfix(); } - } + diff --git a/src/Project/Sugcon2024/Sugcon/src/components/Basic Components/Person.tsx b/src/Project/Sugcon2024/Sugcon/src/components/Basic Components/Person.tsx index b513cf2de..d623c2061 100644 --- a/src/Project/Sugcon2024/Sugcon/src/components/Basic Components/Person.tsx +++ b/src/Project/Sugcon2024/Sugcon/src/components/Basic Components/Person.tsx @@ -54,23 +54,23 @@ export interface PersonFields { export type PersonProps = { params: { [key: string]: string }; fields: PersonFields; + isPeopleGrid?: boolean; }; export const Default = (props: PersonProps): JSX.Element => { const { isOpen, onOpen, onClose } = useDisclosure(); return ( - + - {props.params?.LinkToBio == '1' && (