File tree 16 files changed +80
-26
lines changed
16 files changed +80
-26
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ import Typography from '@mui/material/Typography';
3
3
import React , { FC } from 'react' ;
4
4
import styled from 'styled-components' ;
5
5
6
+ import { appTagLine } from '../../utils/app-constants' ;
7
+
6
8
// Local Variables
7
9
const StyledRoot = styled . section ( ( { theme } ) => ( {
8
10
'&& .MuiTypography-root' : {
@@ -42,10 +44,8 @@ const StyledRoot = styled.section(({ theme }) => ({
42
44
const AboutCommunity : FC = ( ) => {
43
45
return (
44
46
< 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 }
49
49
</ Typography >
50
50
</ StyledRoot >
51
51
) ;
Original file line number Diff line number Diff line change @@ -48,7 +48,8 @@ const AboutInfo: FC = () => {
48
48
conferences, workshops, trainings, and resources for
49
49
Fine Arts administrators. Our goal is to help Fine Arts
50
50
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…
52
53
</ Typography >
53
54
54
55
< div className = "aboutVirtuesContainer" >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import PeopleItem from './PeopleItem';
10
10
11
11
// Local Typings
12
12
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' ;
14
14
export interface TfaaPerson {
15
15
districtTitle : string ;
16
16
email : string ;
@@ -46,6 +46,7 @@ const AreaReps: FC = () => {
46
46
const { edges } = useAreaRepsData ( ) ;
47
47
48
48
const north = edges . find ( ( { node } : OfficerList ) => node . title === 'North Texas' ) . node ;
49
+ const northwest = edges . find ( ( { node } : OfficerList ) => node . title === 'Northwest Texas' ) . node ;
49
50
const central = edges . find ( ( { node } : OfficerList ) => node . title === 'Central Texas' ) . node ;
50
51
const south = edges . find ( ( { node } : OfficerList ) => node . title === 'South Texas' ) . node ;
51
52
const southeast = edges . find ( ( { node } : OfficerList ) => node . title === 'Southeast Texas' ) . node ;
@@ -62,6 +63,7 @@ const AreaReps: FC = () => {
62
63
63
64
< div className = "areaRepsContainer" >
64
65
< PeopleItem peopleData = { north } />
66
+ < PeopleItem peopleData = { northwest } />
65
67
< PeopleItem peopleData = { central } />
66
68
< PeopleItem peopleData = { south } />
67
69
< PeopleItem peopleData = { southeast } />
Original file line number Diff line number Diff line change @@ -35,6 +35,12 @@ const StyledRoot = styled.section(({ theme }) => ({
35
35
} ,
36
36
37
37
'.peopleSectionTitle' : {
38
+ [ theme . breakpoints . up ( 'lg' ) ] : {
39
+ marginTop : theme . spacing ( 5 ) ,
40
+ } ,
41
+ [ theme . breakpoints . up ( 'xl' ) ] : {
42
+ marginTop : theme . spacing ( 8 ) ,
43
+ } ,
38
44
fontWeight : 900 ,
39
45
marginBottom : theme . spacing ( 4 ) ,
40
46
} ,
Original file line number Diff line number Diff line change 1
1
// Internal Dependencies
2
- import { appName , appNameShort } from '../../utils/app-constants' ;
2
+ import { appName , appNameOldShort , appNameShort } from '../../utils/app-constants' ;
3
3
import AdvocatingIconSvg from './about-icons/AdvocatingIconSvg' ;
4
4
import CollaboratingIconSvg from './about-icons/CollaboratingIconSvg' ;
5
5
import DevelopingIconSvg from './about-icons/DevelopingIconSvg' ;
@@ -37,13 +37,13 @@ export const ABOUT_VIRTUES_DATA = [
37
37
export const WHERE_WE_HAVE_BEEN_DATA = [
38
38
{
39
39
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.` ,
41
41
title : `${ appNameShort } Past Presidents` ,
42
42
to : '/about/past-presidents' ,
43
43
} ,
44
44
{
45
45
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.` ,
47
47
title : `${ appNameShort } Past Oustanding Administrators` ,
48
48
to : '/about/past-outstanding-administrators' ,
49
49
}
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ const FooterFollowUs: FC = () => {
38
38
rel = "noreferrer noopener"
39
39
target = "_blank"
40
40
>
41
- Twitter
41
+ Twitter/X
42
42
</ a >
43
43
</ Box >
44
44
</ div >
Original file line number Diff line number Diff line change
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 ;
Original file line number Diff line number Diff line change 1
1
// External Dependencies
2
2
import { Link } from 'gatsby-theme-material-ui' ;
3
+ import Box from '@mui/material/Box' ;
3
4
import React from 'react' ;
4
5
import styled from 'styled-components' ;
5
6
7
+ import { appTagLine } from '../../utils/app-constants' ;
8
+
6
9
// Local Variables
7
10
const StyledRoot = styled . section ( ( { theme } ) => ( {
8
11
'.bannerLeft' : {
@@ -142,12 +145,15 @@ const HomeBanner: React.FC = () => {
142
145
< div className = "bannerLeft" >
143
146
< div >
144
147
< h2 >
145
- We nurture and grow leaders in Fine Arts Education
148
+ { appTagLine }
146
149
</ h2 >
147
150
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 >
151
157
</ div >
152
158
</ div >
153
159
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ import { ADMIN_USER_EMAIL_LIST } from '../../../utils/member-constants';
7
7
import { TfaaAuthUser } from '../../layout' ;
8
8
import { TfaaMemberData , useGetAllMembers } from '../../../utils/hooks/useGetAllMembers' ;
9
9
import { getFullName } from '../../../utils/getFullName' ;
10
+ import FooterTopper from '../../footer/FooterTopper' ;
10
11
import MemberContentBanner from './MemberContentBanner' ;
11
12
import WelcomeBanner from './WelcomeBanner' ;
12
13
import MemberInfo from './MemberInfo' ;
13
- import WhereWeHaveBeen from '../../about/WhereWeHaveBeen' ;
14
14
15
15
// Local Typings
16
16
interface Props {
@@ -70,7 +70,7 @@ const MemberContent: React.FC<Props> = ({ currentAuthUser }) => {
70
70
onUpdateShouldRefetchUserList = { handleUpdateShouldRefetchUserList }
71
71
/>
72
72
73
- < WhereWeHaveBeen color = "membership" />
73
+ < FooterTopper color = "membership" />
74
74
</ >
75
75
) ;
76
76
} ;
Original file line number Diff line number Diff line change 2
2
import React from 'react' ;
3
3
4
4
// Internal Dependencies
5
+ import FooterTopper from '../../footer/FooterTopper' ;
5
6
import MemberInfoList from './MemberInfoList' ;
6
7
import MembersBanner from './MembersBanner' ;
7
8
import MembersHeroBannerImage from './MembersHeroBannerImage' ;
8
9
import MembersInfoBanner from './MembersInfoBanner' ;
9
10
import MembersOneTwoThree from './MembersOneTwoThree' ;
10
- import WhereWeHaveBeen from '../../about/WhereWeHaveBeen' ;
11
11
12
12
// Component Definition
13
13
const NonMemberContent : React . FC = ( ) => {
@@ -23,7 +23,7 @@ const NonMemberContent: React.FC = () => {
23
23
24
24
< MemberInfoList />
25
25
26
- < WhereWeHaveBeen color = "membership" />
26
+ < FooterTopper color = "membership" />
27
27
</ >
28
28
) ;
29
29
} ;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import styled from 'styled-components';
5
5
// Internal Dependencies
6
6
import EventsBanner from '../../components/events/EventsBanner' ;
7
7
import EventsList from '../../components/events/EventsList' ;
8
- import WhereWeHaveBeen from '../../components/about/WhereWeHaveBeen ' ;
8
+ import FooterTopper from '../../components/footer/FooterTopper ' ;
9
9
import Layout from '../../components/layout' ;
10
10
11
11
// Local Typings
@@ -41,7 +41,7 @@ const Events: FC<Props> = ({ location }) => (
41
41
42
42
< EventsList />
43
43
44
- < WhereWeHaveBeen color = "events" />
44
+ < FooterTopper color = "events" />
45
45
</ StyledRoot >
46
46
</ Layout >
47
47
) ;
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import styled from 'styled-components';
10
10
import { ReCaptchaProvider } from '../../components/shared/ReCaptchaProvider' ;
11
11
import { useIsAuthenticated } from '../../utils/hooks/useIsAuthenticated' ;
12
12
import DrumBanner from '../../components/shared/DrumBanner' ;
13
+ import FooterTopper from '../../components/footer/FooterTopper' ;
13
14
import Layout from '../../components/layout' ;
14
15
import LoginForm from '../../components/register/login-form' ;
15
16
import Motifs from '../../components/shared/Motifs' ;
@@ -89,6 +90,8 @@ const Login: React.FC<Props> = ({ location }) => {
89
90
</ div >
90
91
</ StyledRoot >
91
92
</ ReCaptchaProvider >
93
+
94
+ < FooterTopper color = "membership" />
92
95
</ Layout >
93
96
) ;
94
97
} ;
Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ import React, { FC } from 'react';
3
3
import styled from 'styled-components' ;
4
4
5
5
// Internal Dependencies
6
+ import FooterTopper from '../../components/footer/FooterTopper' ;
6
7
import Layout from '../../components/layout' ;
7
8
import ResourcesBanner from '../../components/resources/ResourcesBanner' ;
8
9
import ResourcesHeroBannerImage from '../../components/resources/ResourcesHeroBannerImage' ;
9
10
import ResourcesList from '../../components/resources/ResourcesList' ;
10
11
import ResourcesInfoBanner from '../../components/resources/ResourcesInfoBanner' ;
11
- import WhereWeHaveBeen from '../../components/about/WhereWeHaveBeen' ;
12
12
13
13
// Local Typings
14
14
interface Props {
@@ -40,7 +40,7 @@ const Resources: FC<Props> = ({ location }) => {
40
40
41
41
< ResourcesList />
42
42
43
- < WhereWeHaveBeen color = "resources" />
43
+ < FooterTopper color = "resources" />
44
44
</ StyledRoot >
45
45
</ Layout >
46
46
) ;
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ import styled from 'styled-components';
4
4
5
5
// Internal Dependencies
6
6
import { ReCaptchaProvider } from '../../components/shared/ReCaptchaProvider' ;
7
+ import FooterTopper from '../../components/footer/FooterTopper' ;
7
8
import Layout from '../../components/layout' ;
8
9
import SponsorsBanner from '../../components/sponsors/SponsorsBanner' ;
9
10
import SponsorsHeroBannerImage from '../../components/sponsors/SponsorsHeroBannerImage' ;
10
11
import SponsorsList from '../../components/sponsors/SponsorsList' ;
11
- import WhereWeHaveBeen from '../../components/about/WhereWeHaveBeen' ;
12
12
13
13
// Local Typings
14
14
interface Props {
@@ -39,7 +39,7 @@ const Sponsors: React.FC<Props> = ({ location }) => {
39
39
40
40
< SponsorsList />
41
41
42
- < WhereWeHaveBeen color = "membership" />
42
+ < FooterTopper color = "membership" />
43
43
</ StyledRoot >
44
44
</ ReCaptchaProvider >
45
45
</ Layout >
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ import styled from 'styled-components';
4
4
5
5
// Internal Dependencies
6
6
import DrumBanner from '../../components/shared/DrumBanner' ;
7
+ import FooterTopper from '../../components/footer/FooterTopper' ;
7
8
import Layout from '../../components/layout' ;
8
9
import SponsorsTableContent from '../../components/sponsors/SponsorsTable/SponsorsTableContent' ;
9
- import WhereWeHaveBeen from '../../components/about/WhereWeHaveBeen' ;
10
10
11
11
// Local Typings
12
12
interface Props {
@@ -43,7 +43,7 @@ const SponsorsTable: React.FC<Props> = ({ location }) => {
43
43
44
44
< SponsorsTableContent />
45
45
46
- < WhereWeHaveBeen color = "resources " />
46
+ < FooterTopper color = "membership " />
47
47
</ StyledRoot >
48
48
</ Layout >
49
49
) ;
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ export const appName = 'Texas Fine Arts Administrators';
2
2
export const appNameShort = 'TFAA' ;
3
3
export const appNameOld = 'Texas Music Administrators Conference' ;
4
4
export const appNameOldShort = 'TMAC' ;
5
+ export const appTagLine = `${ appNameShort } equips leaders to advance high quality fine arts education for all.` ;
5
6
6
7
export const mailingAddress = {
7
8
addressOne : '4107 Natural Bridge Court' ,
You can’t perform that action at this time.
0 commit comments