diff --git a/asset-manifest.json b/asset-manifest.json index 5ff7f22..6105fca 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,15 +1,15 @@ { "files": { - "main.css": "/static/css/main.66e69401.chunk.css", - "main.js": "/static/js/main.62367d74.chunk.js", - "main.js.map": "/static/js/main.62367d74.chunk.js.map", - "runtime~main.js": "/static/js/runtime~main.a8a9905a.js", - "runtime~main.js.map": "/static/js/runtime~main.a8a9905a.js.map", - "static/js/2.7362c33c.chunk.js": "/static/js/2.7362c33c.chunk.js", - "static/js/2.7362c33c.chunk.js.map": "/static/js/2.7362c33c.chunk.js.map", - "index.html": "/index.html", - "precache-manifest.7210e3ba5d4bcf982c659bafbc6a537c.js": "/precache-manifest.7210e3ba5d4bcf982c659bafbc6a537c.js", - "service-worker.js": "/service-worker.js", - "static/css/main.66e69401.chunk.css.map": "/static/css/main.66e69401.chunk.css.map" + "main.css": "/BethCongrats/static/css/main.66e69401.chunk.css", + "main.js": "/BethCongrats/static/js/main.564f3c2b.chunk.js", + "main.js.map": "/BethCongrats/static/js/main.564f3c2b.chunk.js.map", + "runtime~main.js": "/BethCongrats/static/js/runtime~main.69a94760.js", + "runtime~main.js.map": "/BethCongrats/static/js/runtime~main.69a94760.js.map", + "static/js/2.7362c33c.chunk.js": "/BethCongrats/static/js/2.7362c33c.chunk.js", + "static/js/2.7362c33c.chunk.js.map": "/BethCongrats/static/js/2.7362c33c.chunk.js.map", + "index.html": "/BethCongrats/index.html", + "precache-manifest.ad191386e813eb2d05e9f3caa9704071.js": "/BethCongrats/precache-manifest.ad191386e813eb2d05e9f3caa9704071.js", + "service-worker.js": "/BethCongrats/service-worker.js", + "static/css/main.66e69401.chunk.css.map": "/BethCongrats/static/css/main.66e69401.chunk.css.map" } } \ No newline at end of file diff --git a/index.html b/index.html index 1bee635..aaad051 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -React App
\ No newline at end of file +React App
\ No newline at end of file diff --git a/precache-manifest.7210e3ba5d4bcf982c659bafbc6a537c.js b/precache-manifest.7210e3ba5d4bcf982c659bafbc6a537c.js deleted file mode 100644 index c199f7f..0000000 --- a/precache-manifest.7210e3ba5d4bcf982c659bafbc6a537c.js +++ /dev/null @@ -1,22 +0,0 @@ -self.__precacheManifest = (self.__precacheManifest || []).concat([ - { - "revision": "a9eb54c09da9281355e83f1bc6f3c1fa", - "url": "/index.html" - }, - { - "revision": "e6bda298cea79b148775", - "url": "/static/css/main.66e69401.chunk.css" - }, - { - "revision": "64f99f37926f242efd6c", - "url": "/static/js/2.7362c33c.chunk.js" - }, - { - "revision": "e6bda298cea79b148775", - "url": "/static/js/main.62367d74.chunk.js" - }, - { - "revision": "42ac5946195a7306e2a5", - "url": "/static/js/runtime~main.a8a9905a.js" - } -]); \ No newline at end of file diff --git a/precache-manifest.ad191386e813eb2d05e9f3caa9704071.js b/precache-manifest.ad191386e813eb2d05e9f3caa9704071.js new file mode 100644 index 0000000..b7962db --- /dev/null +++ b/precache-manifest.ad191386e813eb2d05e9f3caa9704071.js @@ -0,0 +1,22 @@ +self.__precacheManifest = (self.__precacheManifest || []).concat([ + { + "revision": "7ca49cf5033c5af6e7cc0b378615f64f", + "url": "/BethCongrats/index.html" + }, + { + "revision": "108ee6bc2c9c71281e87", + "url": "/BethCongrats/static/css/main.66e69401.chunk.css" + }, + { + "revision": "64f99f37926f242efd6c", + "url": "/BethCongrats/static/js/2.7362c33c.chunk.js" + }, + { + "revision": "108ee6bc2c9c71281e87", + "url": "/BethCongrats/static/js/main.564f3c2b.chunk.js" + }, + { + "revision": "ae0e990b6f732f4d9bc6", + "url": "/BethCongrats/static/js/runtime~main.69a94760.js" + } +]); \ No newline at end of file diff --git a/service-worker.js b/service-worker.js index 8499a7d..90afafb 100644 --- a/service-worker.js +++ b/service-worker.js @@ -14,7 +14,7 @@ importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts( - "/precache-manifest.7210e3ba5d4bcf982c659bafbc6a537c.js" + "/BethCongrats/precache-manifest.ad191386e813eb2d05e9f3caa9704071.js" ); self.addEventListener('message', (event) => { @@ -33,7 +33,7 @@ workbox.core.clientsClaim(); self.__precacheManifest = [].concat(self.__precacheManifest || []); workbox.precaching.precacheAndRoute(self.__precacheManifest, {}); -workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/index.html"), { +workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/BethCongrats/index.html"), { blacklist: [/^\/_/,/\/[^\/]+\.[^\/]+$/], }); diff --git a/static/js/main.62367d74.chunk.js b/static/js/main.564f3c2b.chunk.js similarity index 96% rename from static/js/main.62367d74.chunk.js rename to static/js/main.564f3c2b.chunk.js index 21a095c..7f11690 100644 --- a/static/js/main.62367d74.chunk.js +++ b/static/js/main.564f3c2b.chunk.js @@ -1,2 +1,2 @@ (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{12:function(e,t,n){},13:function(e,t,n){"use strict";n.r(t);var a=n(0),o=n.n(a),r=n(3),i=n.n(r),c=(n(12),n(5)),s=n(1),l=n(4),u=n.n(l),p=s.a.h1({start:{x:"-100vw"},end:{x:0,transition:{duration:1e3}}});function d(e){var t=e.x,n=e.y,a=s.a.span({start:{y:n},end:{y:"-".concat(Math.ceil(1e5*Math.random()),"vh"),transition:{type:"tween",duration:1e5,ease:"circIn"}}});return o.a.createElement(a,{initialPose:"start",pose:"end",style:{fontSize:"60px",position:"fixed",left:t,bottom:0}},"\ud83c\udf89")}var m=function(){var e=Object(a.useState)(!1),t=Object(c.a)(e,2),n=t[0],r=t[1],i=Object(a.useRef)(),s=i&&i.current&&i.current.getBoundingClientRect().width,l=[];if(n&&s)for(var m=0;m<1e3;m+=100)for(var f=0;f\n 🎉\n \n );\n}\nfunction App() {\n const [showBalloons, setShowBalloons] = useState(false);\n const refContainer = useRef();\n const width =\n refContainer &&\n refContainer.current &&\n refContainer.current.getBoundingClientRect().width;\n const balloons = [];\n if (showBalloons && width) {\n for(let row = 0; row < 1000; row = row + 100) {\n for (let i = 0; i < width; i = i + 60) {\n balloons.push();\n }\n }\n \n }\n\n return (\n <>\n
\n setShowBalloons(true)}\n style={{ zIndex: 1000}}\n >\n Congratulations Beth!\n \n
\n {balloons}\n \n );\n}\n\nexport default App;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister();\n });\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport * as serviceWorker from './serviceWorker';\n\nReactDOM.render(, document.getElementById('root'));\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"app\":\"App_app__3XgP_\"};"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["App.js","serviceWorker.js","index.js","App.module.scss"],"names":["Header","pose","h1","start","x","end","transition","duration","Balloon","_ref","y","Posed","span","concat","Math","ceil","random","type","ease","react_default","a","createElement","initialPose","style","fontSize","position","left","bottom","App","_useState","useState","_useState2","Object","slicedToArray","showBalloons","setShowBalloons","refContainer","useRef","width","current","getBoundingClientRect","balloons","row","i","push","key","Fragment","ref","className","styles","app","onPoseComplete","zIndex","Boolean","window","location","hostname","match","ReactDOM","render","src_App","document","getElementById","navigator","serviceWorker","ready","then","registration","unregister","module","exports"],"mappings":"+LAKMA,EAASC,IAAKC,GAAG,CACrBC,MAAO,CACLC,EAAG,UAELC,IAAK,CACHD,EAAG,EACHE,WAAY,CACVC,SAAU,QAIhB,SAASC,EAATC,GAA2B,IAARL,EAAQK,EAARL,EAAGM,EAAKD,EAALC,EACdC,EAAQV,IAAKW,KAAK,CACtBT,MAAO,CACLO,EAAGA,GAELL,IAAK,CACHK,EAAC,IAAAG,OAAMC,KAAKC,KAAqB,IAAhBD,KAAKE,UAArB,MACDV,WAAY,CACVW,KAAM,QACNV,SAAU,IACVW,KAAM,aAIZ,OACEC,EAAAC,EAAAC,cAACV,EAAD,CAAOW,YAAY,QAAQrB,KAAK,MAAMsB,MAAO,CAAEC,SAAU,OAAQC,SAAU,QAASC,KAAMtB,EAAGuB,OAAQ,IAArG,gBAuCWC,MAlCf,WAAe,IAAAC,EAC2BC,oBAAS,GADpCC,EAAAC,OAAAC,EAAA,EAAAD,CAAAH,EAAA,GACNK,EADMH,EAAA,GACQI,EADRJ,EAAA,GAEPK,EAAeC,mBACfC,EACJF,GACAA,EAAaG,SACbH,EAAaG,QAAQC,wBAAwBF,MACzCG,EAAW,GACjB,GAAIP,GAAgBI,EAClB,IAAI,IAAII,EAAM,EAAGA,EAAM,IAAMA,GAAY,IACvC,IAAK,IAAIC,EAAI,EAAGA,EAAIL,EAAOK,GAAQ,GACjCF,EAASG,KAAKzB,EAAAC,EAAAC,cAACb,EAAD,CAASqC,IAAG,GAAAhC,OAAK8B,EAAL,KAAA9B,OAAU6B,GAAOtC,EAAGuC,EAAGjC,EAAGgC,KAM1D,OACEvB,EAAAC,EAAAC,cAAAF,EAAAC,EAAA0B,SAAA,KACE3B,EAAAC,EAAAC,cAAA,OAAK0B,IAAKX,EAAcY,UAAWC,IAAOC,KACxC/B,EAAAC,EAAAC,cAACrB,EAAD,CACEsB,YAAY,QACZrB,KAAK,MACLkD,eAAgB,kBAAMhB,GAAgB,IACtCZ,MAAO,CAAE6B,OAAQ,MAJnB,0BASDX,ICrDaY,QACW,cAA7BC,OAAOC,SAASC,UAEe,UAA7BF,OAAOC,SAASC,UAEhBF,OAAOC,SAASC,SAASC,MACvB,2DCZNC,IAASC,OAAOxC,EAAAC,EAAAC,cAACuC,EAAD,MAASC,SAASC,eAAe,SD2H3C,kBAAmBC,WACrBA,UAAUC,cAAcC,MAAMC,KAAK,SAAAC,GACjCA,EAAaC,kCElInBC,EAAAC,QAAA,CAAkBpB,IAAA","file":"static/js/main.564f3c2b.chunk.js","sourcesContent":["import React, { useState, useRef } from \"react\";\nimport pose from \"react-pose\";\n\nimport styles from \"./App.module.scss\";\n\nconst Header = pose.h1({\n start: {\n x: \"-100vw\"\n },\n end: {\n x: 0,\n transition: {\n duration: 1000\n }\n }\n});\nfunction Balloon({ x, y }) {\n const Posed = pose.span({\n start: {\n y: y\n },\n end: {\n y: `-${Math.ceil(Math.random() * 100000)}vh`,\n transition: {\n type: 'tween',\n duration: 100000,\n ease: 'circIn'\n }\n }\n })\n return (\n \n 🎉\n \n );\n}\nfunction App() {\n const [showBalloons, setShowBalloons] = useState(false);\n const refContainer = useRef();\n const width =\n refContainer &&\n refContainer.current &&\n refContainer.current.getBoundingClientRect().width;\n const balloons = [];\n if (showBalloons && width) {\n for(let row = 0; row < 1000; row = row + 100) {\n for (let i = 0; i < width; i = i + 60) {\n balloons.push();\n }\n }\n \n }\n\n return (\n <>\n
\n setShowBalloons(true)}\n style={{ zIndex: 1000}}\n >\n Congratulations Beth!\n \n
\n {balloons}\n \n );\n}\n\nexport default App;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister();\n });\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport * as serviceWorker from './serviceWorker';\n\nReactDOM.render(, document.getElementById('root'));\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"app\":\"App_app__3XgP_\"};"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/runtime~main.a8a9905a.js b/static/js/runtime~main.69a94760.js similarity index 84% rename from static/js/runtime~main.a8a9905a.js rename to static/js/runtime~main.69a94760.js index 7c49b19..2b7ca07 100644 --- a/static/js/runtime~main.a8a9905a.js +++ b/static/js/runtime~main.69a94760.js @@ -1,2 +1,2 @@ -!function(e){function r(r){for(var n,f,i=r[0],l=r[1],a=r[2],c=0,s=[];c