Skip to content

Commit

Permalink
Fixup footer logos
Browse files Browse the repository at this point in the history
  • Loading branch information
thostetler committed Jul 22, 2024
1 parent 97ed248 commit 4a24a90
Show file tree
Hide file tree
Showing 6 changed files with 275 additions and 92 deletions.
29 changes: 15 additions & 14 deletions src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Box, Flex, HStack, Text, VisuallyHidden } from '@chakra-ui/react';
import { CFALogo, NasaLogo, SimpleLink, SmithsonianLogo } from '@/components';
import { CFALogo, NASAPartnerLogo, SimpleLink, SmithsonianLogo } from '@/components';
import { FC } from 'react';
import { EXTERNAL_URLS } from '@/config';

Expand All @@ -21,10 +21,6 @@ export const Footer: FC = () => {
© The{' '}
<Text as="abbr" title="Smithsonian Astrophysical Observatory">
SAO
</Text>
/
<Text as="abbr" title="National Aeronautics and Space Administration">
NASA
</Text>{' '}
Astrophysics Data System
</Text>
Expand All @@ -37,22 +33,27 @@ export const Footer: FC = () => {
</Text>{' '}
Cooperative Agreement 80NSSC21M0056.
</Text>
<HStack my={3} spacing={1}>
<SimpleLink href={EXTERNAL_URLS.NASA_HOME_PAGE} variant="footer" isExternal>
<VisuallyHidden as="abbr" title="National Aeronautics and Space Administration">
NASA
</VisuallyHidden>
<NasaLogo width="80px" height="66px" aria-hidden />
</SimpleLink>
<HStack my={3} spacing={2}>
<SimpleLink href={EXTERNAL_URLS.SMITHSONIAN_HOME_PAGE} variant="footer" isExternal>
<VisuallyHidden>Smithsonian Institution</VisuallyHidden>
<SmithsonianLogo width="66px" height="68px" aria-hidden />
<SmithsonianLogo width="60px" height="60px" aria-hidden />
</SimpleLink>
<SimpleLink href={EXTERNAL_URLS.CFA_HOME_PAGE} variant="footer" isExternal>
<VisuallyHidden>Center for Astrophysics</VisuallyHidden>
<CFALogo width="100px" height="41px" style={{ filter: 'invert(1)' }} aria-hidden />
<CFALogo width="100px" height="40px" style={{ filter: 'invert(1)' }} aria-hidden />
</SimpleLink>
<SimpleLink href={EXTERNAL_URLS.NASA_HOME_PAGE} variant="footer" isExternal>
<VisuallyHidden as="abbr" title="National Aeronautics and Space Administration">
NASA
</VisuallyHidden>
<NASAPartnerLogo width="80px" height="60.24px" aria-hidden />
</SimpleLink>
</HStack>
<Text fontStyle="italic" fontSize="xx-small">
*The material contained in this document is based upon work supported by a National Aeronautics and Space
Administration (NASA) grant or cooperative agreement. Any opinions, findings, conclusions or recommendations
expressed in this material are those of the author and do not necessarily reflect the views of NASA.
</Text>
</Flex>
<Flex direction="column" mx={5} my={{ base: '3', md: '0' }}>
<Text fontWeight="bold" pb={1}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/images/CFALogo.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { forwardRef, Ref, SVGProps } from 'react';

const logo = (props: SVGProps<SVGSVGElement>, ref: Ref<SVGSVGElement>) => (
<svg width="1em" height="1em" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 295.13 126.49" ref={ref} {...props}>
<svg width="1em" height="1em" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 295.13 130.49" ref={ref} {...props}>
<path d="M11.09.46L11 2.2a25.18 25.18 0 0 0-4.28-.49c-3.42 0-4.8 1.29-4.8 4.77v9.37c0 3.25 1.38 4.7 4.87 4.7a20.9 20.9 0 0 0 4.24-.5l.06 1.78a24.24 24.24 0 0 1-4.34.49c-4.93 0-6.75-2.2-6.75-6.61V6.64C0 2.07 1.82 0 6.75 0a27.3 27.3 0 0 1 4.34.46zM33.13 2.14h-8.81v8h8.15v1.7h-8.15v8.36h8.81v1.74H22.41V.39h10.72zM46.65 2.7v19.23h-1.87V.39h3l8.88 19.14V.39h1.87v21.54h-2.87zM83.81 2.14h-6.47v19.79h-1.91V2.14H69V.39h14.81zM104.93 2.14h-8.81v8h8.15v1.7h-8.15v8.36h8.81v1.74H94.21V.39h10.72zM129.37 5.79v.79a5.44 5.44 0 0 1-4.05 5.58l5.56 9.77h-2.14l-5.29-9.37a28.35 28.35 0 0 1-5 0v9.4h-1.91V.17c1.98-.07 3.72-.17 5.53-.17 5.09 0 7.3 2.2 7.3 5.79zm-10.88-4v9.11c1.44.1 2.66.16 3.61.16 3.75 0 5.36-1.57 5.36-4.53v-.61c0-2.83-1.64-4.24-5.46-4.24-.72 0-2.59.06-3.51.09zM165.32 2.14h-8.81v8h6.67v1.7h-6.67v10.1h-1.91V.39h10.72zM188.93 7.07v8.18c0 4.57-2.1 7.07-6.94 7.07s-6.93-2.5-6.93-7.07V7.07C175.06 2.63 177 0 182 0s6.93 2.63 6.93 7.07zm-12-.33v8.81c0 3.39 1.68 5.06 5 5.06s5-1.67 5-5.06V6.77c0-3.35-1.64-5.06-5-5.06S177 3.39 177 6.74zM213.53 5.79v.79a5.44 5.44 0 0 1-4 5.58l5.47 9.77h-2.13l-5.29-9.37a28.46 28.46 0 0 1-5 0v9.4h-1.91V.17c1.94-.07 3.69-.17 5.5-.17 5.16 0 7.36 2.2 7.36 5.79zm-10.88-4v9.11c1.45.1 2.67.16 3.62.16 3.75 0 5.36-1.57 5.36-4.53v-.61c0-2.83-1.65-4.24-5.46-4.24-.72 0-2.6.06-3.52.09zM118.22 58.41c-2.33 0-3.48 1.18-3.48 3.42v8.35c0 2.27 1.18 3.45 3.48 3.45s3.49-1.18 3.49-3.45v-8.32c0-2.23-1.19-3.45-3.49-3.45zM93.39 58.31c-.52 0-1.45 0-2.1.07v6.28a21 21 0 0 0 2.13.13c2.7 0 3.82-1.19 3.82-3.13v-.52c0-1.88-1.12-2.83-3.85-2.83zM23.3 68.93h5.29l-2.63-10.39-2.66 10.39zM141.74 58.28c-1 0-1.51 0-2.07.07v6.53a16.23 16.23 0 0 0 2.2.2c2.57 0 3.82-1.15 3.82-3.35v-.49c0-1.91-1.16-2.96-3.95-2.96z"></path>
<path d="M0 36.76v59.16h295.12V36.76zm30.52 40l-1.15-4.51h-6.86l-1.15 4.51h-4l6.34-21.51h4.66l6.38 21.54zM55 71.06c0 4-2 6.12-7.49 6.12a28.85 28.85 0 0 1-5.07-.69v-3.65a24.06 24.06 0 0 0 4.93.72c2.76 0 3.68-.85 3.68-2.36v-.86c0-1.15-.46-1.74-1.74-2.17l-3.19-1c-3.19-1.05-4.28-2.46-4.28-5.85v-.33c0-3.91 2-6.08 6.68-6.08a34.55 34.55 0 0 1 5 .52L53.46 59a31.6 31.6 0 0 0-4.83-.56c-2.07 0-2.83.82-2.83 2.3v.69c0 1.19.36 1.64 2.07 2.2l2.89 1c3.06 1 4.21 2.56 4.21 5.88zm23.22-12.19h-5.91v17.92h-3.92V58.87h-5.91v-3.62h15.74zm20.3 17.92l-4.67-8.68a17 17 0 0 1-2.53 0v8.72h-3.95V55.06c1.91-.07 4.48-.2 6-.2 5.49 0 7.79 2.37 7.79 6v.79a5.72 5.72 0 0 1-3.65 5.39l5.33 9.7zm27.13-6.87c0 4.53-2.2 7.26-7.43 7.26s-7.39-2.73-7.39-7.26v-7.8c0-4.6 2.23-7.26 7.39-7.26s7.43 2.66 7.43 7.26zm24-8.06c0 4.17-2.47 6.71-7.46 6.71a15.79 15.79 0 0 1-2.47-.23v8.45h-3.94V55.06c1.64-.07 3.78-.17 6-.2 5.42 0 7.89 2.43 7.89 6.28zm23.75 14.93h-3.92v-9.31h-6.77v9.31h-3.94V55.25h3.94v8.68h6.77v-8.68h3.92zm18.81-7.43v7.43h-3.94v-7.43L182 55.25h4.44l3.78 10.29 3.82-10.29h4.34zm26.79 1.7c0 4-2 6.12-7.5 6.12a28.76 28.76 0 0 1-5.06-.69v-3.65a24.16 24.16 0 0 0 4.93.72c2.76 0 3.68-.85 3.68-2.36v-.86c0-1.15-.46-1.74-1.74-2.17l-3.19-1c-3.19-1.05-4.27-2.46-4.27-5.85v-.33c0-3.91 2-6.08 6.67-6.08a34.27 34.27 0 0 1 5 .52l-.07 3.57a31.46 31.46 0 0 0-4.83-.56c-2.07 0-2.83.82-2.83 2.3v.69c0 1.19.36 1.64 2.07 2.2l2.9 1c3.05 1 4.21 2.56 4.21 5.88zm13.25 5.73h-3.94V55.25h3.94zM250 73.56a22.79 22.79 0 0 0 4.47-.59l.07 3.62a29.62 29.62 0 0 1-4.93.59c-5.39 0-7.27-2.3-7.27-6.87v-8.58c0-4.63 1.94-6.87 7.27-6.87a33.34 33.34 0 0 1 4.93.56l-.07 3.52a25.47 25.47 0 0 0-4.47-.53c-2.79 0-3.71.89-3.71 3.55v8.09c-.05 2.63.9 3.51 3.71 3.51zm26.58-2.5c0 4-2 6.12-7.5 6.12a28.76 28.76 0 0 1-5.06-.69v-3.65a24.16 24.16 0 0 0 4.93.72c2.76 0 3.68-.85 3.68-2.36v-.86c0-1.15-.46-1.74-1.74-2.17l-3.19-1c-3.19-1.05-4.27-2.46-4.27-5.85v-.33c0-3.91 2-6.08 6.67-6.08a34.27 34.27 0 0 1 5 .52L275 59a31.46 31.46 0 0 0-4.83-.56c-2.07 0-2.83.82-2.83 2.3v.69c0 1.19.36 1.64 2.07 2.2l2.9 1c3.05 1 4.21 2.56 4.21 5.88zM0 112.51h1.59v5.95H8.8v-5.95h1.57v13.56H8.8v-6.18H1.59v6.18H0zM18.89 121.67l-1.63 4.4h-1.59l5.08-13.56h1.58l5.08 13.56h-1.59l-1.63-4.4zm2.65-7.44l-2.17 6.08h4.36zM32.73 112.51h3.45c2.77 0 4.22 1.4 4.22 3.76a3.56 3.56 0 0 1-2.4 3.58l3.37 6.22h-1.71l-3-5.89H34.3v5.89h-1.57zm3.45 6.29a2.25 2.25 0 0 0 2.57-2.51c0-1.44-.75-2.38-2.67-2.38H34.3v4.89zM50.28 126.07l-5.15-13.56h1.72l4.26 11.7 4.28-11.7h1.72L52 126.07zM62.92 121.67l-1.62 4.4h-1.59l5.07-13.56h1.59l5.07 13.56h-1.58l-1.63-4.4zm2.66-7.44l-2.17 6.08h4.35zM76.77 112.51h3.45c2.76 0 4.22 1.4 4.22 3.76a3.57 3.57 0 0 1-2.37 3.58l3.37 6.22H83.7l-3.06-5.89h-2.3v5.89h-1.57zm3.45 6.29a2.25 2.25 0 0 0 2.57-2.51c0-1.44-.75-2.38-2.67-2.38h-1.78v4.89zM90.9 112.51h2.79c4.63 0 7.26 2.54 7.26 6.78 0 4.49-2.73 6.78-7.26 6.78H90.9zm3.1 12.16c3.26 0 5.35-1.84 5.35-5.38s-2.09-5.36-5.35-5.36h-1.53v10.74zM123.09 124.81a5.55 5.55 0 0 1-4 1.51c-3 0-4.71-1.78-4.71-4a4.18 4.18 0 0 1 2.38-3.66 4.23 4.23 0 0 1-1.47-3 3.42 3.42 0 0 1 3.7-3.39c2.36 0 3.78 1.39 3.78 3.41 0 1.68-1.18 2.82-3 3.87l3.21 3.1a5.53 5.53 0 0 0 .64-3h1.47a7.07 7.07 0 0 1-1 4.12l1.41 1.42-1.11 1.06zm-1-1.07l-4.24-4.08a2.81 2.81 0 0 0-1.86 2.57c0 1.71 1.45 2.69 3.18 2.69a4.17 4.17 0 0 0 2.89-1.18zm-3.27-5.07c1.41-.72 2.57-1.71 2.57-3a2.28 2.28 0 0 0-4.56 0c-.03 1.26.93 2.13 1.96 3zM139.47 122.75a2.92 2.92 0 0 0 3 2.11 2.21 2.21 0 0 0 2.46-2.24c0-3.39-6.35-2.52-6.35-6.89 0-1.94 1.47-3.47 3.87-3.47a4 4 0 0 1 3.84 2.59l-1.32.55a2.72 2.72 0 0 0-2.53-1.71 2 2 0 0 0-2.29 2c0 3.09 6.37 2.46 6.37 6.79a3.78 3.78 0 0 1-4.1 3.8 4.2 4.2 0 0 1-4.24-3zM159.2 123.06l4.88-10.55h2v13.56h-1.51v-11.29l-4.59 10h-1.55l-4.59-10v11.29h-1.51v-13.56h2zM172.68 112.51h1.57v13.56h-1.57zM183.39 113.94h-3.66v-1.43h8.87v1.43H185v12.13h-1.57zM194.29 112.51h1.57v5.95h7.21v-5.95h1.56v13.56h-1.56v-6.18h-7.21v6.18h-1.57zM211.7 122.75a2.92 2.92 0 0 0 3 2.11 2.21 2.21 0 0 0 2.46-2.24c0-3.39-6.35-2.52-6.35-6.89 0-1.94 1.47-3.47 3.88-3.47a3.94 3.94 0 0 1 3.83 2.59l-1.32.55a2.72 2.72 0 0 0-2.53-1.71 2 2 0 0 0-2.29 2c0 3.09 6.37 2.46 6.37 6.79a3.78 3.78 0 0 1-4.1 3.8 4.2 4.2 0 0 1-4.24-3zM230.7 112.26a7 7 0 1 1-6.91 7 6.85 6.85 0 0 1 6.91-7zm0 12.59a5.57 5.57 0 1 0-5.29-5.56 5.29 5.29 0 0 0 5.29 5.56zM243.42 112.51H245l7.47 11.08v-11.08H254v13.56h-1.55L245 115v11h-1.57zM260.62 112.51h1.57v13.56h-1.57zM270.71 121.67l-1.63 4.4h-1.59l5.08-13.56h1.58l5.08 13.56h-1.59l-1.63-4.4zm2.65-7.44l-2.17 6.08h4.36zM284.53 112.51h1.57l7.48 11.08v-11.08h1.55v13.56h-1.55l-7.48-11v11h-1.57z"></path>
</svg>
Expand Down
Loading

0 comments on commit 4a24a90

Please sign in to comment.