tj-sga-website-react/oldbuild/20250314/build/static/js/229.4f511f2e.chunk.js.map
2025-03-14 15:33:32 -04:00

1 line
7.1 KiB
Plaintext

{"version":3,"file":"static/js/229.4f511f2e.chunk.js","mappings":"iJAEe,SAASA,EAAIC,GAMxB,IANyB,SAC5BC,EAAW,mBAAkB,QAC7BC,EAAU,cAIVF,EACA,OACCG,EAAAA,EAAAA,MAAA,OAAKC,UAAU,OAAMC,SAAA,EACpBC,EAAAA,EAAAA,KAAA,QAAMF,UAAU,eAAcC,SAAEH,KAChCI,EAAAA,EAAAA,KAAA,OACCC,IAAKN,EACLO,IAAI,aACJC,MAAO,CACNC,MAAO,QACPC,UAAW,OACXC,UAAW,eAKhB,C,wDCrBe,SAASC,EAAcb,GAMlC,IANmC,KACtCc,EAAI,SACJT,GAIAL,EACA,OAAKc,EAAKC,WAAW,SAQnBT,EAAAA,EAAAA,KAAA,KAAGQ,KAAMA,EAAME,OAAO,SAASC,IAAI,aAAab,UAAU,cAAaC,SACrEA,KAPFC,EAAAA,EAAAA,KAACY,EAAAA,GAAI,CAACC,GAAIL,EAAMV,UAAU,cAAaC,SACrCA,GAUL,C,8CCtBe,SAASe,EAAepB,GAInC,IAJoC,SACvCK,GAGAL,EACA,OAAOM,EAAAA,EAAAA,KAAA,KAAGF,UAAU,mBAAkBC,SAAEA,GACzC,C,qDCNO,MAEMgB,EACZ,mFACYC,EACZ,oHACYC,EACZ,gH,wDCLc,SAASC,EAAmBxB,GAMvC,IANwC,MAC3CyB,EAAK,KACLC,GAIA1B,EACA,OACCG,EAAAA,EAAAA,MAAA,OAAKM,MAAO,CAAEkB,QAAS,OAAQC,UAAW,QAASvB,SAAA,EAClDC,EAAAA,EAAAA,KAAA,OAAKF,UAAU,aAAYC,UAC1BC,EAAAA,EAAAA,KAAA,QAAMF,UAAU,+BAA8BC,SAAEoB,OAEjDnB,EAAAA,EAAAA,KAAA,OAAKF,UAAU,aAAYC,UAC1BC,EAAAA,EAAAA,KAACc,EAAAA,EAA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":["components/Hero.tsx","components/BlueButtonLink.tsx","components/StrongParagraph.tsx","lib/constants.ts","components/ParagraphWithHeader.tsx","hooks/useMission.ts","pages/mission.tsx"],"sourcesContent":["import '../css/hero.css';\r\n\r\nexport default function Hero({\r\n\timageURL = '/images/hero.jpg',\r\n\theading = 'TJHSST SGA',\r\n}: {\r\n\timageURL?: string;\r\n\theading?: string;\r\n}) {\r\n\treturn (\r\n\t\t<div className='hero'>\r\n\t\t\t<span className='hero-heading'>{heading}</span>\r\n\t\t\t<img\r\n\t\t\t\tsrc={imageURL}\r\n\t\t\t\talt='Background'\r\n\t\t\t\tstyle={{\r\n\t\t\t\t\twidth: '100vw',\r\n\t\t\t\t\tmaxHeight: '60vh',\r\n\t\t\t\t\tobjectFit: 'contain',\r\n\t\t\t\t}}\r\n\t\t\t/>\r\n\t\t</div>\r\n\t);\r\n}\r\n","import { Link } from 'react-router-dom';\r\n\r\nexport default function BlueButtonLink({\r\n\thref,\r\n\tchildren,\r\n}: {\r\n\thref: string;\r\n\tchildren: React.ReactNode;\r\n}) {\r\n\tif (!href.startsWith('http')) {\r\n\t\treturn (\r\n\t\t\t<Link to={href} className='blue-button'>\r\n\t\t\t\t{children}\r\n\t\t\t</Link>\r\n\t\t);\r\n\t} else {\r\n\t\treturn (\r\n\t\t\t<a href={href} target='_blank' rel='noreferrer' className='blue-button'>\r\n\t\t\t\t{children}\r\n\t\t\t</a>\r\n\t\t);\r\n\t}\r\n}\r\n","export default function StrongParagraph({\r\n\tchildren,\r\n}: {\r\n\tchildren: React.ReactNode;\r\n}) {\r\n\treturn <p className='strong-paragraph'>{children}</p>;\r\n}\r\n","export const SGA_CALENDAR_URL =\r\n\t'https://calendar.google.com/calendar/u/0/embed?src=mbftfg4hu7i8ueqrgcb5o7hc6k@group.calendar.google.com&ctz=America/New_York';\r\nexport const SGA_NEWSLETTER_EMBED_URL =\r\n\t'https://us2.campaign-archive.com/home/?u=134be29b2a12819f7bfe30a34&id=6620cb91e2';\r\nexport const SGA_FEEDBACK_FORM_URL =\r\n\t'https://docs.google.com/forms/d/e/1FAIpQLSeO8CN666WSb-jw0johyLMLb00rFz-bCtXaPeWpTSvbSqBBLw/viewform?embedded=true';\r\nexport const SGA_PREVIOUS_LEADERSHIP_URL =\r\n\t'https://docs.google.com/spreadsheets/d/1a3RYdqrDi1IPG9BKWQ2xhoX3YCPQKUl_FsRLvIVEMPg/edit?usp=drive_open&ouid=0';\r\n","import StrongParagraph from './StrongParagraph';\r\n\r\nexport default function ParagraphWithHeader({\r\n\ttitle,\r\n\tbody,\r\n}: {\r\n\ttitle: string;\r\n\tbody: string;\r\n}) {\r\n\treturn (\r\n\t\t<div style={{ display: 'flex', textAlign: 'left' }}>\r\n\t\t\t<div className='flex-1 p-2'>\r\n\t\t\t\t<span className='paragraph-with-header-header'>{title}</span>\r\n\t\t\t</div>\r\n\t\t\t<div className='flex-2 p-2'>\r\n\t\t\t\t<StrongParagraph>{body}</StrongParagraph>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t);\r\n}\r\n","import React from 'react';\r\nimport sanity from '../sanity';\r\nimport { SanityDocument } from '@sanity/client/sanityClient';\r\n\r\nfunction useMission() {\r\n\tlet [mission, setMission] = React.useState<\r\n\t\tSanityDocument<SGA.MissionDocument> | undefined\r\n\t>();\r\n\r\n\tReact.useEffect(() => {\r\n\t\tsanity.getDocument<SGA.MissionDocument>('mission').then(setMission);\r\n\t}, []);\r\n\r\n\treturn mission;\r\n}\r\n\r\nexport default useMission;\r\n","import React from 'react';\r\nimport BlueButtonLink from '../components/BlueButtonLink';\r\nimport Centered from '../components/Centered';\r\nimport Hero from '../components/Hero';\r\nimport ParagraphWithHeader from '../components/ParagraphWithHeader';\r\nimport '../css/mission.css';\r\nimport useMission from '../hooks/useMission';\r\nimport { SGA_PREVIOUS_LEADERSHIP_URL } from '../lib/constants';\r\n\r\nfunction MissionQuote({ text, author }) {\r\n\treturn (\r\n\t\t<div className='mission-quote'>\r\n\t\t\t<span className='mission-quote-text'>“{text}”</span>\r\n\t\t\t<br />\r\n\t\t\t<br />\r\n\t\t\t<span className='mission-quote-author'>— {author}</span>\r\n\t\t</div>\r\n\t);\r\n}\r\n\r\nexport default function Mission() {\r\n\tlet mission = useMission();\r\n\r\n\treturn (\r\n\t\t<>\r\n\t\t\t<Hero heading='Mission and History' />\r\n\t\t\t<main>\r\n\t\t\t\t{mission && (\r\n\t\t\t\t\t<>\r\n\t\t\t\t\t\t<MissionQuote\r\n\t\t\t\t\t\t\tauthor={mission.quote_author}\r\n\t\t\t\t\t\t\ttext={mission.quote_text}\r\n\t\t\t\t\t\t/>\r\n\r\n\t\t\t\t\t\t<ParagraphWithHeader title='Vision' body={mission.vision} />\r\n\t\t\t\t\t\t<ParagraphWithHeader title='Mission' body={mission.mission} />\r\n\t\t\t\t\t\t<ParagraphWithHeader\r\n\t\t\t\t\t\t\ttitle='Inspiration'\r\n\t\t\t\t\t\t\tbody={mission.inspiration}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t</>\r\n\t\t\t\t)}\r\n\r\n\t\t\t\t<Centered>\r\n\t\t\t\t\t<BlueButtonLink href={SGA_PREVIOUS_LEADERSHIP_URL}>\r\n\t\t\t\t\t\tPrevious Leadership\r\n\t\t\t\t\t</BlueButtonLink>\r\n\t\t\t\t</Centered>\r\n\t\t\t</main>\r\n\t\t</>\r\n\t);\r\n}\r\n"],"names":["Hero","_ref","imageURL","heading","_jsxs","className","children","_jsx","src","alt","style","width","maxHeight","objectFit","BlueButtonLink","href","startsWith","target","rel","Link","to","StrongParagraph","SGA_NEWSLETTER_EMBED_URL","SGA_FEEDBACK_FORM_URL","SGA_PREVIOUS_LEADERSHIP_URL","ParagraphWithHeader","title","body","display","textAlign","mission","setMission","React","sanity","getDocument","then","MissionQuote","text","author","Mission","useMission","_Fragment","quote_author","quote_text","vision","inspiration","Centered"],"sourceRoot":""}