From 70ef6bfe61ae3910cfeba8cb8d31c4a075ab49e5 Mon Sep 17 00:00:00 2001 From: Mahad O <40477767+proobs@users.noreply.github.com> Date: Tue, 19 Sep 2023 10:27:43 -0400 Subject: [PATCH 1/5] schedule addition - added schedule component that just reads from the aws lambda - DO not accept PR until stuff on the backend gets changed --- asset-manifest.json | 12 +- .../src/components/ScheduleBlock.js | 70 +++-- hackumbc-client/src/css/Schedule.css | 24 +- hackumbc-client/src/pages/Home.js | 26 +- hackumbc-client/src/pages/Schedule.js | 274 ++++-------------- index.html | 2 +- package-lock.json | 102 +++++++ package.json | 5 + static/css/main.c4a76e80.css | 2 + static/css/main.c4a76e80.css.map | 1 + static/js/main.4cf1e1da.js | 3 + static/js/main.4cf1e1da.js.LICENSE.txt | 50 ++++ static/js/main.4cf1e1da.js.map | 1 + 13 files changed, 302 insertions(+), 270 deletions(-) create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 static/css/main.c4a76e80.css create mode 100644 static/css/main.c4a76e80.css.map create mode 100644 static/js/main.4cf1e1da.js create mode 100644 static/js/main.4cf1e1da.js.LICENSE.txt create mode 100644 static/js/main.4cf1e1da.js.map diff --git a/asset-manifest.json b/asset-manifest.json index 2ebe9e18..bf14125a 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { - "main.css": "/static/css/main.a050b483.css", - "main.js": "/static/js/main.c215fc8c.js", + "main.css": "/static/css/main.c4a76e80.css", + "main.js": "/static/js/main.4cf1e1da.js", "static/media/light_green.jpg": "/static/media/light_green.7010efcd90708a2bdb62.jpg", "static/media/med_blue.jpg": "/static/media/med_blue.4295e322817e15eaf333.jpg", "static/media/hack_logo.png": "/static/media/hack_logo.d7102c0819a667e667e0.png", @@ -22,11 +22,11 @@ "static/media/northrop.png": "/static/media/northrop.e3e3ed5b0b9777db762e.png", "static/media/CWIT.png": "/static/media/CWIT.69415606645ce160cbdd.png", "index.html": "/index.html", - "main.a050b483.css.map": "/static/css/main.a050b483.css.map", - "main.c215fc8c.js.map": "/static/js/main.c215fc8c.js.map" + "main.c4a76e80.css.map": "/static/css/main.c4a76e80.css.map", + "main.4cf1e1da.js.map": "/static/js/main.4cf1e1da.js.map" }, "entrypoints": [ - "static/css/main.a050b483.css", - "static/js/main.c215fc8c.js" + "static/css/main.c4a76e80.css", + "static/js/main.4cf1e1da.js" ] } \ No newline at end of file diff --git a/hackumbc-client/src/components/ScheduleBlock.js b/hackumbc-client/src/components/ScheduleBlock.js index b1b1c721..193f4b02 100644 --- a/hackumbc-client/src/components/ScheduleBlock.js +++ b/hackumbc-client/src/components/ScheduleBlock.js @@ -1,43 +1,49 @@ -import React from 'react' -import { useEffect, useState } from 'react'; -import '../css/Home.css' -import '../css/Schedule.css' +import React from "react"; +import { useEffect, useState } from "react"; +import "../css/Home.css"; +import "../css/Schedule.css"; import Aos from "aos"; import "aos/dist/aos.css"; // realizing after the fact that this does not need its own component but we can keep it for now its not too bad -const ScheduleBlock = ({time, title, details}) => { - const [isHovering, setIsHovering] = useState(false); +const ScheduleBlock = ({ time, title, location, details }) => { + const [isHovering, setIsHovering] = useState(false); - const handleMouseOver = () => { - setIsHovering(true); - }; - - const handleMouseOut = () => { - setIsHovering(false); - }; - useEffect(()=>{ - Aos.init({ - once: 'true', - duration: 1000 - }); - }, []) + const handleMouseOver = () => { + setIsHovering(true); + }; + + const handleMouseOut = () => { + setIsHovering(false); + }; + useEffect(() => { + Aos.init({ + once: "true", + duration: 1000, + }); + }, []); return ( -
a||125d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};\nexports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.p = \"/\";","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","export default function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}","import * as React from \"react\";\nimport type { History, Location } from \"history\";\nimport { Action as NavigationType } from \"history\";\n\nimport type { RouteMatch } from \"./router\";\n\n/**\n * A Navigator is a \"location changer\"; it's how you get to different locations.\n *\n * Every history instance conforms to the Navigator interface, but the\n * distinction is useful primarily when it comes to the low-level {desc} \r\n Join hackUMBC for our 24-hour hackathon event where we challenge\r\n our ideas to come to life! Collaborate with other students and\r\n pick up some new skills in our workshop sessions!\r\n \r\n With lots of fun activities, over $5,000 in prizes, and swag for\r\n all participants you’ll be in for an exciting weekend!\r\n {answer} \r\n Yes, it can be found{\" \"}\r\n \r\n here.\r\n \r\n \r\n Interesting in sponsoring us? HACKUMBC 2023 Sponsors & Partners This is the privacy policy for hackUMBC. We may collect the following types of information:
+ We may use the collected information for various purposes, including:
+
+ We may use third-party services that collect information as well.
+ Please review their privacy policies for details.
+
+ We take security seriously and strive to protect your information.
+ However, no method of transmission over the internet or electronic
+ storage is 100% secure. We cannot guarantee absolute security.
+
+ We may update this privacy policy from time to time. Any changes will
+ be posted on this page with the updated date.
+
+ If you have any questions or concerns about our privacy policy, please
+ contact us at sponsor@hackumbc.tech.
+
\r\n \r\n {location}
\r\n
\r\n {time}
\r\n
\r\n {title}
\r\n {details}
\r\n {title}
\r\n {title}
\r\n
\r\n {title}
\r\n
\r\n TRACKS
\r\n
\r\n
*/}\r\n {question}
\r\n {\"{ FAQ }\"}
*/}\r\n\r\n Is there a code of conduct?
\r\n
\r\n {title}
\r\n
\r\n
\r\n \r\n \r\n SPONSOR@HACKUMBC.TECH\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n SEPTEMBER, 23-24
\r\n 2023
\r\n\r\n \r\n
\r\n\r\n \r\n Interested in sponsoring us?
\r\n
\r\n SPONSOR@HACKUMBC.TECH\r\n
+
+ Privacy Policy
+ Information We Collect
+
+
+
+ How We Use Information
+
+
+
+ Third-Party Services
+ Security
+ Changes to This Privacy Policy
+ Contact Us
+