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

1 line
16 KiB
Plaintext

{"version":3,"file":"static/js/329.582d6296.chunk.js","mappings":"qIAAe,SAASA,EAAaC,GAKH,IALI,SACrCC,KACGC,GAG2BF,EAC9B,OACCG,EAAAA,EAAAA,KAAA,MAAIC,UAAU,UAAWF,EAAKD,SAC5BA,GAGJ,C,yDCTe,SAASI,EAAIL,GAMxB,IANyB,SAC5BM,EAAW,mBAAkB,QAC7BC,EAAU,cAIVP,EACA,OACCQ,EAAAA,EAAAA,MAAA,OAAKJ,UAAU,OAAMH,SAAA,EACpBE,EAAAA,EAAAA,KAAA,QAAMC,UAAU,eAAcH,SAAEM,KAChCJ,EAAAA,EAAAA,KAAA,OACCM,IAAKH,EACLI,IAAI,aACJC,MAAO,CACNC,MAAO,QACPC,UAAW,OACXC,UAAW,eAKhB,C,wDCrBe,SAASC,EAAcf,GAMlC,IANmC,KACtCgB,EAAI,SACJf,GAIAD,EACA,OAAKgB,EAAKC,WAAW,SAQnBd,EAAAA,EAAAA,KAAA,KAAGa,KAAMA,EAAME,OAAO,SAASC,IAAI,aAAaf,UAAU,cAAaH,SACrEA,KAPFE,EAAAA,EAAAA,KAACiB,EAAAA,GAAI,CAACC,GAAIL,EAAMZ,UAAU,cAAaH,SACrCA,GAUL,C,yGCjBe,SAASqB,IACvB,IAAIC,GAAUC,EAAAA,EAAAA,KAEd,OACCrB,EAAAA,EAAAA,KAAA,WAASC,UAAU,cAAaH,UAC/BO,EAAAA,EAAAA,MAAA,OAAKJ,UAAU,cAAaH,SAAA,EAC3BO,EAAAA,EAAAA,MAAA,KAAGJ,UAAU,4BAA2BH,SAAA,CAAC,SAAS,OAAPsB,QAAO,IAAPA,OAAO,EAAPA,EAASE,OAAO,aAC3DtB,EAAAA,EAAAA,KAACY,EAAAA,EAAc,CAACC,KAAK,WAAUf,SAAC,oBAIpC,C,0CCVe,SAASyB,IAAc,IAADC,EACpC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AAA,KAAA,KAAAF,SAAkB,QAAlBsE,EAAIxC,EAAQiD,cAAM,IAAAT,EAAAA,EAAI,eACtBpE,EAAAA,EAAAA,KAAA,UAEAA,EAAAA,EAAAA,KAAA,KAAAF,SAAI8B,EAAQkD,eAIhB,C,0DC1Ce,SAASpD,EAAYqD,EAAeC,GAClD,IAAKC,EAAQC,GAAa9B,EAAAA,WAM1B,OAJAA,EAAAA,WAAgB,KACfC,EAAAA,EAAO8B,MAAMJ,EAAOC,GAAQzB,KAAK2B,EAAU,GACzC,CAACH,EAAOC,IAEJC,CACR,C,kECRA,MAAMG,EAAUC,IAAgBhC,EAAAA,GAMjB,SAASd,EAAS+C,GAChC,OAAOF,EAAQG,MAAMD,EACtB,C","sources":["components/PrimaryHeader.tsx","components/Hero.tsx","components/BlueButtonLink.tsx","components/Mission.tsx","components/RecentNews.tsx","components/NewsAndMission.tsx","components/SegmentHeader.tsx","components/Segment.tsx","components/SegmentGroup.tsx","pages/index.tsx","components/ClickableLink.tsx","hooks/useMission.ts","components/FlexRow.tsx","components/FlexRowSection.tsx","components/ArticleRow.tsx","hooks/useQuery.ts","lib/imageUrl.ts"],"sourcesContent":["export default function PrimaryHeader({\r\n\tchildren,\r\n\t...props\r\n}: {\r\n\tchildren: React.ReactNode;\r\n} & JSX.IntrinsicElements['h1']) {\r\n\treturn (\r\n\t\t<h1 className='my-4' {...props}>\r\n\t\t\t{children}\r\n\t\t</h1>\r\n\t);\r\n}\r\n","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","import React from 'react';\r\nimport '../css/mission.css';\r\nimport useMission from '../hooks/useMission';\r\nimport BlueButtonLink from './BlueButtonLink';\r\n\r\nexport default function Mission() {\r\n\tlet mission = useMission(); // can be null\r\n\r\n\treturn (\r\n\t\t<section className='text-center'>\r\n\t\t\t<div className='mission-box'>\r\n\t\t\t\t<p className='mission-landing-page-text'>“{mission?.vision}”</p>\r\n\t\t\t\t<BlueButtonLink href='/mission'>Our Mission</BlueButtonLink>\r\n\t\t\t</div>\r\n\t\t</section>\r\n\t);\r\n}\r\n","import React from 'react';\r\nimport { Link } from 'react-router-dom';\r\nimport useQuery from '../hooks/useQuery';\r\nimport ArticleRow from './ArticleRow';\r\nimport PrimaryHeader from './PrimaryHeader';\r\n\r\nexport default function RecentNews() {\r\n\tconst articles =\r\n\t\tuseQuery<SGA.ArticleDocument[]>(\r\n\t\t\t`*[_type == 'article'] | order (publish_date desc, title) [0...3]`\r\n\t\t) ?? [];\r\n\r\n\tconst articleList = articles.map((article) => (\r\n\t\t<ArticleRow article={article} key={article._id} />\r\n\t));\r\n\r\n\treturn (\r\n\t\t<div>\r\n\t\t\t<PrimaryHeader>Recent News</PrimaryHeader>\r\n\t\t\t{articleList}\r\n\t\t\t<Link to='/news'>All News</Link>\r\n\t\t</div>\r\n\t);\r\n}\r\n","import Mission from './Mission';\r\nimport RecentNews from './RecentNews';\r\n\r\nexport default function NewsAndMission() {\r\n\treturn (\r\n\t\t<div className='row'>\r\n\t\t\t<div className='col flex-2'>\r\n\t\t\t\t<RecentNews />\r\n\t\t\t</div>\r\n\r\n\t\t\t<div className='col flex-1'>\r\n\t\t\t\t<Mission />\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t);\r\n}\r\n","export default function SegmentHeader({\r\n\tchildren,\r\n}: {\r\n\tchildren: React.ReactNode;\r\n}) {\r\n\treturn (\r\n\t\t<h3\r\n\t\t\tstyle={{\r\n\t\t\t\tmargin: '1em 0px',\r\n\t\t\t\tfontSize: '1.75rem',\r\n\t\t\t\tfontWeight: 500,\r\n\t\t\t}}\r\n\t\t>\r\n\t\t\t{children}\r\n\t\t</h3>\r\n\t);\r\n}\r\n","import BlueButtonLink from './BlueButtonLink';\r\nimport SegmentHeader from './SegmentHeader';\r\n\r\nexport default function Segment({ title, content, imageUrl, infoUrl }) {\r\n\treturn (\r\n\t\t<div style={{ textAlign: 'center', padding: '0px 17px', flex: 1 }}>\r\n\t\t\t<SegmentHeader>{title}</SegmentHeader>\r\n\t\t\t<img src={imageUrl} alt={title} />\r\n\t\t\t<p className='strong-paragraph'>{content}</p>\r\n\r\n\t\t\t<BlueButtonLink href={infoUrl}>MORE INFO</BlueButtonLink>\r\n\t\t</div>\r\n\t);\r\n}\r\n","import Segment from './Segment';\r\n\r\nexport const segments = [\r\n\t{\r\n\t\timageUrl: '/images/segments/news-and-happenings.jpg',\r\n\t\tinfoUrl: '/news',\r\n\t\ttitle: 'News and Happenings',\r\n\t\tcontent:\r\n\t\t\t'Read about SGA initiatives, goals, and progress from SGA officers, as well as from other student leaders, students, and student organizations.',\r\n\t},\r\n\t{\r\n\t\timageUrl: '/images/segments/who-we-are.jpg',\r\n\t\ttitle: 'Who We Are',\r\n\t\tinfoUrl: '/officers',\r\n\t\tcontent:\r\n\t\t\t\"Learn about your representatives, and how they're working to advance the common agenda that SGA has set to improve your experience at TJ.\",\r\n\t},\r\n\t{\r\n\t\timageUrl: '/images/segments/get-involved.jpg',\r\n\t\tinfoUrl: '/involved',\r\n\t\ttitle: 'Get Involved',\r\n\t\tcontent:\r\n\t\t\t'Any questions or concerns? Have an idea for how SGA could be doing more to advocate for students? Want to get involved? Contact Us!',\r\n\t},\r\n];\r\n\r\nexport default function InfoColumnGroup() {\r\n\treturn (\r\n\t\t<div className='d-flex'>\r\n\t\t\t{segments.map((segment) => (\r\n\t\t\t\t<Segment key={segment.title} {...segment} />\r\n\t\t\t))}\r\n\t\t</div>\r\n\t);\r\n}\r\n","import React from 'react';\r\nimport Hero from '../components/Hero';\r\nimport NewsAndMission from '../components/NewsAndMission';\r\nimport SegmentGroup from '../components/SegmentGroup';\r\n\r\nexport default function IndexPage() {\r\n\treturn (\r\n\t\t<>\r\n\t\t\t<Hero />\r\n\t\t\t<main>\r\n\t\t\t\t<SegmentGroup />\r\n\t\t\t\t<hr />\r\n\t\t\t\t<NewsAndMission />\r\n\t\t\t</main>\r\n\t\t</>\r\n\t);\r\n}\r\n","import { Link } from 'react-router-dom';\r\n\r\nexport default function ClickableLink({\r\n\thref,\r\n\tchildren,\r\n\ttarget,\r\n}: {\r\n\thref: string;\r\n\tchildren: React.ReactNode;\r\n\ttarget?: string;\r\n}) {\r\n\tif (href.startsWith('http')) {\r\n\t\treturn (\r\n\t\t\t<a href={href} className='clickable-link' target={target}>\r\n\t\t\t\t{children}\r\n\t\t\t</a>\r\n\t\t);\r\n\t} else {\r\n\t\treturn (\r\n\t\t\t<Link to={href} className='clickable-link'>\r\n\t\t\t\t{children}\r\n\t\t\t</Link>\r\n\t\t);\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","export default function FlexRow({\r\n\tpaddingLeft,\r\n\tpaddingRight,\r\n\tmarginTop,\r\n\tmarginBottom,\r\n\tchildren,\r\n}: {\r\n\tpaddingLeft?: string;\r\n\tpaddingRight?: string;\r\n\tmarginTop?: string;\r\n\tmarginBottom?: string;\r\n\tchildren: React.ReactNode;\r\n}) {\r\n\treturn (\r\n\t\t<div\r\n\t\t\tstyle={{\r\n\t\t\t\tdisplay: 'flex',\r\n\t\t\t\tflexDirection: 'row',\r\n\t\t\t\tpaddingLeft,\r\n\t\t\t\tpaddingRight,\r\n\t\t\t\tmarginTop,\r\n\t\t\t\tmarginBottom,\r\n\t\t\t}}\r\n\t\t>\r\n\t\t\t{children}\r\n\t\t</div>\r\n\t);\r\n}\r\n","export default function FlexRowSection({\r\n\tchildren,\r\n\tflex,\r\n\tpaddingLeft,\r\n\tpaddingRight,\r\n\tpaddingTop,\r\n\tpaddingBottom,\r\n\tpaddingX,\r\n\tpaddingY,\r\n}: {\r\n\tchildren: React.ReactNode;\r\n\tflex: number;\r\n\tpaddingLeft?: string;\r\n\tpaddingRight?: string;\r\n\tpaddingTop?: string;\r\n\tpaddingBottom?: string;\r\n\tpaddingX?: string;\r\n\tpaddingY?: string;\r\n}) {\r\n\tif (paddingX != null) {\r\n\t\tpaddingLeft = paddingRight = paddingX;\r\n\t}\r\n\tif (paddingY != null) {\r\n\t\tpaddingTop = paddingBottom = paddingY;\r\n\t}\r\n\treturn (\r\n\t\t<div style={{ flex, paddingLeft, paddingRight, paddingTop, paddingBottom }}>\r\n\t\t\t{children}\r\n\t\t</div>\r\n\t);\r\n}\r\n","import React from 'react';\r\nimport '../css/article.css';\r\nimport imageUrl from '../lib/imageUrl';\r\nimport ClickableLink from './ClickableLink';\r\nimport FlexRow from './FlexRow';\r\nimport FlexRowSection from './FlexRowSection';\r\n\r\nexport default function ArticleRow({\r\n\tarticle,\r\n}: {\r\n\tarticle: SGA.ArticleDocument;\r\n}) {\r\n\tlet thumbnail: React.ReactElement | null = null;\r\n\tif (article.thumbnail) {\r\n\t\tthumbnail = (\r\n\t\t\t<img\r\n\t\t\t\tsrc={imageUrl(article.thumbnail).url() ?? undefined}\r\n\t\t\t\talt={article.title}\r\n\t\t\t/>\r\n\t\t);\r\n\t}\r\n\r\n\tconst slug = (s: string) => s.toLowerCase().replace(/ /g, '-');\r\n\tconst articleUrl = '/news/' + article._id + '/' + slug(article.title);\r\n\r\n\treturn (\r\n\t\t<FlexRow marginTop='4em' marginBottom='4em'>\r\n\t\t\t<FlexRowSection flex={1} paddingY='0.5em' paddingRight='1em'>\r\n\t\t\t\t{thumbnail}\r\n\t\t\t</FlexRowSection>\r\n\t\t\t<FlexRowSection flex={3} paddingY='0.5em' paddingRight='1em'>\r\n\t\t\t\t<ClickableLink href={articleUrl} target='_blank'>\r\n\t\t\t\t\t<h3 style={{ margin: '0px' }}>{article.title}</h3>\r\n\t\t\t\t</ClickableLink>\r\n\r\n\t\t\t\t<i className='text-sm'>{article.publish_date}</i>\r\n\t\t\t\t<br />\r\n\r\n\t\t\t\t<i>{article.author ?? 'No author'}</i>\r\n\t\t\t\t<br />\r\n\r\n\t\t\t\t<p>{article.summary}</p>\r\n\t\t\t</FlexRowSection>\r\n\t\t</FlexRow>\r\n\t);\r\n}\r\n","import React from 'react';\r\nimport sanity from '../sanity';\r\n\r\nexport default function useQuery<T>(query: string, params?: any) {\r\n\tlet [result, setResult] = React.useState<T>();\r\n\r\n\tReact.useEffect(() => {\r\n\t\tsanity.fetch(query, params).then(setResult);\r\n\t}, [query, params]);\r\n\r\n\treturn result;\r\n}\r\n","import { default as ImageUrlBuilder } from '@sanity/image-url';\r\nimport sanity from '../sanity';\r\n\r\nconst builder = ImageUrlBuilder(sanity);\r\n\r\n/**\r\n * Build a URL for an image based on specified attributes\r\n * @param {SanityImageSource} source The source image\r\n */\r\nexport default function imageUrl(source: any) {\r\n\treturn builder.image(source);\r\n}\r\n"],"names":["PrimaryHeader","_ref","children","props","_jsx","className","Hero","imageURL","heading","_jsxs","src","alt","style","width","maxHeight","objectFit","BlueButtonLink","href","startsWith","target","rel","Link","to","Mission","mission","useMission","vision","RecentNews","_useQuery","articleList","useQuery","map","article","ArticleRow","_id","NewsAndMission","SegmentHeader","margin","fontSize","fontWeight","Segment","title","content","imageUrl","infoUrl","textAlign","padding","flex","segments","InfoColumnGroup","segment","IndexPage","_Fragment","SegmentGroup","ClickableLink","setMission","React","sanity","getDocument","then","FlexRow","paddingLeft","paddingRight","marginTop","marginBottom","display","flexDirection","FlexRowSection","paddingTop","paddingBottom","paddingX","paddingY","_article$author","thumbnail","_imageUrl$url","url","undefined","articleUrl","toLowerCase","replace","publish_date","author","summary","query","params","result","setResult","fetch","builder","ImageUrlBuilder","source","image"],"sourceRoot":""}