new build + updates to the site

This commit is contained in:
ShabMan01 2025-03-14 15:33:32 -04:00
parent a5b554dd76
commit b69a49b3ae
87 changed files with 10682 additions and 31 deletions

View File

@ -0,0 +1,61 @@
{
"files": {
"main.css": "/static/css/main.211bde94.css",
"main.js": "/static/js/main.817cc4b6.js",
"static/css/255.37dcf8ca.chunk.css": "/static/css/255.37dcf8ca.chunk.css",
"static/js/255.cb78c6ae.chunk.js": "/static/js/255.cb78c6ae.chunk.js",
"static/css/652.37dcf8ca.chunk.css": "/static/css/652.37dcf8ca.chunk.css",
"static/js/652.4469b187.chunk.js": "/static/js/652.4469b187.chunk.js",
"static/css/602.dd2c4e30.chunk.css": "/static/css/602.dd2c4e30.chunk.css",
"static/js/602.c6db76ae.chunk.js": "/static/js/602.c6db76ae.chunk.js",
"static/css/329.87df2e5d.chunk.css": "/static/css/329.87df2e5d.chunk.css",
"static/js/329.582d6296.chunk.js": "/static/js/329.582d6296.chunk.js",
"static/css/958.37dcf8ca.chunk.css": "/static/css/958.37dcf8ca.chunk.css",
"static/js/958.f1d3f46a.chunk.js": "/static/js/958.f1d3f46a.chunk.js",
"static/css/381.dd2c4e30.chunk.css": "/static/css/381.dd2c4e30.chunk.css",
"static/js/381.a74694f0.chunk.js": "/static/js/381.a74694f0.chunk.js",
"static/css/229.1edaa5fa.chunk.css": "/static/css/229.1edaa5fa.chunk.css",
"static/js/229.4f511f2e.chunk.js": "/static/js/229.4f511f2e.chunk.js",
"static/css/124.16929c6e.chunk.css": "/static/css/124.16929c6e.chunk.css",
"static/js/124.0934d14d.chunk.js": "/static/js/124.0934d14d.chunk.js",
"static/css/647.37dcf8ca.chunk.css": "/static/css/647.37dcf8ca.chunk.css",
"static/js/647.9dfaa63d.chunk.js": "/static/js/647.9dfaa63d.chunk.js",
"static/css/326.dd2c4e30.chunk.css": "/static/css/326.dd2c4e30.chunk.css",
"static/js/326.0d1a3133.chunk.js": "/static/js/326.0d1a3133.chunk.js",
"static/js/715.78cd5bf3.chunk.js": "/static/js/715.78cd5bf3.chunk.js",
"static/css/538.37dcf8ca.chunk.css": "/static/css/538.37dcf8ca.chunk.css",
"static/js/538.0d0d65c9.chunk.js": "/static/js/538.0d0d65c9.chunk.js",
"static/js/422.88a2a6a4.chunk.js": "/static/js/422.88a2a6a4.chunk.js",
"index.html": "/index.html",
"main.211bde94.css.map": "/static/css/main.211bde94.css.map",
"main.817cc4b6.js.map": "/static/js/main.817cc4b6.js.map",
"255.37dcf8ca.chunk.css.map": "/static/css/255.37dcf8ca.chunk.css.map",
"255.cb78c6ae.chunk.js.map": "/static/js/255.cb78c6ae.chunk.js.map",
"652.37dcf8ca.chunk.css.map": "/static/css/652.37dcf8ca.chunk.css.map",
"652.4469b187.chunk.js.map": "/static/js/652.4469b187.chunk.js.map",
"602.dd2c4e30.chunk.css.map": "/static/css/602.dd2c4e30.chunk.css.map",
"602.c6db76ae.chunk.js.map": "/static/js/602.c6db76ae.chunk.js.map",
"329.87df2e5d.chunk.css.map": "/static/css/329.87df2e5d.chunk.css.map",
"329.582d6296.chunk.js.map": "/static/js/329.582d6296.chunk.js.map",
"958.37dcf8ca.chunk.css.map": "/static/css/958.37dcf8ca.chunk.css.map",
"958.f1d3f46a.chunk.js.map": "/static/js/958.f1d3f46a.chunk.js.map",
"381.dd2c4e30.chunk.css.map": "/static/css/381.dd2c4e30.chunk.css.map",
"381.a74694f0.chunk.js.map": "/static/js/381.a74694f0.chunk.js.map",
"229.1edaa5fa.chunk.css.map": "/static/css/229.1edaa5fa.chunk.css.map",
"229.4f511f2e.chunk.js.map": "/static/js/229.4f511f2e.chunk.js.map",
"124.16929c6e.chunk.css.map": "/static/css/124.16929c6e.chunk.css.map",
"124.0934d14d.chunk.js.map": "/static/js/124.0934d14d.chunk.js.map",
"647.37dcf8ca.chunk.css.map": "/static/css/647.37dcf8ca.chunk.css.map",
"647.9dfaa63d.chunk.js.map": "/static/js/647.9dfaa63d.chunk.js.map",
"326.dd2c4e30.chunk.css.map": "/static/css/326.dd2c4e30.chunk.css.map",
"326.0d1a3133.chunk.js.map": "/static/js/326.0d1a3133.chunk.js.map",
"715.78cd5bf3.chunk.js.map": "/static/js/715.78cd5bf3.chunk.js.map",
"538.37dcf8ca.chunk.css.map": "/static/css/538.37dcf8ca.chunk.css.map",
"538.0d0d65c9.chunk.js.map": "/static/js/538.0d0d65c9.chunk.js.map",
"422.88a2a6a4.chunk.js.map": "/static/js/422.88a2a6a4.chunk.js.map"
},
"entrypoints": [
"static/css/main.211bde94.css",
"static/js/main.817cc4b6.js"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 710 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 689 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 651 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

View File

@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/images/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Official website for the Thomas Jefferson High School Student Government Association"/><link rel="manifest" href="/manifest.json"/><link rel="preconnect" href="https://fonts.gstatic.com"/><link href="https://fonts.googleapis.com/css2?family=Arapey:ital@0;1&display=swap" rel="stylesheet"/><link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous"/><title>TJHSST Student Government Association</title><script defer="defer" src="/static/js/main.817cc4b6.js"></script><link href="/static/css/main.211bde94.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

View File

@ -0,0 +1,10 @@
{
"short_name": "TJ Student Government Association",
"name": "Thomas Jefferson Student Government Association",
"icons": [
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}

View File

@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:

View File

@ -0,0 +1,2 @@
.article-list{display:flex;flex-direction:column}.article-row-thumbnail,.article-row-thumbnail-height-constrained{flex:1 1;padding-bottom:.5em;padding-right:1em;padding-top:.5em;text-align:center}.article-row-thumbnail-height-constrained{height:200px;width:100px}.article-row-thumbnail-height-constrained>img{object-fit:cover}.article-row-content{flex:3 1;padding-bottom:.5em;padding-right:1em;padding-top:.5em}.article-paragraphs{font-size:22px;font-weight:400;line-height:33px}.hero{position:relative;width:100%}.hero-heading{align-items:center;color:#fff;display:flex;font-size:4rem;font-weight:700;height:100%;justify-content:center;position:absolute;text-shadow:1px 1px #30303080;width:100%}
/*# sourceMappingURL=124.16929c6e.chunk.css.map*/

View File

@ -0,0 +1 @@
{"version":3,"file":"static/css/124.16929c6e.chunk.css","mappings":"AAAA,cACE,YAAa,CACb,qBACF,CAEA,iEAEE,QAAO,CAEP,mBAAqB,CACrB,iBAAkB,CAFlB,gBAAkB,CAGlB,iBACF,CAEA,0CAEE,YAAa,CADb,WAEF,CAEA,8CACE,gBACF,CAEA,qBACE,QAAO,CAEP,mBAAqB,CACrB,iBAAkB,CAFlB,gBAGF,CAEA,oBACE,cAAe,CAEf,eAAgB,CADhB,gBAEF,CClCA,MACE,iBAAkB,CAClB,UACF,CAEA,cAUE,kBAAmB,CALnB,UAAY,CAJZ,YAAa,CACb,cAAe,CACf,eAAiB,CAIjB,WAAY,CAEZ,sBAAuB,CAHvB,iBAAkB,CAFlB,6BAA0C,CAI1C,UAGF","sources":["css/article.css","css/hero.css"],"sourcesContent":[".article-list {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.article-row-thumbnail,\r\n.article-row-thumbnail-height-constrained {\r\n flex: 1;\r\n padding-top: 0.5em;\r\n padding-bottom: 0.5em;\r\n padding-right: 1em;\r\n text-align: center;\r\n}\r\n\r\n.article-row-thumbnail-height-constrained {\r\n width: 100px;\r\n height: 200px;\r\n}\r\n\r\n.article-row-thumbnail-height-constrained>img {\r\n object-fit: cover;\r\n}\r\n\r\n.article-row-content {\r\n flex: 3;\r\n padding-top: 0.5em;\r\n padding-bottom: 0.5em;\r\n padding-right: 1em;\r\n}\r\n\r\n.article-paragraphs {\r\n font-size: 22px;\r\n line-height: 33px;\r\n font-weight: 400;\r\n}",".hero {\r\n position: relative;\r\n width: 100%;\r\n}\r\n\r\n.hero-heading {\r\n display: flex;\r\n font-size: 4rem;\r\n font-weight: bold;\r\n text-shadow: 1px 1px rgba(48, 48, 48, 0.5);\r\n color: white;\r\n position: absolute;\r\n height: 100%;\r\n width: 100%;\r\n justify-content: center;\r\n align-items: center;\r\n}"],"names":[],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
.hero{position:relative;width:100%}.hero-heading{align-items:center;color:#fff;display:flex;font-size:4rem;font-weight:700;height:100%;justify-content:center;position:absolute;text-shadow:1px 1px #30303080;width:100%}.mission-box{padding:0 20px}.mission-landing-page-text{font-family:Arapey;font-size:33px;font-style:italic;font-weight:500;line-height:44px}.mission-quote{display:flex;flex-direction:column;margin:20px 0}.mission-quote-text{font-family:Arapey;font-size:2rem;font-style:italic;font-weight:600;text-align:center;width:100%}.mission-quote-author{display:inline-block;font-size:20px;padding-right:200px;text-align:right;width:100%}
/*# sourceMappingURL=229.1edaa5fa.chunk.css.map*/

View File

@ -0,0 +1 @@
{"version":3,"file":"static/css/229.1edaa5fa.chunk.css","mappings":"AAAA,MACE,iBAAkB,CAClB,UACF,CAEA,cAUE,kBAAmB,CALnB,UAAY,CAJZ,YAAa,CACb,cAAe,CACf,eAAiB,CAIjB,WAAY,CAEZ,sBAAuB,CAHvB,iBAAkB,CAFlB,6BAA0C,CAI1C,UAGF,CChBA,aACE,cACF,CAEA,2BACE,kBAAqB,CACrB,cAAe,CACf,iBAAkB,CAClB,eAAgB,CAChB,gBACF,CAEA,eACE,YAAa,CACb,qBAAsB,CACtB,aACF,CAEA,oBAIE,kBAAqB,CAHrB,cAAe,CAEf,iBAAkB,CADlB,eAAgB,CAIhB,iBAAkB,CADlB,UAEF,CAEA,sBAIE,oBAAqB,CADrB,cAAe,CAEf,mBAAoB,CAHpB,gBAAiB,CADjB,UAKF","sources":["css/hero.css","css/mission.css"],"sourcesContent":[".hero {\r\n position: relative;\r\n width: 100%;\r\n}\r\n\r\n.hero-heading {\r\n display: flex;\r\n font-size: 4rem;\r\n font-weight: bold;\r\n text-shadow: 1px 1px rgba(48, 48, 48, 0.5);\r\n color: white;\r\n position: absolute;\r\n height: 100%;\r\n width: 100%;\r\n justify-content: center;\r\n align-items: center;\r\n}",".mission-box {\r\n padding: 0px 20px;\r\n}\r\n\r\n.mission-landing-page-text {\r\n font-family: 'Arapey';\r\n font-size: 33px;\r\n font-style: italic;\r\n font-weight: 500;\r\n line-height: 44px;\r\n}\r\n\r\n.mission-quote {\r\n display: flex;\r\n flex-direction: column;\r\n margin: 20px 0px;\r\n}\r\n\r\n.mission-quote-text {\r\n font-size: 2rem;\r\n font-weight: 600;\r\n font-style: italic;\r\n font-family: 'Arapey';\r\n width: 100%;\r\n text-align: center;\r\n}\r\n\r\n.mission-quote-author {\r\n width: 100%;\r\n text-align: right;\r\n font-size: 20px;\r\n display: inline-block;\r\n padding-right: 200px;\r\n}"],"names":[],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
.hero{position:relative;width:100%}.hero-heading{align-items:center;color:#fff;display:flex;font-size:4rem;font-weight:700;height:100%;justify-content:center;position:absolute;text-shadow:1px 1px #30303080;width:100%}.article-list{display:flex;flex-direction:column}.article-row-thumbnail,.article-row-thumbnail-height-constrained{flex:1 1;padding-bottom:.5em;padding-right:1em;padding-top:.5em;text-align:center}.article-row-thumbnail-height-constrained{height:200px;width:100px}.article-row-thumbnail-height-constrained>img{object-fit:cover}.article-row-content{flex:3 1;padding-bottom:.5em;padding-right:1em;padding-top:.5em}.article-paragraphs{font-size:22px;font-weight:400;line-height:33px}
/*# sourceMappingURL=255.37dcf8ca.chunk.css.map*/

View File

@ -0,0 +1 @@
{"version":3,"file":"static/css/255.37dcf8ca.chunk.css","mappings":"AAAA,MACE,iBAAkB,CAClB,UACF,CAEA,cAUE,kBAAmB,CALnB,UAAY,CAJZ,YAAa,CACb,cAAe,CACf,eAAiB,CAIjB,WAAY,CAEZ,sBAAuB,CAHvB,iBAAkB,CAFlB,6BAA0C,CAI1C,UAGF,CChBA,cACE,YAAa,CACb,qBACF,CAEA,iEAEE,QAAO,CAEP,mBAAqB,CACrB,iBAAkB,CAFlB,gBAAkB,CAGlB,iBACF,CAEA,0CAEE,YAAa,CADb,WAEF,CAEA,8CACE,gBACF,CAEA,qBACE,QAAO,CAEP,mBAAqB,CACrB,iBAAkB,CAFlB,gBAGF,CAEA,oBACE,cAAe,CAEf,eAAgB,CADhB,gBAEF","sources":["css/hero.css","css/article.css"],"sourcesContent":[".hero {\r\n position: relative;\r\n width: 100%;\r\n}\r\n\r\n.hero-heading {\r\n display: flex;\r\n font-size: 4rem;\r\n font-weight: bold;\r\n text-shadow: 1px 1px rgba(48, 48, 48, 0.5);\r\n color: white;\r\n position: absolute;\r\n height: 100%;\r\n width: 100%;\r\n justify-content: center;\r\n align-items: center;\r\n}",".article-list {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.article-row-thumbnail,\r\n.article-row-thumbnail-height-constrained {\r\n flex: 1;\r\n padding-top: 0.5em;\r\n padding-bottom: 0.5em;\r\n padding-right: 1em;\r\n text-align: center;\r\n}\r\n\r\n.article-row-thumbnail-height-constrained {\r\n width: 100px;\r\n height: 200px;\r\n}\r\n\r\n.article-row-thumbnail-height-constrained>img {\r\n object-fit: cover;\r\n}\r\n\r\n.article-row-content {\r\n flex: 3;\r\n padding-top: 0.5em;\r\n padding-bottom: 0.5em;\r\n padding-right: 1em;\r\n}\r\n\r\n.article-paragraphs {\r\n font-size: 22px;\r\n line-height: 33px;\r\n font-weight: 400;\r\n}"],"names":[],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
.hero{position:relative;width:100%}.hero-heading{align-items:center;color:#fff;display:flex;font-size:4rem;font-weight:700;height:100%;justify-content:center;position:absolute;text-shadow:1px 1px #30303080;width:100%}
/*# sourceMappingURL=326.dd2c4e30.chunk.css.map*/

View File

@ -0,0 +1 @@
{"version":3,"file":"static/css/326.dd2c4e30.chunk.css","mappings":"AAAA,MACE,iBAAkB,CAClB,UACF,CAEA,cAUE,kBAAmB,CALnB,UAAY,CAJZ,YAAa,CACb,cAAe,CACf,eAAiB,CAIjB,WAAY,CAEZ,sBAAuB,CAHvB,iBAAkB,CAFlB,6BAA0C,CAI1C,UAGF","sources":["css/hero.css"],"sourcesContent":[".hero {\r\n position: relative;\r\n width: 100%;\r\n}\r\n\r\n.hero-heading {\r\n display: flex;\r\n font-size: 4rem;\r\n font-weight: bold;\r\n text-shadow: 1px 1px rgba(48, 48, 48, 0.5);\r\n color: white;\r\n position: absolute;\r\n height: 100%;\r\n width: 100%;\r\n justify-content: center;\r\n align-items: center;\r\n}"],"names":[],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
.hero{position:relative;width:100%}.hero-heading{align-items:center;color:#fff;display:flex;font-size:4rem;font-weight:700;height:100%;justify-content:center;position:absolute;text-shadow:1px 1px #30303080;width:100%}.mission-box{padding:0 20px}.mission-landing-page-text{font-family:Arapey;font-size:33px;font-style:italic;font-weight:500;line-height:44px}.mission-quote{display:flex;flex-direction:column;margin:20px 0}.mission-quote-text{font-family:Arapey;font-size:2rem;font-style:italic;font-weight:600;text-align:center;width:100%}.mission-quote-author{display:inline-block;font-size:20px;padding-right:200px;text-align:right;width:100%}.article-list{display:flex;flex-direction:column}.article-row-thumbnail,.article-row-thumbnail-height-constrained{flex:1 1;padding-bottom:.5em;padding-right:1em;padding-top:.5em;text-align:center}.article-row-thumbnail-height-constrained{height:200px;width:100px}.article-row-thumbnail-height-constrained>img{object-fit:cover}.article-row-content{flex:3 1;padding-bottom:.5em;padding-right:1em;padding-top:.5em}.article-paragraphs{font-size:22px;font-weight:400;line-height:33px}
/*# sourceMappingURL=329.87df2e5d.chunk.css.map*/

View File

@ -0,0 +1 @@
{"version":3,"file":"static/css/329.87df2e5d.chunk.css","mappings":"AAAA,MACE,iBAAkB,CAClB,UACF,CAEA,cAUE,kBAAmB,CALnB,UAAY,CAJZ,YAAa,CACb,cAAe,CACf,eAAiB,CAIjB,WAAY,CAEZ,sBAAuB,CAHvB,iBAAkB,CAFlB,6BAA0C,CAI1C,UAGF,CChBA,aACE,cACF,CAEA,2BACE,kBAAqB,CACrB,cAAe,CACf,iBAAkB,CAClB,eAAgB,CAChB,gBACF,CAEA,eACE,YAAa,CACb,qBAAsB,CACtB,aACF,CAEA,oBAIE,kBAAqB,CAHrB,cAAe,CAEf,iBAAkB,CADlB,eAAgB,CAIhB,iBAAkB,CADlB,UAEF,CAEA,sBAIE,oBAAqB,CADrB,cAAe,CAEf,mBAAoB,CAHpB,gBAAiB,CADjB,UAKF,CCjCA,cACE,YAAa,CACb,qBACF,CAEA,iEAEE,QAAO,CAEP,mBAAqB,CACrB,iBAAkB,CAFlB,gBAAkB,CAGlB,iBACF,CAEA,0CAEE,YAAa,CADb,WAEF,CAEA,8CACE,gBACF,CAEA,qBACE,QAAO,CAEP,mBAAqB,CACrB,iBAAkB,CAFlB,gBAGF,CAEA,oBACE,cAAe,CAEf,eAAgB,CADhB,gBAEF","sources":["css/hero.css","css/mission.css","css/article.css"],"sourcesContent":[".hero {\r\n position: relative;\r\n width: 100%;\r\n}\r\n\r\n.hero-heading {\r\n display: flex;\r\n font-size: 4rem;\r\n font-weight: bold;\r\n text-shadow: 1px 1px rgba(48, 48, 48, 0.5);\r\n color: white;\r\n position: absolute;\r\n height: 100%;\r\n width: 100%;\r\n justify-content: center;\r\n align-items: center;\r\n}",".mission-box {\r\n padding: 0px 20px;\r\n}\r\n\r\n.mission-landing-page-text {\r\n font-family: 'Arapey';\r\n font-size: 33px;\r\n font-style: italic;\r\n font-weight: 500;\r\n line-height: 44px;\r\n}\r\n\r\n.mission-quote {\r\n display: flex;\r\n flex-direction: column;\r\n margin: 20px 0px;\r\n}\r\n\r\n.mission-quote-text {\r\n font-size: 2rem;\r\n font-weight: 600;\r\n font-style: italic;\r\n font-family: 'Arapey';\r\n width: 100%;\r\n text-align: center;\r\n}\r\n\r\n.mission-quote-author {\r\n width: 100%;\r\n text-align: right;\r\n font-size: 20px;\r\n display: inline-block;\r\n padding-right: 200px;\r\n}",".article-list {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.article-row-thumbnail,\r\n.article-row-thumbnail-height-constrained {\r\n flex: 1;\r\n padding-top: 0.5em;\r\n padding-bottom: 0.5em;\r\n padding-right: 1em;\r\n text-align: center;\r\n}\r\n\r\n.article-row-thumbnail-height-constrained {\r\n width: 100px;\r\n height: 200px;\r\n}\r\n\r\n.article-row-thumbnail-height-constrained>img {\r\n object-fit: cover;\r\n}\r\n\r\n.article-row-content {\r\n flex: 3;\r\n padding-top: 0.5em;\r\n padding-bottom: 0.5em;\r\n padding-right: 1em;\r\n}\r\n\r\n.article-paragraphs {\r\n font-size: 22px;\r\n line-height: 33px;\r\n font-weight: 400;\r\n}"],"names":[],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
.hero{position:relative;width:100%}.hero-heading{align-items:center;color:#fff;display:flex;font-size:4rem;font-weight:700;height:100%;justify-content:center;position:absolute;text-shadow:1px 1px #30303080;width:100%}
/*# sourceMappingURL=381.dd2c4e30.chunk.css.map*/

View File

@ -0,0 +1 @@
{"version":3,"file":"static/css/381.dd2c4e30.chunk.css","mappings":"AAAA,MACE,iBAAkB,CAClB,UACF,CAEA,cAUE,kBAAmB,CALnB,UAAY,CAJZ,YAAa,CACb,cAAe,CACf,eAAiB,CAIjB,WAAY,CAEZ,sBAAuB,CAHvB,iBAAkB,CAFlB,6BAA0C,CAI1C,UAGF","sources":["css/hero.css"],"sourcesContent":[".hero {\r\n position: relative;\r\n width: 100%;\r\n}\r\n\r\n.hero-heading {\r\n display: flex;\r\n font-size: 4rem;\r\n font-weight: bold;\r\n text-shadow: 1px 1px rgba(48, 48, 48, 0.5);\r\n color: white;\r\n position: absolute;\r\n height: 100%;\r\n width: 100%;\r\n justify-content: center;\r\n align-items: center;\r\n}"],"names":[],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
.hero{position:relative;width:100%}.hero-heading{align-items:center;color:#fff;display:flex;font-size:4rem;font-weight:700;height:100%;justify-content:center;position:absolute;text-shadow:1px 1px #30303080;width:100%}.article-list{display:flex;flex-direction:column}.article-row-thumbnail,.article-row-thumbnail-height-constrained{flex:1 1;padding-bottom:.5em;padding-right:1em;padding-top:.5em;text-align:center}.article-row-thumbnail-height-constrained{height:200px;width:100px}.article-row-thumbnail-height-constrained>img{object-fit:cover}.article-row-content{flex:3 1;padding-bottom:.5em;padding-right:1em;padding-top:.5em}.article-paragraphs{font-size:22px;font-weight:400;line-height:33px}
/*# sourceMappingURL=538.37dcf8ca.chunk.css.map*/

View File

@ -0,0 +1 @@
{"version":3,"file":"static/css/538.37dcf8ca.chunk.css","mappings":"AAAA,MACE,iBAAkB,CAClB,UACF,CAEA,cAUE,kBAAmB,CALnB,UAAY,CAJZ,YAAa,CACb,cAAe,CACf,eAAiB,CAIjB,WAAY,CAEZ,sBAAuB,CAHvB,iBAAkB,CAFlB,6BAA0C,CAI1C,UAGF,CChBA,cACE,YAAa,CACb,qBACF,CAEA,iEAEE,QAAO,CAEP,mBAAqB,CACrB,iBAAkB,CAFlB,gBAAkB,CAGlB,iBACF,CAEA,0CAEE,YAAa,CADb,WAEF,CAEA,8CACE,gBACF,CAEA,qBACE,QAAO,CAEP,mBAAqB,CACrB,iBAAkB,CAFlB,gBAGF,CAEA,oBACE,cAAe,CAEf,eAAgB,CADhB,gBAEF","sources":["css/hero.css","css/article.css"],"sourcesContent":[".hero {\r\n position: relative;\r\n width: 100%;\r\n}\r\n\r\n.hero-heading {\r\n display: flex;\r\n font-size: 4rem;\r\n font-weight: bold;\r\n text-shadow: 1px 1px rgba(48, 48, 48, 0.5);\r\n color: white;\r\n position: absolute;\r\n height: 100%;\r\n width: 100%;\r\n justify-content: center;\r\n align-items: center;\r\n}",".article-list {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.article-row-thumbnail,\r\n.article-row-thumbnail-height-constrained {\r\n flex: 1;\r\n padding-top: 0.5em;\r\n padding-bottom: 0.5em;\r\n padding-right: 1em;\r\n text-align: center;\r\n}\r\n\r\n.article-row-thumbnail-height-constrained {\r\n width: 100px;\r\n height: 200px;\r\n}\r\n\r\n.article-row-thumbnail-height-constrained>img {\r\n object-fit: cover;\r\n}\r\n\r\n.article-row-content {\r\n flex: 3;\r\n padding-top: 0.5em;\r\n padding-bottom: 0.5em;\r\n padding-right: 1em;\r\n}\r\n\r\n.article-paragraphs {\r\n font-size: 22px;\r\n line-height: 33px;\r\n font-weight: 400;\r\n}"],"names":[],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
.hero{position:relative;width:100%}.hero-heading{align-items:center;color:#fff;display:flex;font-size:4rem;font-weight:700;height:100%;justify-content:center;position:absolute;text-shadow:1px 1px #30303080;width:100%}
/*# sourceMappingURL=602.dd2c4e30.chunk.css.map*/

View File

@ -0,0 +1 @@
{"version":3,"file":"static/css/602.dd2c4e30.chunk.css","mappings":"AAAA,MACE,iBAAkB,CAClB,UACF,CAEA,cAUE,kBAAmB,CALnB,UAAY,CAJZ,YAAa,CACb,cAAe,CACf,eAAiB,CAIjB,WAAY,CAEZ,sBAAuB,CAHvB,iBAAkB,CAFlB,6BAA0C,CAI1C,UAGF","sources":["css/hero.css"],"sourcesContent":[".hero {\r\n position: relative;\r\n width: 100%;\r\n}\r\n\r\n.hero-heading {\r\n display: flex;\r\n font-size: 4rem;\r\n font-weight: bold;\r\n text-shadow: 1px 1px rgba(48, 48, 48, 0.5);\r\n color: white;\r\n position: absolute;\r\n height: 100%;\r\n width: 100%;\r\n justify-content: center;\r\n align-items: center;\r\n}"],"names":[],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
.hero{position:relative;width:100%}.hero-heading{align-items:center;color:#fff;display:flex;font-size:4rem;font-weight:700;height:100%;justify-content:center;position:absolute;text-shadow:1px 1px #30303080;width:100%}.article-list{display:flex;flex-direction:column}.article-row-thumbnail,.article-row-thumbnail-height-constrained{flex:1 1;padding-bottom:.5em;padding-right:1em;padding-top:.5em;text-align:center}.article-row-thumbnail-height-constrained{height:200px;width:100px}.article-row-thumbnail-height-constrained>img{object-fit:cover}.article-row-content{flex:3 1;padding-bottom:.5em;padding-right:1em;padding-top:.5em}.article-paragraphs{font-size:22px;font-weight:400;line-height:33px}
/*# sourceMappingURL=647.37dcf8ca.chunk.css.map*/

View File

@ -0,0 +1 @@
{"version":3,"file":"static/css/647.37dcf8ca.chunk.css","mappings":"AAAA,MACE,iBAAkB,CAClB,UACF,CAEA,cAUE,kBAAmB,CALnB,UAAY,CAJZ,YAAa,CACb,cAAe,CACf,eAAiB,CAIjB,WAAY,CAEZ,sBAAuB,CAHvB,iBAAkB,CAFlB,6BAA0C,CAI1C,UAGF,CChBA,cACE,YAAa,CACb,qBACF,CAEA,iEAEE,QAAO,CAEP,mBAAqB,CACrB,iBAAkB,CAFlB,gBAAkB,CAGlB,iBACF,CAEA,0CAEE,YAAa,CADb,WAEF,CAEA,8CACE,gBACF,CAEA,qBACE,QAAO,CAEP,mBAAqB,CACrB,iBAAkB,CAFlB,gBAGF,CAEA,oBACE,cAAe,CAEf,eAAgB,CADhB,gBAEF","sources":["css/hero.css","css/article.css"],"sourcesContent":[".hero {\r\n position: relative;\r\n width: 100%;\r\n}\r\n\r\n.hero-heading {\r\n display: flex;\r\n font-size: 4rem;\r\n font-weight: bold;\r\n text-shadow: 1px 1px rgba(48, 48, 48, 0.5);\r\n color: white;\r\n position: absolute;\r\n height: 100%;\r\n width: 100%;\r\n justify-content: center;\r\n align-items: center;\r\n}",".article-list {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.article-row-thumbnail,\r\n.article-row-thumbnail-height-constrained {\r\n flex: 1;\r\n padding-top: 0.5em;\r\n padding-bottom: 0.5em;\r\n padding-right: 1em;\r\n text-align: center;\r\n}\r\n\r\n.article-row-thumbnail-height-constrained {\r\n width: 100px;\r\n height: 200px;\r\n}\r\n\r\n.article-row-thumbnail-height-constrained>img {\r\n object-fit: cover;\r\n}\r\n\r\n.article-row-content {\r\n flex: 3;\r\n padding-top: 0.5em;\r\n padding-bottom: 0.5em;\r\n padding-right: 1em;\r\n}\r\n\r\n.article-paragraphs {\r\n font-size: 22px;\r\n line-height: 33px;\r\n font-weight: 400;\r\n}"],"names":[],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
.hero{position:relative;width:100%}.hero-heading{align-items:center;color:#fff;display:flex;font-size:4rem;font-weight:700;height:100%;justify-content:center;position:absolute;text-shadow:1px 1px #30303080;width:100%}.article-list{display:flex;flex-direction:column}.article-row-thumbnail,.article-row-thumbnail-height-constrained{flex:1 1;padding-bottom:.5em;padding-right:1em;padding-top:.5em;text-align:center}.article-row-thumbnail-height-constrained{height:200px;width:100px}.article-row-thumbnail-height-constrained>img{object-fit:cover}.article-row-content{flex:3 1;padding-bottom:.5em;padding-right:1em;padding-top:.5em}.article-paragraphs{font-size:22px;font-weight:400;line-height:33px}
/*# sourceMappingURL=652.37dcf8ca.chunk.css.map*/

View File

@ -0,0 +1 @@
{"version":3,"file":"static/css/652.37dcf8ca.chunk.css","mappings":"AAAA,MACE,iBAAkB,CAClB,UACF,CAEA,cAUE,kBAAmB,CALnB,UAAY,CAJZ,YAAa,CACb,cAAe,CACf,eAAiB,CAIjB,WAAY,CAEZ,sBAAuB,CAHvB,iBAAkB,CAFlB,6BAA0C,CAI1C,UAGF,CChBA,cACE,YAAa,CACb,qBACF,CAEA,iEAEE,QAAO,CAEP,mBAAqB,CACrB,iBAAkB,CAFlB,gBAAkB,CAGlB,iBACF,CAEA,0CAEE,YAAa,CADb,WAEF,CAEA,8CACE,gBACF,CAEA,qBACE,QAAO,CAEP,mBAAqB,CACrB,iBAAkB,CAFlB,gBAGF,CAEA,oBACE,cAAe,CAEf,eAAgB,CADhB,gBAEF","sources":["css/hero.css","css/article.css"],"sourcesContent":[".hero {\r\n position: relative;\r\n width: 100%;\r\n}\r\n\r\n.hero-heading {\r\n display: flex;\r\n font-size: 4rem;\r\n font-weight: bold;\r\n text-shadow: 1px 1px rgba(48, 48, 48, 0.5);\r\n color: white;\r\n position: absolute;\r\n height: 100%;\r\n width: 100%;\r\n justify-content: center;\r\n align-items: center;\r\n}",".article-list {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.article-row-thumbnail,\r\n.article-row-thumbnail-height-constrained {\r\n flex: 1;\r\n padding-top: 0.5em;\r\n padding-bottom: 0.5em;\r\n padding-right: 1em;\r\n text-align: center;\r\n}\r\n\r\n.article-row-thumbnail-height-constrained {\r\n width: 100px;\r\n height: 200px;\r\n}\r\n\r\n.article-row-thumbnail-height-constrained>img {\r\n object-fit: cover;\r\n}\r\n\r\n.article-row-content {\r\n flex: 3;\r\n padding-top: 0.5em;\r\n padding-bottom: 0.5em;\r\n padding-right: 1em;\r\n}\r\n\r\n.article-paragraphs {\r\n font-size: 22px;\r\n line-height: 33px;\r\n font-weight: 400;\r\n}"],"names":[],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
.hero{position:relative;width:100%}.hero-heading{align-items:center;color:#fff;display:flex;font-size:4rem;font-weight:700;height:100%;justify-content:center;position:absolute;text-shadow:1px 1px #30303080;width:100%}.article-list{display:flex;flex-direction:column}.article-row-thumbnail,.article-row-thumbnail-height-constrained{flex:1 1;padding-bottom:.5em;padding-right:1em;padding-top:.5em;text-align:center}.article-row-thumbnail-height-constrained{height:200px;width:100px}.article-row-thumbnail-height-constrained>img{object-fit:cover}.article-row-content{flex:3 1;padding-bottom:.5em;padding-right:1em;padding-top:.5em}.article-paragraphs{font-size:22px;font-weight:400;line-height:33px}
/*# sourceMappingURL=958.37dcf8ca.chunk.css.map*/

View File

@ -0,0 +1 @@
{"version":3,"file":"static/css/958.37dcf8ca.chunk.css","mappings":"AAAA,MACE,iBAAkB,CAClB,UACF,CAEA,cAUE,kBAAmB,CALnB,UAAY,CAJZ,YAAa,CACb,cAAe,CACf,eAAiB,CAIjB,WAAY,CAEZ,sBAAuB,CAHvB,iBAAkB,CAFlB,6BAA0C,CAI1C,UAGF,CChBA,cACE,YAAa,CACb,qBACF,CAEA,iEAEE,QAAO,CAEP,mBAAqB,CACrB,iBAAkB,CAFlB,gBAAkB,CAGlB,iBACF,CAEA,0CAEE,YAAa,CADb,WAEF,CAEA,8CACE,gBACF,CAEA,qBACE,QAAO,CAEP,mBAAqB,CACrB,iBAAkB,CAFlB,gBAGF,CAEA,oBACE,cAAe,CAEf,eAAgB,CADhB,gBAEF","sources":["css/hero.css","css/article.css"],"sourcesContent":[".hero {\r\n position: relative;\r\n width: 100%;\r\n}\r\n\r\n.hero-heading {\r\n display: flex;\r\n font-size: 4rem;\r\n font-weight: bold;\r\n text-shadow: 1px 1px rgba(48, 48, 48, 0.5);\r\n color: white;\r\n position: absolute;\r\n height: 100%;\r\n width: 100%;\r\n justify-content: center;\r\n align-items: center;\r\n}",".article-list {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.article-row-thumbnail,\r\n.article-row-thumbnail-height-constrained {\r\n flex: 1;\r\n padding-top: 0.5em;\r\n padding-bottom: 0.5em;\r\n padding-right: 1em;\r\n text-align: center;\r\n}\r\n\r\n.article-row-thumbnail-height-constrained {\r\n width: 100px;\r\n height: 200px;\r\n}\r\n\r\n.article-row-thumbnail-height-constrained>img {\r\n object-fit: cover;\r\n}\r\n\r\n.article-row-content {\r\n flex: 3;\r\n padding-top: 0.5em;\r\n padding-bottom: 0.5em;\r\n padding-right: 1em;\r\n}\r\n\r\n.article-paragraphs {\r\n font-size: 22px;\r\n line-height: 33px;\r\n font-weight: 400;\r\n}"],"names":[],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
@import url(https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,300&display=swap);body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#444;font-family:Montserrat,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{box-sizing:border-box}img{max-width:100%}main{margin:0 auto;max-width:100vw;width:1200px}h3{font-size:1.5rem;font-weight:700}.footer-wrapper{margin-bottom:2rem;margin-top:2rem;width:100%}.footer-block{line-height:1.25rem;margin-bottom:1rem}.footer-banner{margin-bottom:2rem;width:100%}.footer-container{display:flex;flex-wrap:wrap;padding:10px 50px}.footer-title{font-size:1.25rem;font-weight:700;line-height:1.75rem;margin-bottom:1rem}.footer-item{display:block;margin-bottom:.5rem}@media (min-width:768px){.footer-col{width:33.3%}}@media (max-width:768px){.footer-col{width:100%}}.nav{align-items:center;color:#1a202c;display:flex;flex-direction:row;width:100%}.nav a{color:inherit;text-decoration:none}.nav-link{display:block;font-weight:100;padding:10px;text-transform:uppercase;transition:background-color .1s}.nav-link:hover{background-color:#ccc}.nav-logo{align-self:center;height:4rem;margin:1rem}.submenu-link{display:inline-block;font-weight:100;padding:10px;text-transform:uppercase}.submenu-outer{display:block;position:relative}.submenu-content{background-color:#f9f9f9;box-shadow:0 8px 16px 0 #0003;display:none;min-width:160px;padding:12px 16px;position:absolute;z-index:1}.submenu-outer:hover .submenu-content{display:inline-block}.space-2{margin:1rem;padding:1rem}.space-4{margin:2rem;padding:2rem}.button{background-color:inherit;border-color:#474849;border-radius:.25rem;border-width:2px;box-shadow:none}.col{align-items:center;display:flex;flex-direction:column}.flex-1{flex:1 1}.flex-2{flex:2 1}.blue-button{background-color:#fff;border:2px solid #38a3bd;border-radius:.25rem;color:#38a3bd;cursor:pointer;display:inline-block;padding:13px 23px;text-transform:uppercase}a.blue-button{text-decoration:none}.clickable-link{color:#38a3bd;text-decoration:underline}.strong-paragraph{color:#444;font-size:22px;font-weight:300;line-height:33px}.paragraph-with-header-header{display:block;font-size:1.5rem;font-weight:700;padding-right:2em;text-align:right}
/*# sourceMappingURL=main.211bde94.css.map*/

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunksga_website=self.webpackChunksga_website||[]).push([[124],{336:(t,e,i)=>{i.d(e,{A:()=>l});var n=i(579);function l(t){let{imageURL:e="/images/hero.jpg",heading:i="TJHSST SGA"}=t;return(0,n.jsxs)("div",{className:"hero",children:[(0,n.jsx)("span",{className:"hero-heading",children:i}),(0,n.jsx)("img",{src:e,alt:"Background",style:{width:"100vw",maxHeight:"60vh",objectFit:"contain"}})]})}},3124:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var n=i(5043),l=(i(4757),i(3628)),a=i(5649),d=i(579);function r(t){let{onClick:e,children:i}=t;return(0,d.jsx)("button",{onClick:e,className:"blue-button",children:i})}var s=i(8597);function c(){let[t,e]=n.useState([]),[i,c]=n.useState(!1);const h=async(t,i)=>{const n={last_date:t,last_title:i};let a=await l.A.fetch('*[_type == "article" && (\n\t\t\t\tpublish_date < $last_date ||\n\t\t\t\t(\n\t\t\t\t\tpublish_date == $last_date && \n\t\t\t\t\ttitle > $last_title\n\t\t\t\t)\n\t\t\t)] | order(publish_date desc, title) [0...3]',n);a.length<3&&c(!0),e((t=>t.concat(a)))};if(n.useEffect((()=>{h("3000-01-01","")}),[]),!t)return null;let o;o=i?(0,d.jsx)("div",{children:"No more articles to show"}):(0,d.jsx)(r,{onClick:()=>{let{publish_date:e,title:i}=t[t.length-1];h(e,i)},children:"Load more articles"});const g=t.map((t=>(0,d.jsx)(a.A,{article:t},t._id)));return(0,d.jsxs)("div",{children:[g,(0,d.jsx)(s.A,{children:o})]})}var h=i(336);function o(){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(h.A,{heading:"News"}),(0,d.jsx)("main",{children:(0,d.jsx)("div",{style:{paddingTop:"1em"},children:(0,d.jsx)(c,{})})})]})}},3213:(t,e,i)=>{i.d(e,{A:()=>a});var n=i(5475),l=i(579);function a(t){let{href:e,children:i,target:a}=t;return e.startsWith("http")?(0,l.jsx)("a",{href:e,className:"clickable-link",target:a,children:i}):(0,l.jsx)(n.N_,{to:e,className:"clickable-link",children:i})}},4757:()=>{},5649:(t,e,i)=>{i.d(e,{A:()=>s});i(5043),i(4757);var n=i(8294),l=i(3213),a=i(579);function d(t){let{paddingLeft:e,paddingRight:i,marginTop:n,marginBottom:l,children:d}=t;return(0,a.jsx)("div",{style:{display:"flex",flexDirection:"row",paddingLeft:e,paddingRight:i,marginTop:n,marginBottom:l},children:d})}function r(t){let{children:e,flex:i,paddingLeft:n,paddingRight:l,paddingTop:d,paddingBottom:r,paddingX:s,paddingY:c}=t;return null!=s&&(n=l=s),null!=c&&(d=r=c),(0,a.jsx)("div",{style:{flex:i,paddingLeft:n,paddingRight:l,paddingTop:d,paddingBottom:r},children:e})}function s(t){var e;let{article:i}=t,s=null;var c;i.thumbnail&&(s=(0,a.jsx)("img",{src:null!==(c=(0,n.A)(i.thumbnail).url())&&void 0!==c?c:void 0,alt:i.title}));const h="/news/"+i._id+"/"+i.title.toLowerCase().replace(/ /g,"-");return(0,a.jsxs)(d,{marginTop:"4em",marginBottom:"4em",children:[(0,a.jsx)(r,{flex:1,paddingY:"0.5em",paddingRight:"1em",children:s}),(0,a.jsxs)(r,{flex:3,paddingY:"0.5em",paddingRight:"1em",children:[(0,a.jsx)(l.A,{href:h,target:"_blank",children:(0,a.jsx)("h3",{style:{margin:"0px"},children:i.title})}),(0,a.jsx)("i",{className:"text-sm",children:i.publish_date}),(0,a.jsx)("br",{}),(0,a.jsx)("i",{children:null!==(e=i.author)&&void 0!==e?e:"No author"}),(0,a.jsx)("br",{}),(0,a.jsx)("p",{children:i.summary})]})]})}},8294:(t,e,i)=>{i.d(e,{A:()=>r});var n=i(138),l=i.n(n),a=i(3628);const d=l()(a.A);function r(t){return d.image(t)}}}]);
//# sourceMappingURL=124.0934d14d.chunk.js.map

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunksga_website=self.webpackChunksga_website||[]).push([[229],{297:()=>{},336:(e,s,t)=>{t.d(s,{A:()=>r});var i=t(579);function r(e){let{imageURL:s="/images/hero.jpg",heading:t="TJHSST SGA"}=e;return(0,i.jsxs)("div",{className:"hero",children:[(0,i.jsx)("span",{className:"hero-heading",children:t}),(0,i.jsx)("img",{src:s,alt:"Background",style:{width:"100vw",maxHeight:"60vh",objectFit:"contain"}})]})}},393:(e,s,t)=>{t.d(s,{A:()=>n});var i=t(5475),r=t(579);function n(e){let{href:s,children:t}=e;return s.startsWith("http")?(0,r.jsx)("a",{href:s,target:"_blank",rel:"noreferrer",className:"blue-button",children:t}):(0,r.jsx)(i.N_,{to:s,className:"blue-button",children:t})}},776:(e,s,t)=>{t.d(s,{A:()=>r});var i=t(579);function r(e){let{children:s}=e;return(0,i.jsx)("p",{className:"strong-paragraph",children:s})}},1295:(e,s,t)=>{t.d(s,{H9:()=>r,eU:()=>i,wE:()=>n});const i="https://us2.campaign-archive.com/home/?u=134be29b2a12819f7bfe30a34&id=6620cb91e2",r="https://docs.google.com/forms/d/e/1FAIpQLSeO8CN666WSb-jw0johyLMLb00rFz-bCtXaPeWpTSvbSqBBLw/viewform?embedded=true",n="https://docs.google.com/spreadsheets/d/1a3RYdqrDi1IPG9BKWQ2xhoX3YCPQKUl_FsRLvIVEMPg/edit?usp=drive_open&ouid=0"},2660:(e,s,t)=>{t.d(s,{A:()=>n});var i=t(776),r=t(579);function n(e){let{title:s,body:t}=e;return(0,r.jsxs)("div",{style:{display:"flex",textAlign:"left"},children:[(0,r.jsx)("div",{className:"flex-1 p-2",children:(0,r.jsx)("span",{className:"paragraph-with-header-header",children:s})}),(0,r.jsx)("div",{className:"flex-2 p-2",children:(0,r.jsx)(i.A,{children:t})})]})}},4030:(e,s,t)=>{t.d(s,{A:()=>n});var i=t(5043),r=t(3628);const n=function(){let[e,s]=i.useState();return i.useEffect((()=>{r.A.getDocument("mission").then(s)}),[]),e}},7229:(e,s,t)=>{t.r(s),t.d(s,{default:()=>h});t(5043);var i=t(393),r=t(8597),n=t(336),a=t(2660),o=(t(297),t(4030)),l=t(1295),d=t(579);function c(e){let{text:s,author:t}=e;return(0,d.jsxs)("div",{className:"mission-quote",children:[(0,d.jsxs)("span",{className:"mission-quote-text",children:["\u201c",s,"\u201d"]}),(0,d.jsx)("br",{}),(0,d.jsx)("br",{}),(0,d.jsxs)("span",{className:"mission-quote-author",children:["\u2014 ",t]})]})}function h(){let e=(0,o.A)();return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(n.A,{heading:"Mission and History"}),(0,d.jsxs)("main",{children:[e&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(c,{author:e.quote_author,text:e.quote_text}),(0,d.jsx)(a.A,{title:"Vision",body:e.vision}),(0,d.jsx)(a.A,{title:"Mission",body:e.mission}),(0,d.jsx)(a.A,{title:"Inspiration",body:e.inspiration})]}),(0,d.jsx)(r.A,{children:(0,d.jsx)(i.A,{href:l.wE,children:"Previous Leadership"})})]})]})}}}]);
//# sourceMappingURL=229.4f511f2e.chunk.js.map

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunksga_website=self.webpackChunksga_website||[]).push([[255],{96:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(579);function i(e){let{children:t,...n}=e;return(0,r.jsx)("h1",{className:"my-4",...n,children:t})}},336:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(579);function i(e){let{imageURL:t="/images/hero.jpg",heading:n="TJHSST SGA"}=e;return(0,r.jsxs)("div",{className:"hero",children:[(0,r.jsx)("span",{className:"hero-heading",children:n}),(0,r.jsx)("img",{src:t,alt:"Background",style:{width:"100vw",maxHeight:"60vh",objectFit:"contain"}})]})}},623:(e,t,n)=>{function r(e,t){const n={};for(const{_id:r,role:i}of e)n[r]=t.findIndex((e=>e===i));return e.sort(((e,t)=>{let r=n[e._id]-n[t._id];return 0!==r?r:e.name<t.name?-1:e.name>t.name?1:0}))}n.d(t,{A:()=>r})},4757:()=>{},7060:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(5043),i=n(3628);function l(e,t){let[n,l]=r.useState();return r.useEffect((()=>{i.A.fetch(e,t).then(l)}),[e,t]),n}},8294:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(138),i=n.n(r),l=n(3628);const s=i()(l.A);function o(e){return s.image(e)}},8706:(e,t,n)=>{n.d(t,{A:()=>a});n(4757);var r=n(8294),i=n(579);function l(e){let{alt:t,src:n,style:r}=e;return(0,i.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",overflow:"hidden",...r},children:(0,i.jsx)("img",{src:n,alt:t,style:{minWidth:"100%",minHeight:"100%",flexShrink:0,objectFit:"cover"}})})}function s(e){let{children:t}=e;return(0,i.jsx)("h3",{className:"header",children:t})}function o(e){let{children:t}=e;return(0,i.jsx)("i",{children:t})}function a(e){let{member:t,limitPhotoHeight:n=!1}=e,a=t.profile_photo?(0,r.A)(t.profile_photo).url():void 0;return(0,i.jsxs)("div",{className:"d-flex my-4",children:[(0,i.jsx)("div",{style:{flex:1,textAlign:"right"},children:a?n?(0,i.jsx)(l,{src:a,alt:t.name,style:{marginLeft:"auto",marginRight:"2em",width:"10em",height:"15em"}}):(0,i.jsx)("div",{style:{marginLeft:"auto",marginRight:"2em"},children:(0,i.jsx)("img",{src:a,alt:t.name})}):null}),(0,i.jsxs)("div",{style:{flex:3},children:[(0,i.jsx)(s,{children:t.name}),(0,i.jsxs)(o,{children:[t.role,", ",t.year]}),(0,i.jsx)("br",{}),(0,i.jsx)("p",{children:t.bio})]})]})}},9255:(e,t,n)=>{n.r(t),n.d(t,{default:()=>m});n(5043);var r=n(336),i=n(579);function l(e){let{text:t}=e;return(0,i.jsx)(i.Fragment,{children:t.split("\n").map((e=>(0,i.jsxs)(i.Fragment,{children:[e,(0,i.jsx)("br",{})]})))})}var s=n(8706),o=n(96),a=n(7060),c=n(8294),h=n(623);const d=["President","Vice-President","Treasurer","Secretary","Historian","Senator","Sponsor"];function m(){let e=(0,a.A)("*[_type == 'member' && committee == 'class'] | order year");if(!e)return null;let t=[],n=[],m="",u=null,x=null;const g=()=>{t.push({year:m,members:(0,h.A)(n,d),photoUrl:u,photoDescription:x}),n=[],u=null,m=""};for(let r of e)r.year!==m&&(""!==m&&g(),m=r.year),"photo"===r.role.toLowerCase()?(u=(0,c.A)(r.profile_photo).url(),x=r.bio):n.push(r);return n.length>0&&g(),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.A,{heading:"Class Council"}),(0,i.jsx)("main",{children:t.map((e=>{let{year:t,members:n,photoUrl:r,photoDescription:a}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(o.A,{style:{textAlign:"center"},children:["Class Council ",t]}),r&&(0,i.jsxs)("div",{style:{width:"100%",display:"flex",flexDirection:"column",alignContent:"center"},children:[(0,i.jsx)("div",{style:{textAlign:"center",marginBottom:"10px"},children:(0,i.jsx)("img",{src:r,alt:"Group photo for Class Council "+t,style:{maxHeight:"25em"}})}),(0,i.jsx)("span",{style:{textAlign:"center"},children:(0,i.jsx)(l,{text:null!==a&&void 0!==a?a:""})})]}),n.map((e=>(0,i.jsx)(s.A,{limitPhotoHeight:!0,member:e},e._id)))]})}))})]})}}}]);
//# sourceMappingURL=255.cb78c6ae.chunk.js.map

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunksga_website=self.webpackChunksga_website||[]).push([[326],{96:(e,s,t)=>{t.d(s,{A:()=>r});var i=t(579);function r(e){let{children:s,...t}=e;return(0,i.jsx)("h1",{className:"my-4",...t,children:s})}},326:(e,s,t)=>{t.r(s),t.d(s,{default:()=>c});var i=t(8597),r=t(336),a=t(96),d=t(1295),h=t(579);function c(){return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(r.A,{heading:"Newsletter"}),(0,h.jsx)("main",{children:(0,h.jsxs)(i.A,{children:[(0,h.jsx)(a.A,{children:"SGA Newsletter"}),(0,h.jsx)("iframe",{title:"SGA Newsletter",src:d.eU,width:"800",height:"600"})]})})]})}},336:(e,s,t)=>{t.d(s,{A:()=>r});var i=t(579);function r(e){let{imageURL:s="/images/hero.jpg",heading:t="TJHSST SGA"}=e;return(0,i.jsxs)("div",{className:"hero",children:[(0,i.jsx)("span",{className:"hero-heading",children:t}),(0,i.jsx)("img",{src:s,alt:"Background",style:{width:"100vw",maxHeight:"60vh",objectFit:"contain"}})]})}},1295:(e,s,t)=>{t.d(s,{H9:()=>r,eU:()=>i,wE:()=>a});const i="https://us2.campaign-archive.com/home/?u=134be29b2a12819f7bfe30a34&id=6620cb91e2",r="https://docs.google.com/forms/d/e/1FAIpQLSeO8CN666WSb-jw0johyLMLb00rFz-bCtXaPeWpTSvbSqBBLw/viewform?embedded=true",a="https://docs.google.com/spreadsheets/d/1a3RYdqrDi1IPG9BKWQ2xhoX3YCPQKUl_FsRLvIVEMPg/edit?usp=drive_open&ouid=0"}}]);
//# sourceMappingURL=326.0d1a3133.chunk.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"static/js/326.0d1a3133.chunk.js","mappings":"qIAAe,SAASA,EAAaC,GAKH,IALI,SACrCC,KACGC,GAG2BF,EAC9B,OACCG,EAAAA,EAAAA,KAAA,MAAIC,UAAU,UAAWF,EAAKD,SAC5BA,GAGJ,C,gGCNe,SAASI,IACvB,OACCC,EAAAA,EAAAA,MAAAC,EAAAA,SAAA,CAAAN,SAAA,EACCE,EAAAA,EAAAA,KAACK,EAAAA,EAAI,CAACC,QAAQ,gBACdN,EAAAA,EAAAA,KAAA,QAAAF,UACCK,EAAAA,EAAAA,MAACI,EAAAA,EAAQ,CAAAT,SAAA,EACRE,EAAAA,EAAAA,KAACJ,EAAAA,EAAa,CAAAE,SAAC,oBACfE,EAAAA,EAAAA,KAAA,UACCQ,MAAM,iBACNC,IAAKC,EAAAA,GACLC,MAAM,MACNC,OAAO,eAMb,C,8CCpBe,SAASP,EAAIR,GAMxB,IANyB,SAC5BgB,EAAW,mBAAkB,QAC7BP,EAAU,cAIVT,EACA,OACCM,EAAAA,EAAAA,MAAA,OAAKF,UAAU,OAAMH,SAAA,EACpBE,EAAAA,EAAAA,KAAA,QAAMC,UAAU,eAAcH,SAAEQ,KAChCN,EAAAA,EAAAA,KAAA,OACCS,IAAKI,EACLC,IAAI,aACJC,MAAO,CACNJ,MAAO,QACPK,UAAW,OACXC,UAAW,eAKhB,C,qDCvBO,MAEMP,EACZ,mFACYQ,EACZ,oHACYC,EACZ,gH","sources":["components/PrimaryHeader.tsx","pages/newsletter.tsx","components/Hero.tsx","lib/constants.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 Centered from '../components/Centered';\r\nimport Hero from '../components/Hero';\r\nimport PrimaryHeader from '../components/PrimaryHeader';\r\nimport { SGA_NEWSLETTER_EMBED_URL } from '../lib/constants';\r\n\r\nexport default function Newsletter() {\r\n\treturn (\r\n\t\t<>\r\n\t\t\t<Hero heading='Newsletter' />\r\n\t\t\t<main>\r\n\t\t\t\t<Centered>\r\n\t\t\t\t\t<PrimaryHeader>SGA Newsletter</PrimaryHeader>\r\n\t\t\t\t\t<iframe\r\n\t\t\t\t\t\ttitle='SGA Newsletter'\r\n\t\t\t\t\t\tsrc={SGA_NEWSLETTER_EMBED_URL}\r\n\t\t\t\t\t\twidth='800'\r\n\t\t\t\t\t\theight='600'\r\n\t\t\t\t\t/>\r\n\t\t\t\t</Centered>\r\n\t\t\t</main>\r\n\t\t</>\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","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"],"names":["PrimaryHeader","_ref","children","props","_jsx","className","Newsletter","_jsxs","_Fragment","Hero","heading","Centered","title","src","SGA_NEWSLETTER_EMBED_URL","width","height","imageURL","alt","style","maxHeight","objectFit","SGA_FEEDBACK_FORM_URL","SGA_PREVIOUS_LEADERSHIP_URL"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunksga_website=self.webpackChunksga_website||[]).push([[381],{336:(e,t,r)=>{r.d(t,{A:()=>n});var a=r(579);function n(e){let{imageURL:t="/images/hero.jpg",heading:r="TJHSST SGA"}=e;return(0,a.jsxs)("div",{className:"hero",children:[(0,a.jsx)("span",{className:"hero-heading",children:r}),(0,a.jsx)("img",{src:t,alt:"Background",style:{width:"100vw",maxHeight:"60vh",objectFit:"contain"}})]})}},393:(e,t,r)=>{r.d(t,{A:()=>s});var a=r(5475),n=r(579);function s(e){let{href:t,children:r}=e;return t.startsWith("http")?(0,n.jsx)("a",{href:t,target:"_blank",rel:"noreferrer",className:"blue-button",children:r}):(0,n.jsx)(a.N_,{to:t,className:"blue-button",children:r})}},776:(e,t,r)=>{r.d(t,{A:()=>n});var a=r(579);function n(e){let{children:t}=e;return(0,a.jsx)("p",{className:"strong-paragraph",children:t})}},2660:(e,t,r)=>{r.d(t,{A:()=>s});var a=r(776),n=r(579);function s(e){let{title:t,body:r}=e;return(0,n.jsxs)("div",{style:{display:"flex",textAlign:"left"},children:[(0,n.jsx)("div",{className:"flex-1 p-2",children:(0,n.jsx)("span",{className:"paragraph-with-header-header",children:t})}),(0,n.jsx)("div",{className:"flex-2 p-2",children:(0,n.jsx)(a.A,{children:r})})]})}},8381:(e,t,r)=>{r.r(t),r.d(t,{default:()=>u});var a=r(5043),n=r(393),s=r(336),i=r(579);function l(e){let{children:t}=e;return(0,i.jsx)("h2",{style:{marginTop:"4rem",marginBottom:"1.5rem"},children:t})}var c=r(2660),o=r(776),d=r(3628);const h="https://calendar.google.com/calendar/u/0/embed?src=mbftfg4hu7i8ueqrgcb5o7hc6k@group.calendar.google.com&ctz=America/New_York";function u(){let[e,t]=a.useState();return a.useEffect((()=>{d.A.getDocument("get_involved").then(t)}),[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.A,{heading:"Get Involved"}),(0,i.jsxs)("main",{className:"text-center",children:[(0,i.jsx)(l,{children:"SGA Calendar"}),(0,i.jsx)("iframe",{src:h,title:"SGA Calendar",width:"800",height:"600"}),(0,i.jsx)("br",{}),(0,i.jsxs)(o.A,{children:["Interested in getting involved with SGA? You can run for office, work on a project, or apply to a committee. If you just want to share an idea or concern or get to know your representatives, reach out to us at ",(0,i.jsx)("b",{children:"sga@tjhsst.edu"}),"!"]}),(0,i.jsx)(l,{children:"Here are some ways to connect with SGA:"}),e?e.ways.map((e=>(0,i.jsx)(c.A,{title:e.title,body:e.text},e._id))):null,(0,i.jsx)(n.A,{href:"/feedback",children:"Give Feedback"})]})]})}}}]);
//# sourceMappingURL=381.a74694f0.chunk.js.map

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunksga_website=self.webpackChunksga_website||[]).push([[422],{4422:(t,e,n)=>{n.r(e),n.d(e,{getCLS:()=>d,getFCP:()=>m,getFID:()=>v,getLCP:()=>h,getTTFB:()=>S});var i,a,r=function(t){return{name:t,value:arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,delta:0,entries:[],id:"".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),isFinal:!1}},o=function(t,e){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){var n=new PerformanceObserver((function(t){return t.getEntries().map(e)}));return n.observe({type:t,buffered:!0}),n}}catch(t){}},s=!1,u=!1,c=function(t){s=!t.persisted},l=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];u||(addEventListener("pagehide",c),addEventListener("beforeunload",(function(){})),u=!0),addEventListener("visibilitychange",(function(e){var n=e.timeStamp;"hidden"===document.visibilityState&&t({timeStamp:n,isUnloading:s})}),{capture:!0,once:e})},p=function(t,e,n,i){var a;return function(){n&&e.isFinal&&n.disconnect(),e.value>=0&&(i||e.isFinal||"hidden"===document.visibilityState)&&(e.delta=e.value-(a||0),(e.delta||e.isFinal||void 0===a)&&(t(e),a=e.value))}},d=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=r("CLS",0),a=function(t){t.hadRecentInput||(i.value+=t.value,i.entries.push(t),e())},s=o("layout-shift",a);s&&(e=p(t,i,s,n),l((function(t){var n=t.isUnloading;s.takeRecords().map(a),n&&(i.isFinal=!0),e()})))},f=function(){return void 0===i&&(i="hidden"===document.visibilityState?0:1/0,l((function(t){var e=t.timeStamp;return i=e}),!0)),{get timeStamp(){return i}}},m=function(t){var e,n=r("FCP"),i=f(),a=o("paint",(function(t){"first-contentful-paint"===t.name&&t.startTime<i.timeStamp&&(n.value=t.startTime,n.isFinal=!0,n.entries.push(t),e())}));a&&(e=p(t,n,a))},v=function(t){var e=r("FID"),n=f(),i=function(t){t.startTime<n.timeStamp&&(e.value=t.processingStart-t.startTime,e.entries.push(t),e.isFinal=!0,s())},a=o("first-input",i),s=p(t,e,a);a?l((function(){a.takeRecords().map(i),a.disconnect()}),!0):window.perfMetrics&&window.perfMetrics.onFirstInputDelay&&window.perfMetrics.onFirstInputDelay((function(t,i){i.timeStamp<n.timeStamp&&(e.value=t,e.isFinal=!0,e.entries=[{entryType:"first-input",name:i.type,target:i.target,cancelable:i.cancelable,startTime:i.timeStamp,processingStart:i.timeStamp+t}],s())}))},g=function(){return a||(a=new Promise((function(t){return["scroll","keydown","pointerdown"].map((function(e){addEventListener(e,t,{once:!0,passive:!0,capture:!0})}))}))),a},h=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=r("LCP"),a=f(),s=function(t){var n=t.startTime;n<a.timeStamp?(i.value=n,i.entries.push(t)):i.isFinal=!0,e()},u=o("largest-contentful-paint",s);if(u){e=p(t,i,u,n);var c=function(){i.isFinal||(u.takeRecords().map(s),i.isFinal=!0,e())};g().then(c),l(c,!0)}},S=function(t){var e,n=r("TTFB");e=function(){try{var e=performance.getEntriesByType("navigation")[0]||function(){var t=performance.timing,e={entryType:"navigation",startTime:0};for(var n in t)"navigationStart"!==n&&"toJSON"!==n&&(e[n]=Math.max(t[n]-t.navigationStart,0));return e}();n.value=n.delta=e.responseStart,n.entries=[e],n.isFinal=!0,t(n)}catch(t){}},"complete"===document.readyState?setTimeout(e,0):addEventListener("pageshow",e)}}}]);
//# sourceMappingURL=422.88a2a6a4.chunk.js.map

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunksga_website=self.webpackChunksga_website||[]).push([[538],{336:(e,t,i)=>{i.d(t,{A:()=>r});var n=i(579);function r(e){let{imageURL:t="/images/hero.jpg",heading:i="TJHSST SGA"}=e;return(0,n.jsxs)("div",{className:"hero",children:[(0,n.jsx)("span",{className:"hero-heading",children:i}),(0,n.jsx)("img",{src:t,alt:"Background",style:{width:"100vw",maxHeight:"60vh",objectFit:"contain"}})]})}},623:(e,t,i)=>{function n(e,t){const i={};for(const{_id:n,role:r}of e)i[n]=t.findIndex((e=>e===r));return e.sort(((e,t)=>{let n=i[e._id]-i[t._id];return 0!==n?n:e.name<t.name?-1:e.name>t.name?1:0}))}i.d(t,{A:()=>n})},4757:()=>{},6538:(e,t,i)=>{i.r(t),i.d(t,{default:()=>o});var n=i(5043),r=i(336),s=i(8706),l=i(623),c=i(3628),a=i(579);const d=["SGA President","SGA Vice President","SGA Treasurer","SGA Secretary"];function o(){const[e,t]=(0,n.useState)();(0,n.useEffect)((()=>{c.A.fetch("*[_type == 'member' && committee == $committee]",{committee:"officer"}).then(t)}),[]);const i=(0,l.A)(null!==e&&void 0!==e?e:[],d);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.A,{heading:"Officers",imageURL:"/images/who-we-are/officers.jpg"}),(0,a.jsx)("main",{children:i.map((e=>(0,a.jsx)(s.A,{member:e})))})]})}},8294:(e,t,i)=>{i.d(t,{A:()=>c});var n=i(138),r=i.n(n),s=i(3628);const l=r()(s.A);function c(e){return l.image(e)}},8706:(e,t,i)=>{i.d(t,{A:()=>a});i(4757);var n=i(8294),r=i(579);function s(e){let{alt:t,src:i,style:n}=e;return(0,r.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",overflow:"hidden",...n},children:(0,r.jsx)("img",{src:i,alt:t,style:{minWidth:"100%",minHeight:"100%",flexShrink:0,objectFit:"cover"}})})}function l(e){let{children:t}=e;return(0,r.jsx)("h3",{className:"header",children:t})}function c(e){let{children:t}=e;return(0,r.jsx)("i",{children:t})}function a(e){let{member:t,limitPhotoHeight:i=!1}=e,a=t.profile_photo?(0,n.A)(t.profile_photo).url():void 0;return(0,r.jsxs)("div",{className:"d-flex my-4",children:[(0,r.jsx)("div",{style:{flex:1,textAlign:"right"},children:a?i?(0,r.jsx)(s,{src:a,alt:t.name,style:{marginLeft:"auto",marginRight:"2em",width:"10em",height:"15em"}}):(0,r.jsx)("div",{style:{marginLeft:"auto",marginRight:"2em"},children:(0,r.jsx)("img",{src:a,alt:t.name})}):null}),(0,r.jsxs)("div",{style:{flex:3},children:[(0,r.jsx)(l,{children:t.name}),(0,r.jsxs)(c,{children:[t.role,", ",t.year]}),(0,r.jsx)("br",{}),(0,r.jsx)("p",{children:t.bio})]})]})}}}]);
//# sourceMappingURL=538.0d0d65c9.chunk.js.map

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunksga_website=self.webpackChunksga_website||[]).push([[602],{336:(e,s,a)=>{a.d(s,{A:()=>i});var t=a(579);function i(e){let{imageURL:s="/images/hero.jpg",heading:a="TJHSST SGA"}=e;return(0,t.jsxs)("div",{className:"hero",children:[(0,t.jsx)("span",{className:"hero-heading",children:a}),(0,t.jsx)("img",{src:s,alt:"Background",style:{width:"100vw",maxHeight:"60vh",objectFit:"contain"}})]})}},1295:(e,s,a)=>{a.d(s,{H9:()=>i,eU:()=>t,wE:()=>d});const t="https://us2.campaign-archive.com/home/?u=134be29b2a12819f7bfe30a34&id=6620cb91e2",i="https://docs.google.com/forms/d/e/1FAIpQLSeO8CN666WSb-jw0johyLMLb00rFz-bCtXaPeWpTSvbSqBBLw/viewform?embedded=true",d="https://docs.google.com/spreadsheets/d/1a3RYdqrDi1IPG9BKWQ2xhoX3YCPQKUl_FsRLvIVEMPg/edit?usp=drive_open&ouid=0"},9602:(e,s,a)=>{a.r(s),a.d(s,{default:()=>r});a(5043);var t=a(336),i=a(1295),d=a(579);function r(){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(t.A,{heading:"Feedback"}),(0,d.jsx)("main",{className:"text-center",children:(0,d.jsx)("iframe",{src:i.H9,style:{width:"640px",height:"900px",scrollbarWidth:"none"},title:"Feedback Form",children:"Loading\u2026"})})]})}}}]);
//# sourceMappingURL=602.c6db76ae.chunk.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"static/js/602.c6db76ae.chunk.js","mappings":"sIAEe,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,qDCvBO,MAEMC,EACZ,mFACYC,EACZ,oHACYC,EACZ,gH,uFCHc,SAASC,IACvB,OACCb,EAAAA,EAAAA,MAAAc,EAAAA,SAAA,CAAAZ,SAAA,EACCC,EAAAA,EAAAA,KAACP,EAAAA,EAAI,CAACG,QAAQ,cACdI,EAAAA,EAAAA,KAAA,QAAMF,UAAU,cAAaC,UAC5BC,EAAAA,EAAAA,KAAA,UACCC,IAAKO,EAAAA,GACLL,MAAO,CACNC,MAAO,QACPQ,OAAQ,QACRC,eAAgB,QAEjBC,MAAM,gBAAef,SACrB,sBAML,C","sources":["components/Hero.tsx","lib/constants.ts","pages/feedback.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","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 React from 'react';\r\nimport Hero from '../components/Hero';\r\nimport { SGA_FEEDBACK_FORM_URL } from '../lib/constants';\r\n\r\nexport default function FeedbackPage() {\r\n\treturn (\r\n\t\t<>\r\n\t\t\t<Hero heading='Feedback' />\r\n\t\t\t<main className='text-center'>\r\n\t\t\t\t<iframe\r\n\t\t\t\t\tsrc={SGA_FEEDBACK_FORM_URL}\r\n\t\t\t\t\tstyle={{\r\n\t\t\t\t\t\twidth: '640px',\r\n\t\t\t\t\t\theight: '900px',\r\n\t\t\t\t\t\tscrollbarWidth: 'none',\r\n\t\t\t\t\t}}\r\n\t\t\t\t\ttitle='Feedback Form'\r\n\t\t\t\t>\r\n\t\t\t\t\tLoading…\r\n\t\t\t\t</iframe>\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","SGA_NEWSLETTER_EMBED_URL","SGA_FEEDBACK_FORM_URL","SGA_PREVIOUS_LEADERSHIP_URL","FeedbackPage","_Fragment","height","scrollbarWidth","title"],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunksga_website=self.webpackChunksga_website||[]).push([[647],{96:(e,t,r)=>{r.d(t,{A:()=>n});var a=r(579);function n(e){let{children:t,...r}=e;return(0,a.jsx)("h1",{className:"my-4",...r,children:t})}},336:(e,t,r)=>{r.d(t,{A:()=>n});var a=r(579);function n(e){let{imageURL:t="/images/hero.jpg",heading:r="TJHSST SGA"}=e;return(0,a.jsxs)("div",{className:"hero",children:[(0,a.jsx)("span",{className:"hero-heading",children:r}),(0,a.jsx)("img",{src:t,alt:"Background",style:{width:"100vw",maxHeight:"60vh",objectFit:"contain"}})]})}},3213:(e,t,r)=>{r.d(t,{A:()=>s});var a=r(5475),n=r(579);function s(e){let{href:t,children:r,target:s}=e;return t.startsWith("http")?(0,n.jsx)("a",{href:t,className:"clickable-link",target:s,children:r}):(0,n.jsx)(a.N_,{to:t,className:"clickable-link",children:r})}},3647:(e,t,r)=>{r.r(t),r.d(t,{default:()=>j});var a=r(5043),n=r(3216),s=r(9760),i=r.n(s),l=r(579);function c(e){let{blocks:t}=e;return(0,l.jsx)("div",{ref:e=>{e&&e.querySelectorAll("a").forEach((e=>{e.target="_blank"}))},children:(0,l.jsx)(i(),{blocks:t,projectId:"yi263kzm",dataset:"production"})})}var h=r(3213),d=r(336),o=r(96),u=(r(4757),r(3628));var g=r(8294);function j(){let{articleId:e}=(0,n.g)(),t=function(e){let[t,r]=(0,a.useState)(null);return(0,a.useEffect)((()=>{u.A.fetch("*[_id == $articleId] [0]",{articleId:e}).then(r)}),[e]),t}(e||""),r="/images/hero.png";null!==t&&void 0!==t&&t.thumbnail&&(r=(0,g.A)(t.thumbnail).url());const s=(0,l.jsx)(h.A,{href:"/news",children:"Go to all news articles"});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d.A,{heading:"News",imageURL:r||void 0}),(0,l.jsx)("main",{children:t?(0,l.jsxs)("div",{style:{maxWidth:"640px",margin:"2rem auto"},children:[s,(0,l.jsx)(o.A,{children:t.title}),(0,l.jsxs)("i",{children:["Posted ",t.publish_date," by ",t.author||"No author"]}),(0,l.jsx)("br",{}),(0,l.jsx)("div",{className:"article-paragraphs",children:(0,l.jsx)(c,{blocks:t.content})}),(0,l.jsx)("br",{}),s]}):null})]})}},4757:()=>{},8294:(e,t,r)=>{r.d(t,{A:()=>l});var a=r(138),n=r.n(a),s=r(3628);const i=n()(s.A);function l(e){return i.image(e)}}}]);
//# sourceMappingURL=647.9dfaa63d.chunk.js.map

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunksga_website=self.webpackChunksga_website||[]).push([[652],{336:(e,t,i)=>{i.d(t,{A:()=>n});var r=i(579);function n(e){let{imageURL:t="/images/hero.jpg",heading:i="TJHSST SGA"}=e;return(0,r.jsxs)("div",{className:"hero",children:[(0,r.jsx)("span",{className:"hero-heading",children:i}),(0,r.jsx)("img",{src:t,alt:"Background",style:{width:"100vw",maxHeight:"60vh",objectFit:"contain"}})]})}},4757:()=>{},5652:(e,t,i)=>{i.r(t),i.d(t,{default:()=>a});i(5043);var r=i(336),n=i(8706),s=i(7060),l=i(579);function a(){var e;let t=null!==(e=(0,s.A)("*[_type == 'member' && committee == 'excomm'] | order (role, year)"))&&void 0!==e?e:[];return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.A,{heading:"Executive Committee",imageURL:"/images/who-we-are/excomm.jpg"}),(0,l.jsx)("main",{children:t.map((e=>(0,l.jsx)(n.A,{limitPhotoHeight:!0,member:e},e._id)))})]})}},7060:(e,t,i)=>{i.d(t,{A:()=>s});var r=i(5043),n=i(3628);function s(e,t){let[i,s]=r.useState();return r.useEffect((()=>{n.A.fetch(e,t).then(s)}),[e,t]),i}},8294:(e,t,i)=>{i.d(t,{A:()=>a});var r=i(138),n=i.n(r),s=i(3628);const l=n()(s.A);function a(e){return l.image(e)}},8706:(e,t,i)=>{i.d(t,{A:()=>c});i(4757);var r=i(8294),n=i(579);function s(e){let{alt:t,src:i,style:r}=e;return(0,n.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",overflow:"hidden",...r},children:(0,n.jsx)("img",{src:i,alt:t,style:{minWidth:"100%",minHeight:"100%",flexShrink:0,objectFit:"cover"}})})}function l(e){let{children:t}=e;return(0,n.jsx)("h3",{className:"header",children:t})}function a(e){let{children:t}=e;return(0,n.jsx)("i",{children:t})}function c(e){let{member:t,limitPhotoHeight:i=!1}=e,c=t.profile_photo?(0,r.A)(t.profile_photo).url():void 0;return(0,n.jsxs)("div",{className:"d-flex my-4",children:[(0,n.jsx)("div",{style:{flex:1,textAlign:"right"},children:c?i?(0,n.jsx)(s,{src:c,alt:t.name,style:{marginLeft:"auto",marginRight:"2em",width:"10em",height:"15em"}}):(0,n.jsx)("div",{style:{marginLeft:"auto",marginRight:"2em"},children:(0,n.jsx)("img",{src:c,alt:t.name})}):null}),(0,n.jsxs)("div",{style:{flex:3},children:[(0,n.jsx)(l,{children:t.name}),(0,n.jsxs)(a,{children:[t.role,", ",t.year]}),(0,n.jsx)("br",{}),(0,n.jsx)("p",{children:t.bio})]})]})}}}]);
//# sourceMappingURL=652.4469b187.chunk.js.map

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunksga_website=self.webpackChunksga_website||[]).push([[715],{96:(e,s,n)=>{n.d(s,{A:()=>t});var r=n(579);function t(e){let{children:s,...n}=e;return(0,r.jsx)("h1",{className:"my-4",...n,children:s})}},6715:(e,s,n)=>{n.r(s),n.d(s,{default:()=>c});var r=n(8597),t=n(96),a=n(579);function c(){return(0,a.jsxs)(r.A,{children:[(0,a.jsx)(t.A,{children:"404: Not Found"}),(0,a.jsx)("p",{children:"This page wasn't found..."})]})}}}]);
//# sourceMappingURL=715.78cd5bf3.chunk.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"static/js/715.78cd5bf3.chunk.js","mappings":"qIAAe,SAASA,EAAaC,GAKH,IALI,SACrCC,KACGC,GAG2BF,EAC9B,OACCG,EAAAA,EAAAA,KAAA,MAAIC,UAAU,UAAWF,EAAKD,SAC5BA,GAGJ,C,8ECRe,SAASI,IACvB,OACCC,EAAAA,EAAAA,MAACC,EAAAA,EAAQ,CAAAN,SAAA,EACRE,EAAAA,EAAAA,KAACJ,EAAAA,EAAa,CAAAE,SAAC,oBACfE,EAAAA,EAAAA,KAAA,KAAAF,SAAG,gCAGN,C","sources":["components/PrimaryHeader.tsx","pages/404.tsx"],"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 Centered from '../components/Centered';\r\nimport PrimaryHeader from '../components/PrimaryHeader';\r\n\r\nexport default function NotFoundPage() {\r\n\treturn (\r\n\t\t<Centered>\r\n\t\t\t<PrimaryHeader>404: Not Found</PrimaryHeader>\r\n\t\t\t<p>This page wasn't found...</p>\r\n\t\t</Centered>\r\n\t);\r\n}\r\n"],"names":["PrimaryHeader","_ref","children","props","_jsx","className","NotFoundPage","_jsxs","Centered"],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunksga_website=self.webpackChunksga_website||[]).push([[958],{336:(e,i,n)=>{n.d(i,{A:()=>a});var t=n(579);function a(e){let{imageURL:i="/images/hero.jpg",heading:n="TJHSST SGA"}=e;return(0,t.jsxs)("div",{className:"hero",children:[(0,t.jsx)("span",{className:"hero-heading",children:n}),(0,t.jsx)("img",{src:i,alt:"Background",style:{width:"100vw",maxHeight:"60vh",objectFit:"contain"}})]})}},4757:()=>{},7060:(e,i,n)=>{n.d(i,{A:()=>s});var t=n(5043),a=n(3628);function s(e,i){let[n,s]=t.useState();return t.useEffect((()=>{a.A.fetch(e,i).then(s)}),[e,i]),n}},8294:(e,i,n)=>{n.d(i,{A:()=>r});var t=n(138),a=n.n(t),s=n(3628);const l=a()(s.A);function r(e){return l.image(e)}},8958:(e,i,n)=>{n.r(i),n.d(i,{default:()=>u});n(5043);var t=n(579);function a(e){let{children:i}=e;return(0,t.jsx)("div",{style:{display:"flex",flexDirection:"column"},children:i})}var s=n(336),l=n(8294),r=n(9760),c=n.n(r);n(4757);function d(e){let{initiative:i}=e,n=null;return i.thumbnail&&(n=(0,l.A)(i.thumbnail).url()),(0,t.jsxs)("div",{className:"d-flex my-4",children:[(0,t.jsx)("div",{className:"article-row-thumbnail",children:n?(0,t.jsx)("img",{src:n,alt:i.name}):null}),(0,t.jsxs)("div",{className:"article-row-content",children:[(0,t.jsx)("h3",{className:"header",children:i.name}),(0,t.jsx)(c(),{blocks:i.content})]})]})}var h=n(7060);function u(){var e;let i=null!==(e=(0,h.A)('*[_type == "initiative"]'))&&void 0!==e?e:[];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.A,{heading:"Initiatives"}),(0,t.jsx)("main",{children:(0,t.jsx)(a,{children:i.map((e=>(0,t.jsx)(d,{initiative:e})))})})]})}}}]);
//# sourceMappingURL=958.f1d3f46a.chunk.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,88 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/
/*!
* isobject <https://github.com/jonschlinkert/isobject>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/
/**
* @remix-run/router v1.23.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
/**
* React Router DOM v6.30.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
/**
* React Router v6.30.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
/** @license React v0.20.2
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

File diff suppressed because one or more lines are too long

View File

@ -3,6 +3,8 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@babel/core": "^7.16.0",
"@babel/runtime": "^7.16.0",
"@sanity/block-content-to-react": "^2.0.7",
"@sanity/client": "^2.0.9",
"@testing-library/jest-dom": "^5.11.4",
@ -11,8 +13,8 @@
"iframe-resizer-react": "^1.0.4",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-router-dom": "^5.2.0",
"react-scripts": "^4.0.1",
"react-router-dom": "6",
"react-scripts": "^5.0.1",
"typescript": "^4.1.2",
"web-vitals": "^0.2.4"
},
@ -41,6 +43,7 @@
]
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.16.0",
"@types/react": "^17.0.0",
"@types/react-router-dom": "^5.1.6"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 334 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 433 KiB

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 KiB

After

Width:  |  Height:  |  Size: 299 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

View File

@ -1,21 +1,21 @@
import { Suspense, lazy } from 'react';
import { BrowserRouter, Route, Switch } from 'react-router-dom';
import { BrowserRouter, Route, Routes } from 'react-router-dom';
import Layout from './components/Layout';
import './App.css';
const classcouncil = lazy(() => import('./pages/classcouncil'));
const committee = lazy(() => import('./pages/committee'));
const feedback = lazy(() => import('./pages/feedback'));
const index = lazy(() => import('./pages/index'));
const initiatives = lazy(() => import('./pages/initiatives'));
const involved = lazy(() => import('./pages/involved'));
const mission = lazy(() => import('./pages/mission'));
const news = lazy(() => import('./pages/news'));
const newsarticle = lazy(() => import('./pages/newsarticle'));
const newsletter = lazy(() => import('./pages/newsletter'));
const notfound = lazy(() => import('./pages/404'));
const officers = lazy(() => import('./pages/officers'));
const ClassCouncil = lazy(() => import('./pages/classcouncil'));
const Committee = lazy(() => import('./pages/committee'));
const Feedback = lazy(() => import('./pages/feedback'));
const Index = lazy(() => import('./pages/index'));
const Initiatives = lazy(() => import('./pages/initiatives'));
const Involved = lazy(() => import('./pages/involved'));
const Mission = lazy(() => import('./pages/mission'));
const News = lazy(() => import('./pages/news'));
const NewsArticle = lazy(() => import('./pages/newsarticle'));
const Newsletter = lazy(() => import('./pages/newsletter'));
const NotFound = lazy(() => import('./pages/404'));
const Officers = lazy(() => import('./pages/officers'));
const loading = (
<div
@ -36,20 +36,20 @@ export default function App() {
<Suspense fallback={loading}>
<BrowserRouter>
<Layout>
<Switch>
<Route path='/initiatives' exact component={initiatives} />
<Route path='/involved' exact component={involved} />
<Route path='/news/:articleId' component={newsarticle} />
<Route path='/newsletter' exact component={newsletter} />
<Route path='/news' exact component={news} />
<Route path='/mission' exact component={mission} />
<Route path='/officers' exact component={officers} />
<Route path='/committee' exact component={committee} />
<Route path='/class-council' exact component={classcouncil} />
<Route path='/feedback' exact component={feedback} />
<Route path='/:path' component={notfound} />
<Route path='/' exact component={index} />
</Switch>
<Routes>
<Route path='/initiatives' element={<Initiatives />} />
<Route path='/involved' element={<Involved />} />
<Route path='/news/:articleId' element={<NewsArticle />} />
<Route path='/newsletter' element={<Newsletter />} />
<Route path='/news' element={<News />} />
<Route path='/mission' element={<Mission />} />
<Route path='/officers' element={<Officers />} />
<Route path='/committee' element={<Committee />} />
<Route path='/class-council' element={<ClassCouncil />} />
<Route path='/feedback' element={<Feedback />} />
<Route path='/:path' element={<NotFound />} />
<Route path='/' element={<Index />} />
</Routes>
</Layout>
</BrowserRouter>
</Suspense>

View File

@ -32,4 +32,54 @@ main {
h3 {
font-size: 1.5rem;
font-weight: bold;
}
}
/* scrollbar fun */
/* if no like... */
/* comment out from here... */
/* ::-webkit-scrollbar {
width: 1rem;
height: 1rem;
}
::-webkit-scrollbar-thumb {
background: rgba(150,150,150,0.45);
border-radius: 1rem;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(150,150,150,0.85);
}
::-webkit-scrollbar-button:single-button {
background-color: #fff;
display: block;
border-style: solid;
height: 1rem;
width: 1rem;
}
::-webkit-scrollbar-button:single-button:vertical:decrement {
border-width: 0.25rem 0.5rem 0.5rem 0.5rem;
border-color: transparent transparent rgba(150,150,150,0.85) transparent;
}
::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
border-color: transparent transparent rgba(100,100,100,1) transparent;
}
::-webkit-scrollbar-button:single-button:vertical:increment {
border-width: 0.5rem 0.5rem 0.25rem 0.5rem;
border-color: rgba(150,150,150,0.85) transparent transparent transparent;
}
::-webkit-scrollbar-button:vertical:single-button:increment:hover {
border-color: rgba(100,100,100,1) transparent transparent transparent;
} */
/* ...to here */

View File

@ -10,7 +10,7 @@ import imageUrl from '../lib/imageUrl';
export default function NewsArticle() {
let { articleId } = useParams<{ articleId: string }>();
let article = useNewsArticle(articleId);
let article = useNewsArticle(articleId || '');
let thumbnailUrl = '/images/hero.png';
if (article?.thumbnail) {

10356
yarn.lock Normal file

File diff suppressed because it is too large Load Diff