diff --git a/src/pages/learn.jsx b/src/pages/learn.jsx index 73132ed..8bb7329 100644 --- a/src/pages/learn.jsx +++ b/src/pages/learn.jsx @@ -1,3 +1,5 @@ +import { styled } from '@mui/material' +import Box from '@mui/material/Box' import Head from 'next/head' import Image from 'next/image' import ReactAudioPlayer from 'react-audio-player' @@ -7,14 +9,100 @@ import frequency1 from '../../public/images/frequency2.png' import LearnBanner from '../../public/images/learn.jpg' import organization1 from '../../public/images/partner1.png' import organization2 from '../../public/images/partner2.png' -import roundorca from '../../public/images/roundorca.png' import salishsea from '../../public/images/salishsea.png' +import roundorca from '../../public/images/srkw2-3.jpg' +import ActionButton from '../components/ActionButton' import TopBanner from '../components/TopBanner' import learnStyles from '../styles/Learn.module.css' +const Container = styled(Box)(({ theme }) => ({ + display: 'flex', + flexDirection: 'column', + alignItems: 'center', + padding: '0px 100px', + [theme.breakpoints.down('sm')]: { + padding: '0px 10px', + }, +})) + +const Intro = styled(Box)(({ theme }) => ({ + display: 'flex', + marginTop: '32px', + [theme.breakpoints.down('sm')]: { + flexDirection: 'column', + justifyContent: 'center', + }, +})) + +const IntroCallContainer = styled(Box)(({ theme }) => ({ + display: 'flex', + justifyContent: 'space-around', + marginTop: '5vh', + width: '80vw', + [theme.breakpoints.down('sm')]: { + flexDirection: 'column', + maxWidth: 'none', + marginTop: '0', + }, +})) + +const IntroCallDesc = styled(Box)(({ theme }) => ({ + display: 'flex', + flexDirection: 'column', + maxWidth: '30vw', + marginTop: '20vh', + [theme.breakpoints.down('sm')]: { + flexDirection: 'column', + maxWidth: 'none', + marginTop: '0', + }, +})) + +const CallExampleContainer = styled(Box)(({ theme }) => ({ + display: 'flex', + width: '80vw', + justifyContent: 'space-around', + [theme.breakpoints.down('sm')]: { + flexDirection: 'column', + }, +})) +const CallExampleLeftWrap = styled(Box)(({ theme }) => ({ + display: 'flex', + flexDirection: 'column', + maxWidth: '500px', + [theme.breakpoints.down('sm')]: {}, +})) + +const CallExampleRightWrap = styled(Box)(({ theme }) => ({ + display: 'flex', + flexDirection: 'column', + maxWidth: '500px', + marginTop: '40vh', + [theme.breakpoints.down('sm')]: { + marginTop: '0', + }, +})) +const CallExampleContentContainer = styled(Box)(({ theme }) => ({ + display: 'flex', + flexDirection: 'column', + justifyContent: 'center', + marginBottom: '6vh', + [theme.breakpoints.down('sm')]: {}, +})) + +const CallExampleContentWrap = styled(Box)(({ theme }) => ({ + backgroundColor: '#CAE9FF', + maxWidth: '530px', + padding: '5px', + display: 'flex', + flexDirection: 'column', + alignItems: 'center', + [theme.breakpoints.down('sm')]: {}, +})) + export const learn = () => { return ( -
- Explore common sounds of the Salish Sea by selecting the animals and - other objects in this anoramic soundscape of the inlandwaters of - Washington State(USA) and British Columbia(Canada) -
-
+ Explore common sounds of the Salish Sea by selecting the animals and
+ other objects in this
+ panoramic soundscape of the inland waters of Washington State (USA)
+ and British Columbia
+ (Canada).
+
{`More description goes here`}
-+ Conveniently, a few calls are used almost exclusively by each + southern resident pod. This means that by memorizing just 3 + calls, you can tell with great certainty that you are hearing a + particular pod of orcas!{' '} +
+{`More description goes here`}
-{`More description goes here`}
++ J pod is the most local of the pods, commonly visiting Seattle + about once a month throughout the year, and is famous for + J2/Granny who may have been the oldest female orca living to + be about 100 years old. +
+{`More description goes here`}
-
- {`Learn About the Marine acoustic landscape and the hydrophone network`}
- {`More description goes here`}
+ L pod travels the furthest each year, often foraging as far
+ south as San Francisco in wintertime, and is the largest pod
+ with more than 30 members now (and almost 60 in 1993).
+ {`More description goes here`}
+ K pod is the smallest pod with less than ~20 members since an
+ annual census began in the 1970s, but they have the cutest call
+ which most listeners think sounds like a kitten mewing.
+
- {`by exploring these Orcasound Exhibit screens designed for
+ {`K pod's Favorite call:516`}
+ {`L pod's Favorite call:519`}
+
+ {`Learn About the Marine acoustic landscape and the hydrophone network`}
+
+ {`by exploring these Orcasound Exhibit screens designed for
educational organizations in the Pudget Sound regions`}
-