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/assets/sass/components/index.scss b/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/index.scss index 4d84b36b9..eb0dda20c 100644 --- a/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/index.scss +++ b/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/index.scss @@ -15,5 +15,6 @@ @import 'link-list'; @import 'rich-text'; @import 'people-grid'; +@import 'speakers-grid'; @import 'icon-link-list'; diff --git a/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/people-grid/_people-grid-container.scss b/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/people-grid/_people-grid-container.scss new file mode 100644 index 000000000..d619a4cc5 --- /dev/null +++ b/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/people-grid/_people-grid-container.scss @@ -0,0 +1,11 @@ +.people-grid-container { + &:not(.red-linear-gradient) { + color: #000; + + & .person-job-role, + & .person-company { + color: #707070; + } + } +} + diff --git a/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/people-grid/index.scss b/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/people-grid/index.scss index f4e2a1238..2c41b4926 100644 --- a/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/people-grid/index.scss +++ b/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/people-grid/index.scss @@ -1 +1,2 @@ @import 'red-linear-gradient'; +@import 'people-grid-container'; diff --git a/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/speakers-grid/_speakers-grid-container.scss b/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/speakers-grid/_speakers-grid-container.scss new file mode 100644 index 000000000..237b5aac4 --- /dev/null +++ b/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/speakers-grid/_speakers-grid-container.scss @@ -0,0 +1,6 @@ +.speakers-grid-container { + & .person-job-role, + & .person-company { + color: #707070; + } +} diff --git a/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/speakers-grid/index.scss b/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/speakers-grid/index.scss new file mode 100644 index 000000000..e3e3c7d4a --- /dev/null +++ b/src/Project/Sugcon2024/Sugcon/src/assets/sass/components/speakers-grid/index.scss @@ -0,0 +1,2 @@ +@import 'speakers-grid-container'; + 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..df4335d74 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' && (