Skip to content

Commit 9f58158

Browse files
authored
Merge pull request #188 from m2mathew/chore/home_and_about_updates
Chore/home and about updates
2 parents 2f5ca7a + eb5f9d3 commit 9f58158

File tree

16 files changed

+80
-26
lines changed

16 files changed

+80
-26
lines changed

src/components/about/AboutCommunity.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import Typography from '@mui/material/Typography';
33
import React, { FC } from 'react';
44
import styled from 'styled-components';
55

6+
import { appTagLine } from '../../utils/app-constants';
7+
68
// Local Variables
79
const StyledRoot = styled.section(({ theme }) => ({
810
'&& .MuiTypography-root': {
@@ -42,10 +44,8 @@ const StyledRoot = styled.section(({ theme }) => ({
4244
const AboutCommunity: FC = () => {
4345
return (
4446
<StyledRoot>
45-
<Typography component="h1">
46-
Creating a community of
47-
<br />
48-
fine arts administrators
47+
<Typography component="h1" sx={{ maxWidth: 640 }}>
48+
{appTagLine}
4949
</Typography>
5050
</StyledRoot>
5151
);

src/components/about/AboutInfo.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ const AboutInfo: FC = () => {
4848
conferences, workshops, trainings, and resources for
4949
Fine Arts administrators. Our goal is to help Fine Arts
5050
educational leaders thrive by providing a space where
51-
they can grow, collaborate, and support one another.
51+
they can grow, collaborate, and support one another.{' '}
52+
{appNameShort} is committed to…
5253
</Typography>
5354

5455
<div className="aboutVirtuesContainer">

src/components/about/AreaReps.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import PeopleItem from './PeopleItem';
1010

1111
// Local Typings
1212
type Office = 'President' | 'Vice-President' | 'Executive Secretary' | 'Secretary' | 'Past-President';
13-
type Area = 'North Texas' | 'Central Texas' | 'South Texas' | 'Southeast Texas' | 'West Texas';
13+
type Area = 'North Texas' | 'Northwest Texas' | 'Central Texas' | 'South Texas' | 'Southeast Texas' | 'West Texas';
1414
export interface TfaaPerson {
1515
districtTitle: string;
1616
email: string;
@@ -46,6 +46,7 @@ const AreaReps: FC = () => {
4646
const { edges } = useAreaRepsData();
4747

4848
const north = edges.find(({ node }: OfficerList) => node.title === 'North Texas').node;
49+
const northwest = edges.find(({ node }: OfficerList) => node.title === 'Northwest Texas').node;
4950
const central = edges.find(({ node }: OfficerList) => node.title === 'Central Texas').node;
5051
const south = edges.find(({ node }: OfficerList) => node.title === 'South Texas').node;
5152
const southeast = edges.find(({ node }: OfficerList) => node.title === 'Southeast Texas').node;
@@ -62,6 +63,7 @@ const AreaReps: FC = () => {
6263

6364
<div className="areaRepsContainer">
6465
<PeopleItem peopleData={north} />
66+
<PeopleItem peopleData={northwest} />
6567
<PeopleItem peopleData={central} />
6668
<PeopleItem peopleData={south} />
6769
<PeopleItem peopleData={southeast} />

src/components/about/People.tsx

+6
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ const StyledRoot = styled.section(({ theme }) => ({
3535
},
3636

3737
'.peopleSectionTitle': {
38+
[theme.breakpoints.up('lg')]: {
39+
marginTop: theme.spacing(5),
40+
},
41+
[theme.breakpoints.up('xl')]: {
42+
marginTop: theme.spacing(8),
43+
},
3844
fontWeight: 900,
3945
marginBottom: theme.spacing(4),
4046
},

src/components/about/about-constants.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Internal Dependencies
2-
import { appName, appNameShort } from '../../utils/app-constants';
2+
import { appName, appNameOldShort, appNameShort } from '../../utils/app-constants';
33
import AdvocatingIconSvg from './about-icons/AdvocatingIconSvg';
44
import CollaboratingIconSvg from './about-icons/CollaboratingIconSvg';
55
import DevelopingIconSvg from './about-icons/DevelopingIconSvg';
@@ -37,13 +37,13 @@ export const ABOUT_VIRTUES_DATA = [
3737
export const WHERE_WE_HAVE_BEEN_DATA = [
3838
{
3939
imgSrc: 'https://res.cloudinary.com/tmac/image/upload/v1670856123/bearded-man-looking-at-paintings-in-art-gallery.png',
40-
subtitle: `View a list of all past ${appName} Presidents going back to 1983.`,
40+
subtitle: `View a list of all Past Presidents going back to 1983.`,
4141
title: `${appNameShort} Past Presidents`,
4242
to: '/about/past-presidents',
4343
},
4444
{
4545
imgSrc: 'https://res.cloudinary.com/tmac/image/upload/v1670856123/joyful-young-female-artist-painting-on-canvas.png',
46-
subtitle: `View a list of all ${appName} Outstanding Administrators since ${appNameShort} started awarding this honor in 1999.`,
46+
subtitle: `View a list of all ${appNameOldShort}/${appNameShort} Outstanding Administrators since 1999.`,
4747
title: `${appNameShort} Past Oustanding Administrators`,
4848
to: '/about/past-outstanding-administrators',
4949
}

src/components/footer/FooterFollowUs.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const FooterFollowUs: FC = () => {
3838
rel="noreferrer noopener"
3939
target="_blank"
4040
>
41-
Twitter
41+
Twitter/X
4242
</a>
4343
</Box>
4444
</div>
+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// External Dependencies
2+
import React from 'react';
3+
import styled from 'styled-components';
4+
5+
// Local Typings
6+
type FooterTopperColor = 'about' | 'events' | 'membership' | 'resources';
7+
interface Props {
8+
color: FooterTopperColor;
9+
}
10+
interface StyledRootProps {
11+
$color: FooterTopperColor;
12+
}
13+
14+
// Local Variables
15+
const StyledRoot = styled.section<StyledRootProps>(({
16+
$color = 'about',
17+
theme,
18+
}) => ({
19+
[theme.breakpoints.down('mobile')]: {
20+
padding: theme.spacing(6, 0),
21+
},
22+
backgroundColor: theme.palette.tfaa[$color],
23+
content: '""',
24+
padding: theme.spacing(8,0 ),
25+
width: '100%',
26+
}));
27+
28+
// Component Definition
29+
const FooterTopper: React.FC<Props> = ({ color }) => {
30+
return (
31+
<StyledRoot $color={color} />
32+
);
33+
};
34+
35+
export default FooterTopper;

src/components/home/HomeBanner.tsx

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
// External Dependencies
22
import { Link } from 'gatsby-theme-material-ui';
3+
import Box from '@mui/material/Box';
34
import React from 'react';
45
import styled from 'styled-components';
56

7+
import { appTagLine } from '../../utils/app-constants';
8+
69
// Local Variables
710
const StyledRoot = styled.section(({ theme }) => ({
811
'.bannerLeft': {
@@ -142,12 +145,15 @@ const HomeBanner: React.FC = () => {
142145
<div className="bannerLeft">
143146
<div>
144147
<h2>
145-
We nurture and grow leaders in Fine Arts Education
148+
{appTagLine}
146149
</h2>
147150

148-
<Link to="/about">
149-
Read more about how TFAA can help you
150-
</Link>
151+
<Box marginTop={1}>
152+
<Link to="/about">
153+
Read more about how TFAA can help you
154+
</Link>
155+
156+
</Box>
151157
</div>
152158
</div>
153159

src/components/members/MemberContent/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import { ADMIN_USER_EMAIL_LIST } from '../../../utils/member-constants';
77
import { TfaaAuthUser } from '../../layout';
88
import { TfaaMemberData, useGetAllMembers } from '../../../utils/hooks/useGetAllMembers';
99
import { getFullName } from '../../../utils/getFullName';
10+
import FooterTopper from '../../footer/FooterTopper';
1011
import MemberContentBanner from './MemberContentBanner';
1112
import WelcomeBanner from './WelcomeBanner';
1213
import MemberInfo from './MemberInfo';
13-
import WhereWeHaveBeen from '../../about/WhereWeHaveBeen';
1414

1515
// Local Typings
1616
interface Props {
@@ -70,7 +70,7 @@ const MemberContent: React.FC<Props> = ({ currentAuthUser }) => {
7070
onUpdateShouldRefetchUserList={handleUpdateShouldRefetchUserList}
7171
/>
7272

73-
<WhereWeHaveBeen color="membership" />
73+
<FooterTopper color="membership" />
7474
</>
7575
);
7676
};

src/components/members/NonMemberContent/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
import React from 'react';
33

44
// Internal Dependencies
5+
import FooterTopper from '../../footer/FooterTopper';
56
import MemberInfoList from './MemberInfoList';
67
import MembersBanner from './MembersBanner';
78
import MembersHeroBannerImage from './MembersHeroBannerImage';
89
import MembersInfoBanner from './MembersInfoBanner';
910
import MembersOneTwoThree from './MembersOneTwoThree';
10-
import WhereWeHaveBeen from '../../about/WhereWeHaveBeen';
1111

1212
// Component Definition
1313
const NonMemberContent: React.FC = () => {
@@ -23,7 +23,7 @@ const NonMemberContent: React.FC = () => {
2323

2424
<MemberInfoList />
2525

26-
<WhereWeHaveBeen color="membership" />
26+
<FooterTopper color="membership" />
2727
</>
2828
);
2929
};

src/pages/events/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import styled from 'styled-components';
55
// Internal Dependencies
66
import EventsBanner from '../../components/events/EventsBanner';
77
import EventsList from '../../components/events/EventsList';
8-
import WhereWeHaveBeen from '../../components/about/WhereWeHaveBeen';
8+
import FooterTopper from '../../components/footer/FooterTopper';
99
import Layout from '../../components/layout';
1010

1111
// Local Typings
@@ -41,7 +41,7 @@ const Events: FC<Props> = ({ location }) => (
4141

4242
<EventsList />
4343

44-
<WhereWeHaveBeen color="events" />
44+
<FooterTopper color="events" />
4545
</StyledRoot>
4646
</Layout>
4747
);

src/pages/members/login.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import styled from 'styled-components';
1010
import { ReCaptchaProvider } from '../../components/shared/ReCaptchaProvider';
1111
import { useIsAuthenticated } from '../../utils/hooks/useIsAuthenticated';
1212
import DrumBanner from '../../components/shared/DrumBanner';
13+
import FooterTopper from '../../components/footer/FooterTopper';
1314
import Layout from '../../components/layout';
1415
import LoginForm from '../../components/register/login-form';
1516
import Motifs from '../../components/shared/Motifs';
@@ -89,6 +90,8 @@ const Login: React.FC<Props> = ({ location }) => {
8990
</div>
9091
</StyledRoot>
9192
</ReCaptchaProvider>
93+
94+
<FooterTopper color="membership" />
9295
</Layout>
9396
);
9497
};

src/pages/resources/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import React, { FC } from 'react';
33
import styled from 'styled-components';
44

55
// Internal Dependencies
6+
import FooterTopper from '../../components/footer/FooterTopper';
67
import Layout from '../../components/layout';
78
import ResourcesBanner from '../../components/resources/ResourcesBanner';
89
import ResourcesHeroBannerImage from '../../components/resources/ResourcesHeroBannerImage';
910
import ResourcesList from '../../components/resources/ResourcesList';
1011
import ResourcesInfoBanner from '../../components/resources/ResourcesInfoBanner';
11-
import WhereWeHaveBeen from '../../components/about/WhereWeHaveBeen';
1212

1313
// Local Typings
1414
interface Props {
@@ -40,7 +40,7 @@ const Resources: FC<Props> = ({ location }) => {
4040

4141
<ResourcesList />
4242

43-
<WhereWeHaveBeen color="resources" />
43+
<FooterTopper color="resources" />
4444
</StyledRoot>
4545
</Layout>
4646
);

src/pages/sponsors/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import styled from 'styled-components';
44

55
// Internal Dependencies
66
import { ReCaptchaProvider } from '../../components/shared/ReCaptchaProvider';
7+
import FooterTopper from '../../components/footer/FooterTopper';
78
import Layout from '../../components/layout';
89
import SponsorsBanner from '../../components/sponsors/SponsorsBanner';
910
import SponsorsHeroBannerImage from '../../components/sponsors/SponsorsHeroBannerImage';
1011
import SponsorsList from '../../components/sponsors/SponsorsList';
11-
import WhereWeHaveBeen from '../../components/about/WhereWeHaveBeen';
1212

1313
// Local Typings
1414
interface Props {
@@ -39,7 +39,7 @@ const Sponsors: React.FC<Props> = ({ location }) => {
3939

4040
<SponsorsList />
4141

42-
<WhereWeHaveBeen color="membership" />
42+
<FooterTopper color="membership" />
4343
</StyledRoot>
4444
</ReCaptchaProvider>
4545
</Layout>

src/pages/sponsors/sponsors-table.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import styled from 'styled-components';
44

55
// Internal Dependencies
66
import DrumBanner from '../../components/shared/DrumBanner';
7+
import FooterTopper from '../../components/footer/FooterTopper';
78
import Layout from '../../components/layout';
89
import SponsorsTableContent from '../../components/sponsors/SponsorsTable/SponsorsTableContent';
9-
import WhereWeHaveBeen from '../../components/about/WhereWeHaveBeen';
1010

1111
// Local Typings
1212
interface Props {
@@ -43,7 +43,7 @@ const SponsorsTable: React.FC<Props> = ({ location }) => {
4343

4444
<SponsorsTableContent />
4545

46-
<WhereWeHaveBeen color="resources" />
46+
<FooterTopper color="membership" />
4747
</StyledRoot>
4848
</Layout>
4949
);

src/utils/app-constants.js

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export const appName = 'Texas Fine Arts Administrators';
22
export const appNameShort = 'TFAA';
33
export const appNameOld = 'Texas Music Administrators Conference';
44
export const appNameOldShort = 'TMAC';
5+
export const appTagLine = `${appNameShort} equips leaders to advance high quality fine arts education for all.`;
56

67
export const mailingAddress = {
78
addressOne: '4107 Natural Bridge Court',

0 commit comments

Comments
 (0)