diff --git a/.env b/.env new file mode 100644 index 0000000..20b5bd8 --- /dev/null +++ b/.env @@ -0,0 +1,4 @@ +REACT_APP_DATA_START_YEAR=2008 +REACT_APP_DATA_END_YEAR=2023 +REACT_APP_API_ROOT_URL= +# REACT_APP_API_ROOT_URL=http://localhost:8080 # Use this line when developing locally \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4d29575 --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# production +/build + +# misc +.DS_Store +.env.local +.env.development.local +.env.test.local +.env.production.local + +npm-debug.log* +yarn-debug.log* +yarn-error.log* diff --git a/HELP.md b/HELP.md new file mode 100644 index 0000000..7f15afc --- /dev/null +++ b/HELP.md @@ -0,0 +1,27 @@ +# Read Me First +The following was discovered as part of building this project: + +* The original package name 'io.javabrains.ipl-dashboard' is invalid and this project uses 'io.javabrains.ipldashboard' instead. + +# Getting Started + +### Reference Documentation +For further reference, please consider the following sections: + +* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html) +* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/3.1.9/maven-plugin/reference/html/) +* [Create an OCI image](https://docs.spring.io/spring-boot/docs/3.1.9/maven-plugin/reference/html/#build-image) +* [Spring Web](https://docs.spring.io/spring-boot/docs/3.1.9/reference/htmlsingle/index.html#web) +* [Spring Boot DevTools](https://docs.spring.io/spring-boot/docs/3.1.9/reference/htmlsingle/index.html#using.devtools) +* [Spring Batch](https://docs.spring.io/spring-boot/docs/3.1.9/reference/htmlsingle/index.html#howto.batch) +* [Spring Data JPA](https://docs.spring.io/spring-boot/docs/3.1.9/reference/htmlsingle/index.html#data.sql.jpa-and-spring-data) + +### Guides +The following guides illustrate how to use some features concretely: + +* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/) +* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/) +* [Building REST services with Spring](https://spring.io/guides/tutorials/rest/) +* [Creating a Batch Service](https://spring.io/guides/gs/batch-processing/) +* [Accessing Data with JPA](https://spring.io/guides/gs/accessing-data-jpa/) + diff --git a/README.md b/README.md index c547a48..58beeac 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,70 @@ -# IPL-Dashboard-for-Analysis -Get to know about your favorite IPL team along with their past details for fact checking, like wins and loss ratio etc that can be accessed by team and the tournament year. +# Getting Started with Create React App -This project is made on Full stack Development using SpringBoot and React JS. +This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). -Following are the technologies used -- Spring Boot -- Spring Batch -- React JS -- AWS BeanStalk -- HSQL DB -- Java Persistence API -- Repositories and JPQL +## Available Scripts +In the project directory, you can run: -![Spring Boot Spring Batch Java Persistence API, Repositories and JPQL HSQL DB React JS AWS BeanStalk](https://github.com/codecrafterrr/IPL-Dashboard-for-Analysis/assets/122688766/744f6f20-8571-4f17-96b6-9da4b9fbc017) +### `npm start` +Runs the app in the development mode.\ +Open [http://localhost:3000](http://localhost:3000) to view it in your browser. +The page will reload when you make changes.\ +You may also see any lint errors in the console. +### `npm test` +Launches the test runner in the interactive watch mode.\ +See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. +### `npm run build` +Builds the app for production to the `build` folder.\ +It correctly bundles React in production mode and optimizes the build for the best performance. +The build is minified and the filenames include the hashes.\ +Your app is ready to be deployed! +See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. -![MIT License](https://img.shields.io/badge/License-MIT-green.svg) +### `npm run eject` +**Note: this is a one-way operation. Once you `eject`, you can't go back!** + +If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. + +Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own. + +You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it. + +## Learn More + +You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). + +To learn React, check out the [React documentation](https://reactjs.org/). + +### Code Splitting + +This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) + +### Analyzing the Bundle Size + +This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) + +### Making a Progressive Web App + +This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) + +### Advanced Configuration + +This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) + +### Deployment + +This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) + +### `npm run build` fails to minify + +This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify) diff --git a/build/asset-manifest.json b/build/asset-manifest.json new file mode 100644 index 0000000..9c6edb2 --- /dev/null +++ b/build/asset-manifest.json @@ -0,0 +1,32 @@ +{ + "files": { + "main.css": "/static/css/main.a136b288.css", + "main.js": "/static/js/main.bd8a5429.js", + "static/js/453.8ab44547.chunk.js": "/static/js/453.8ab44547.chunk.js", + "static/media/csk.jpg": "/static/media/csk.3bfbc92d437c00f7b0cd.jpg", + "static/media/srh.jpg": "/static/media/srh.f0566932bc6fba8cc53f.jpg", + "static/media/mi.jpg": "/static/media/mi.fa6acd7336fc41cc04ff.jpg", + "static/media/rpsj.jpg": "/static/media/rpsj.9707c919b1f79ba1ae00.jpg", + "static/media/kkr.jpg": "/static/media/kkr.310a8a6bbd3c7ce6639e.jpg", + "static/media/gt.jpg": "/static/media/gt.1b0d3a0eba78b1a742e1.jpg", + "static/media/lsg.png": "/static/media/lsg.3e79b375d538297ea4d0.png", + "static/media/kochi.jpeg": "/static/media/kochi.488c33e8d17d2e414e1e.jpeg", + "static/media/kxip.jpeg": "/static/media/kxip.1300ea3f4e398587b1a0.jpeg", + "static/media/cricket.png": "/static/media/cricket.88c979b446942d6ee007.png", + "static/media/gujaratlions.jpeg": "/static/media/gujaratlions.9323eefc7b9d95a2abc1.jpeg", + "static/media/rr.jpeg": "/static/media/rr.98a1c181781412d3357a.jpeg", + "static/media/punjabkings.jpg": "/static/media/punjabkings.c60b955c140d53ab6b7f.jpg", + "static/media/pw.jpeg": "/static/media/pw.418f252811dcee955a40.jpeg", + "static/media/rcb.jpeg": "/static/media/rcb.2be248c7c4bd17d997e3.jpeg", + "static/media/delhicapitals.jpeg": "/static/media/delhicapitals.3c90cb2f6bb0faf75252.jpeg", + "static/media/DeccanChargers.jpeg": "/static/media/DeccanChargers.8218a94bc3c809264783.jpeg", + "index.html": "/index.html", + "main.a136b288.css.map": "/static/css/main.a136b288.css.map", + "main.bd8a5429.js.map": "/static/js/main.bd8a5429.js.map", + "453.8ab44547.chunk.js.map": "/static/js/453.8ab44547.chunk.js.map" + }, + "entrypoints": [ + "static/css/main.a136b288.css", + "static/js/main.bd8a5429.js" + ] +} \ No newline at end of file diff --git a/build/favicon.ico b/build/favicon.ico new file mode 100644 index 0000000..a11777c Binary files /dev/null and b/build/favicon.ico differ diff --git a/build/index.html b/build/index.html new file mode 100644 index 0000000..54201df --- /dev/null +++ b/build/index.html @@ -0,0 +1 @@ +CricNewz
\ No newline at end of file diff --git a/build/logo192.png b/build/logo192.png new file mode 100644 index 0000000..fc44b0a Binary files /dev/null and b/build/logo192.png differ diff --git a/build/logo512.png b/build/logo512.png new file mode 100644 index 0000000..a4e47a6 Binary files /dev/null and b/build/logo512.png differ diff --git a/build/manifest.json b/build/manifest.json new file mode 100644 index 0000000..080d6c7 --- /dev/null +++ b/build/manifest.json @@ -0,0 +1,25 @@ +{ + "short_name": "React App", + "name": "Create React App Sample", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + }, + { + "src": "logo192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "logo512.png", + "type": "image/png", + "sizes": "512x512" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/build/robots.txt b/build/robots.txt new file mode 100644 index 0000000..e9e57dc --- /dev/null +++ b/build/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: diff --git a/build/static/css/main.a136b288.css b/build/static/css/main.a136b288.css new file mode 100644 index 0000000..d7f3b48 --- /dev/null +++ b/build/static/css/main.a136b288.css @@ -0,0 +1,2 @@ +*{box-sizing:border-box;font-family:cursive;margin:0;padding:0}a{text-decoration:none}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#ca4f4f;background:linear-gradient(90deg,#cb5151,#5e1863);color:#4a4848;font-family:Rubik,sans-serif;margin:0 auto;max-width:1100px}a{color:#3a2f2f}.MatchDetailCard{display:grid;grid-template-columns:1fr 1fr;margin-bottom:20px;padding:10px;;.match-date,.match-result,.match-venue{font-size:15px;margin-top:10px}.additional-detail{&>p{margin-bottom:20px}}.additional-detail{text-align:right;&>h3{font-size:15px}}}.otherteam>a{color:aqua!important;color:#168584!important;font-size:larger;font-weight:bolder}.MatchSmallCard{box-shadow:0 1px 53px 10px #9a3c3c;justify-content:center;margin:12px 12px 145px;padding:26px!important;.match-result{margin-top:10px}}.TeamPage{grid-column-gap:10px;grid-row-gap:10px;display:grid;grid-template-columns:1fr 1fr 1fr 1fr;grid-template-rows:1fr 1fr 1fr;.team-name-section{align-self:center;color:#3f3434;grid-column:span 3;justify-self:start}.team-name{font-size:4rem;margin-bottom:20px;text-shadow:0 0 15px #504c4c}.win-loss-section{color:#302828;height:63%;justify-self:center;padding:20px;text-align:center;width:100%}.match-detail-section{grid-column:span 4}.more-link{align-self:center;font-size:1.5rem;justify-self:center;margin-bottom:145px}}.latest{color:#3f3434;font-size:23px;margin-bottom:4%}.detail-card{border-radius:32px}.detail-card,.pie{box-shadow:0 1px 53px 10px #9a3c3c;transition:transform .3s ease}.pie{border-radius:50%;margin-bottom:12%}.pie:hover{box-shadow:0 1px 33px 6px #9a3c3c;transform:scale(1.09)}.sp-an{color:#4bf7bd;font-size:larger;text-shadow:0 0 15px #4bf7bd}@media screen and (min-width:768px) and (max-width:1024px){.TeamPage{grid-template-columns:1fr 1fr 1fr}}@media screen and (max-width:767px){.TeamPage{display:block;grid-template-columns:1fr}.team-name-section,.win-loss-section{grid-column:span 1}.win-loss-section{align-self:center;color:#302828;display:inline-flex;height:100%;justify-self:center;padding:20px;text-align:center;width:100%}.MatchSmallCard{margin-bottom:10%}}.TeamTile{align-items:center;background:#8c42a9;background-position:50%;background-size:cover;border-radius:30px;box-shadow:0 1px 20px 3px #837d84;color:#000;display:flex;font-size:17px;font-weight:500;height:170px;justify-content:center;margin:5%;opacity:.8;position:relative;text-align:center;transition:transform .3s ease;width:90%}.TeamTile:hover{box-shadow:-1px 0 20px 7px #9a3c3c;opacity:1;transform:scale(1.09)}@media screen and (min-width:768px) and (max-width:1024px){.TeamTile{margin:2.5%;width:45%}}@media screen and (max-width:767px){.TeamTile{margin:5%;width:90%}}.HomePage{.app-name{color:#393030;font-size:2rem;margin:30px auto 30px 2%}.team-grid{grid-column-gap:20px;grid-row-gap:20px;display:grid;grid-template-columns:1fr 1fr 1fr}@media screen and (min-width:768px) and (max-width:1024px){.team-grid{grid-template-columns:1fr 1fr}}@media screen and (max-width:767px){.team-grid{grid-template-columns:1fr}}}.YearSelector{list-style-type:none;text-align:right;li{margin-bottom:10px;margin-top:10px}}.MatchPage{grid-column-gap:20px;display:grid;grid-template-columns:1fr 5fr;.year-selector>h2{font-size:large;font-weight:700;justify-self:end;padding:20px}.year-selector>div{display:flex;padding:20px;place-content:center}.page-heading{font-size:large;font-weight:700;margin:20px auto 6%}}.text-color{font-size:16px;transition:transform .3s ease}.text-color:hover{transform:scale(1.29)}.text-color{color:#302828;cursor:pointer;font-size:17px}.text-head{color:#4bf7bd;text-shadow:0 0 7px #4bf7bd}.bg-gradien{transition:transform .3s ease}.bg-gradien,.bg-gradien:hover{background:linear-gradient(90deg,#cb5151,#5e1863);box-shadow:0 1px 4px 3px #f9a8a8}.bg-gradien:hover{transform:scale(1.04)}.bg-text{background:#de983b;display:flex;padding-top:1%;transition:transform .3s ease}.bg-text,.bg-text:hover{box-shadow:0 1px 4px 3px #f9a8a8}.bg-text:hover{transform:scale(1.02)}.App{padding:20px;text-align:left}.won-card{background-color:#23fb88}.lost-card,.won-card{border-radius:32px;box-shadow:0 1px 53px 10px #9a3c3c;padding:2% 4%;transition:transform .3s ease}.lost-card{background-color:#c33851}.lost-card:hover{box-shadow:0 1px 33px 6px #9a3c3c;transform:scale(1.03)}.won-card:hover{box-shadow:0 1px 53px 10px #9a3c3c;transform:scale(1.03)} +/*# sourceMappingURL=main.a136b288.css.map*/ \ No newline at end of file diff --git a/build/static/css/main.a136b288.css.map b/build/static/css/main.a136b288.css.map new file mode 100644 index 0000000..fab589a --- /dev/null +++ b/build/static/css/main.a136b288.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/main.a136b288.css","mappings":"AAEA,EACI,qBAAsB,CAGtB,mBAAoB,CADpB,QAAS,CADT,SAGJ,CAEA,EACI,oBACJ,CAGA,KAEI,kCAAmC,CACnC,iCAAkC,CAGlC,kBAAmB,CAEnB,iDAAuD,CAMvD,aAAsB,CAbtB,4BAAgC,CAehC,aAAc,CADd,gBAEJ,CAEA,EACI,aACJ,CCnCA,iBACI,YAAa,CACb,6BAA8B,CAE9B,kBAAmB,CADnB,YAAa,EAIb,uCAEI,cAAe,CADf,eAEJ,CAEA,mBAEI,IACI,kBACJ,CAEJ,CAEA,mBACI,gBAAiB,CACjB,KACI,cACJ,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CAAqC,CACrC,SAAU,CAFV,qBAGJ,CAGA,2DACI,UAEI,WAAY,CADZ,SAEJ,CACJ,CAGA,oCACI,UAEI,SAAU,CADV,SAEJ,CACJ,CC5CA,UACI,UAGI,aAAc,CAFd,cAAe,CAGf,wBACJ,CACA,WAGI,oBAAqB,CACrB,iBAAkB,CAHlB,YAAa,CACb,iCAGJ,CAEA,2DACI,WACI,6BACJ,CACJ,CAGA,oCACI,WACI,yBACJ,CACJ,CACJ,CC1BA,cAEI,oBAAqB,CADrB,gBAAiB,CAEjB,GAEI,kBAAmB,CADnB,eAEJ,CAEJ,CCRA,WAGI,oBAAqB,CAFrB,YAAa,CACb,6BAA8B,CAG9B,kBAGI,eAAgB,CAChB,eAAiB,CAHjB,gBAAiB,CACjB,YAGJ,CAEA,mBAEI,YAAa,CADb,YAAa,CAEb,oBACJ,CAEA,cAEI,eAAgB,CAChB,eAAiB,CACjB,mBACJ,CACJ,CCxBA,YACI,cAAe,CACf,6BACJ,CAEA,kBACI,qBACJ,CAGA,YACI,aAAc,CACd,cAAe,CACf,cACJ,CAEA,WACI,aAAc,CACd,2BAEJ,CCpBA,YAGI,6BACJ,CAEA,8BAJI,iDAAuD,CADvD,gCASJ,CAJA,kBACI,qBAGJ,CAEA,SAEI,kBAAmB,CAEnB,YAAa,CACb,cAAe,CAFf,6BAGJ,CAEA,wBAPI,gCAUJ,CAHA,eACI,qBAEJ,CCvBA,KACE,YAAa,CACb,eACF,CAEA,UACE,wBAKF,CAEA,qBALE,kBAAmB,CAEnB,kCAAqC,CAHrC,aAAc,CAEd,6BAUF,CANA,WACE,wBAKF,CAEA,iBACE,iCAAoC,CACpC,qBACF,CAEA,gBACE,kCAAqC,CACrC,qBACF","sources":["index.css","components/MatchDetailCard.css","components/MatchSmallCard.css","pages/TeamPage.css","components/TeamTile.css","pages/HomePage.css","components/YearSelector.css","pages/MatchPage.css","components/Header.css","pages/Contact.css","App.css"],"sourcesContent":["/* @import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;600&display=swap'); */\n\n* {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n font-family: cursive;\n}\n\na {\n text-decoration: none;\n}\n\n\nbody {\n font-family: 'Rubik', sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n /* background-color: #282c34; */\n \n background: #ca4f4f;\n background: -webkit-linear-gradient(to right, #cb5151, #5e1963);\n background: linear-gradient(to right, #cb5151, #5e1863);\n\n /* background: #c0392b; \n background: -webkit-linear-gradient(to right, #8e44ad, #c0392b); \n background: linear-gradient(to right, #8e44ad, #c0392b); */\n\n color: rgb(74, 72, 72);\n max-width: 1100px;\n margin: 0 auto;\n}\n\na {\n color: #3a2f2f;\n}",".MatchDetailCard {\n display: grid;\n grid-template-columns: 1fr 1fr;\n padding: 10px;\n margin-bottom: 20px;;\n\n\n .match-date, .match-venue, .match-result {\n margin-top: 10px;\n font-size: 15px;\n }\n\n .additional-detail {\n text-align: right;\n & > p {\n margin-bottom: 20px;\n }\n\n }\n \n .additional-detail {\n text-align: right;\n & > h3 {\n font-size: 15px;\n }\n\n }\n\n \n}\n\n.otherteam>a{\n color:aqua !important;\n color: #168584 !important;\n font-size: larger;\n font-weight: bolder;\n}\n",".MatchSmallCard {\n padding: 26px !important;\n margin: 12px;\n margin-bottom: 145px;\n box-shadow: 0px 1px 53px 10px #9a3c3c;\n justify-content: center;\n\n .match-result {\n margin-top: 10px;\n }\n}",".TeamPage {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr 1fr;\n grid-template-rows: 1fr 1fr 1fr;\n grid-column-gap: 10px;\n grid-row-gap: 10px;\n\n\n .team-name-section {\n grid-column: span 3;\n justify-self: start;\n align-self: center;\n color: #3f3434;\n }\n\n .team-name {\n font-size: 4rem;\n margin-bottom: 20px;\n text-shadow: 0px 0px 15px #504c4c;\n }\n\n .win-loss-section {\n justify-self: center;\n padding: 20px;\n text-align: center;\n color: #302828;\n width: 100%;\n height: 63%;\n }\n\n .match-detail-section {\n grid-column: span 4;\n }\n\n .more-link {\n align-self: center;\n justify-self: center;\n font-size: 1.5rem;\n margin-bottom: 145px;\n }\n\n}\n\n.latest {\n font-size: 23px;\n margin-bottom: 4%;\n color: #3f3434;\n}\n\n.detail-card {\n border-radius: 32px;\n transition: transform 0.3s ease;\n box-shadow: 0px 1px 53px 10px #9a3c3c;\n}\n\n.pie {\n transition: transform 0.3s ease;\n box-shadow: 0px 1px 53px 10px #9a3c3c;\n border-radius: 50%;\n margin-bottom: 12%;\n}\n\n.pie:hover {\n box-shadow: 0px 1px 33px 6px #9a3c3c;\n transform: scale(1.09);\n}\n\n.sp-an{\n color: #4bf7bd;\n text-shadow: 0px 0px 15px #4bf7bd;\n font-size: larger;\n}\n\n\n@media screen and (min-width: 768px) and (max-width: 1024px) {\n .TeamPage {\n grid-template-columns: 1fr 1fr 1fr; /* 3 columns */\n }\n}\n\n@media screen and (max-width: 767px) {\n .TeamPage {\n grid-template-columns: 1fr;\n display: block;\n }\n .team-name-section {\n grid-column: span 1; \n }\n .win-loss-section {\n grid-column: span 1; /* Set the win-loss-section to span 1 column */\n justify-self: center;\n align-self: center; /* Align the win-loss-section to the center */\n padding: 20px;\n text-align: center;\n color: #302828;\n width: 100%;\n height: 100%; /* Adjust the height as needed */\n display: inline-flex;\n }\n .MatchSmallCard{\n margin-bottom: 10%;\n }\n}\n",".TeamTile {\n color: black;\n height: 170px;\n text-align: center;\n border-radius: 30px;\n box-shadow: 0px 1px 20px 3px #837d84;\n display: flex;\n justify-content: center;\n align-items: center;\n margin: 5%;\n width: 90%;\n transition: transform 0.3s ease;\n font-weight: 500;\n font-size: 17px;\n background: #8c42a9;\n\n background-size: cover;\n background-position: center;\n position: relative;\n opacity: 0.8;\n}\n\n\n\n.TeamTile:hover {\n transform: scale(1.09);\n box-shadow: -1px 0px 20px 7px #9a3c3c;\n opacity: 1;\n}\n\n/* For tablets (768px to 1024px) */\n@media screen and (min-width: 768px) and (max-width: 1024px) {\n .TeamTile {\n width: 45%; /* Display 2 tiles per row */\n margin: 2.5%; /* Adjust margin for spacing */\n }\n}\n\n/* For mobile devices (up to 767px) */\n@media screen and (max-width: 767px) {\n .TeamTile {\n width: 90%; /* Display 1 tile per row */\n margin: 5%; /* Adjust margin for spacing */\n }\n}\n",".HomePage {\n .app-name {\n font-size: 2rem;\n margin: 30px auto;\n color: #393030;\n margin-left: 2%;\n }\n .team-grid {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n grid-column-gap: 20px;\n grid-row-gap: 20px;\n }\n\n @media screen and (min-width: 768px) and (max-width: 1024px) {\n .team-grid {\n grid-template-columns: 1fr 1fr; /* 2 columns */\n }\n }\n \n /* For mobile devices (up to 767px) */\n @media screen and (max-width: 767px) {\n .team-grid {\n grid-template-columns: 1fr; /* 1 column */\n }\n }\n}",".YearSelector {\n text-align: right;\n list-style-type: none;\n li {\n margin-top: 10px;\n margin-bottom: 10px;\n }\n\n}",".MatchPage {\n display: grid;\n grid-template-columns: 1fr 5fr;\n grid-column-gap: 20px;\n\n .year-selector>h2{\n justify-self: end;\n padding: 20px;\n font-size: large;\n font-weight: bold;\n }\n\n .year-selector>div{\n padding: 20px;\n display: flex;\n place-content: center;\n }\n\n .page-heading {\n margin: 20px auto;\n font-size: large;\n font-weight: bold;\n margin-bottom: 6%;\n }\n}\n ",".text-color {\r\n font-size: 16px;\r\n transition: transform 0.3s ease;\r\n}\r\n\r\n.text-color:hover {\r\n transform: scale(1.29);\r\n}\r\n\r\n\r\n.text-color {\r\n color: #302828;\r\n cursor: pointer;\r\n font-size: 17px;\r\n}\r\n\r\n.text-head {\r\n color: #4bf7bd;\r\n text-shadow: 0px 0px 7px #4bf7bd;\r\n\r\n}",".bg-gradien{\r\n box-shadow: 0px 1px 4px 3px #f9a8a8;\r\n background: linear-gradient(to right, #cb5151, #5e1863);\r\n transition: transform 0.3s ease;\r\n}\r\n\r\n.bg-gradien:hover{\r\n transform: scale(1.04);\r\n box-shadow: 0px 1px 4px 3px #f9a8a8;\r\n background: linear-gradient(to right, #cb5151, #5e1863);\r\n}\r\n\r\n.bg-text{\r\n box-shadow: 0px 1px 4px 3px #f9a8a8;\r\n background: #de983b;\r\n transition: transform 0.3s ease;\r\n display: flex;\r\n padding-top: 1%;\r\n}\r\n\r\n.bg-text:hover{\r\n transform: scale(1.02);\r\n box-shadow: 0px 1px 4px 3px #f9a8a8;\r\n}",".App {\n padding: 20px;\n text-align: left;\n}\n\n.won-card {\n background-color: #23fb88;\n padding: 2% 4%;\n border-radius: 32px;\n transition: transform 0.3s ease;\n box-shadow: 0px 1px 53px 10px #9a3c3c;\n}\n\n.lost-card {\n background-color: #c33851;\n padding: 2% 4%;\n border-radius: 32px;\n transition: transform 0.3s ease;\n box-shadow: 0px 1px 53px 10px #9a3c3c;\n}\n\n.lost-card:hover{\n box-shadow: 0px 1px 33px 6px #9a3c3c;\n transform: scale(1.03);\n}\n\n.won-card:hover{\n box-shadow: 0px 1px 53px 10px #9a3c3c;\n transform: scale(1.03);\n}\n\n\n/* .App {\n text-align: center;\n}\n\n.App-logo {\n height: 40vmin;\n pointer-events: none;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .App-logo {\n animation: App-logo-spin infinite 20s linear;\n }\n}\n\n.App-header {\n background-color: #282c34;\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n font-size: calc(10px + 2vmin);\n color: white;\n}\n\n.App-link {\n color: #61dafb;\n}\n\n@keyframes App-logo-spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n} */"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/build/static/js/453.8ab44547.chunk.js b/build/static/js/453.8ab44547.chunk.js new file mode 100644 index 0000000..5f97a8a --- /dev/null +++ b/build/static/js/453.8ab44547.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[453],{453:(e,t,n)=>{n.r(t),n.d(t,{getCLS:()=>y,getFCP:()=>g,getFID:()=>C,getLCP:()=>P,getTTFB:()=>D});var i,r,a,o,u=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},c=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if("first-input"===e&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return n.observe({type:e,buffered:!0}),n}}catch(e){}},f=function(e,t){var n=function n(i){"pagehide"!==i.type&&"hidden"!==document.visibilityState||(e(i),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},s=function(e){addEventListener("pageshow",(function(t){t.persisted&&e(t)}),!0)},m=function(e,t,n){var i;return function(r){t.value>=0&&(r||n)&&(t.delta=t.value-(i||0),(t.delta||void 0===i)&&(i=t.value,e(t)))}},v=-1,d=function(){return"hidden"===document.visibilityState?0:1/0},p=function(){f((function(e){var t=e.timeStamp;v=t}),!0)},l=function(){return v<0&&(v=d(),p(),s((function(){setTimeout((function(){v=d(),p()}),0)}))),{get firstHiddenTime(){return v}}},g=function(e,t){var n,i=l(),r=u("FCP"),a=function(e){"first-contentful-paint"===e.name&&(f&&f.disconnect(),e.startTime-1&&e(t)},r=u("CLS",0),a=0,o=[],v=function(e){if(!e.hadRecentInput){var t=o[0],i=o[o.length-1];a&&e.startTime-i.startTime<1e3&&e.startTime-t.startTime<5e3?(a+=e.value,o.push(e)):(a=e.value,o=[e]),a>r.value&&(r.value=a,r.entries=o,n())}},d=c("layout-shift",v);d&&(n=m(i,r,t),f((function(){d.takeRecords().map(v),n(!0)})),s((function(){a=0,T=-1,r=u("CLS",0),n=m(i,r,t)})))},E={passive:!0,capture:!0},w=new Date,L=function(e,t){i||(i=t,r=e,a=new Date,F(removeEventListener),S())},S=function(){if(r>=0&&r1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){L(e,t),r()},i=function(){r()},r=function(){removeEventListener("pointerup",n,E),removeEventListener("pointercancel",i,E)};addEventListener("pointerup",n,E),addEventListener("pointercancel",i,E)}(t,e):L(t,e)}},F=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,b,E)}))},C=function(e,t){var n,a=l(),v=u("FID"),d=function(e){e.startTimeperformance.now())return;n.entries=[t],e(n)}catch(e){}},"complete"===document.readyState?setTimeout(t,0):addEventListener("load",(function(){return setTimeout(t,0)}))}}}]); +//# sourceMappingURL=453.8ab44547.chunk.js.map \ No newline at end of file diff --git a/build/static/js/453.8ab44547.chunk.js.map b/build/static/js/453.8ab44547.chunk.js.map new file mode 100644 index 0000000..4a1328c --- /dev/null +++ b/build/static/js/453.8ab44547.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/453.8ab44547.chunk.js","mappings":"oLAAA,IAAIA,EAAEC,EAAEC,EAAEC,EAAEC,EAAE,SAASJ,EAAEC,GAAG,MAAM,CAACI,KAAKL,EAAEM,WAAM,IAASL,GAAG,EAAEA,EAAEM,MAAM,EAAEC,QAAQ,GAAGC,GAAG,MAAMC,OAAOC,KAAKC,MAAM,KAAKF,OAAOG,KAAKC,MAAM,cAAcD,KAAKE,UAAU,MAAM,EAAEC,EAAE,SAAShB,EAAEC,GAAG,IAAI,GAAGgB,oBAAoBC,oBAAoBC,SAASnB,GAAG,CAAC,GAAG,gBAAgBA,KAAK,2BAA2BoB,MAAM,OAAO,IAAIlB,EAAE,IAAIe,qBAAqB,SAASjB,GAAG,OAAOA,EAAEqB,aAAaC,IAAIrB,EAAE,IAAI,OAAOC,EAAEqB,QAAQ,CAACC,KAAKxB,EAAEyB,UAAS,IAAKvB,CAAC,CAAC,CAAC,MAAMF,GAAG,CAAC,EAAE0B,EAAE,SAAS1B,EAAEC,GAAG,IAAIC,EAAE,SAASA,EAAEC,GAAG,aAAaA,EAAEqB,MAAM,WAAWG,SAASC,kBAAkB5B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AC,EAAEsE,EAAE,SAASxE,GAAG,IAAIC,EAAEC,EAAEE,EAAE,QAAQH,EAAE,WAAW,IAAI,IAAIA,EAAE6C,YAAY2B,iBAAiB,cAAc,IAAI,WAAW,IAAIzE,EAAE8C,YAAY4B,OAAOzE,EAAE,CAAC6D,UAAU,aAAanB,UAAU,GAAG,IAAI,IAAIzC,KAAKF,EAAE,oBAAoBE,GAAG,WAAWA,IAAID,EAAEC,GAAGW,KAAK8D,IAAI3E,EAAEE,GAAGF,EAAE4E,gBAAgB,IAAI,OAAO3E,CAAC,CAAjL,GAAqL,GAAGC,EAAEI,MAAMJ,EAAEK,MAAMN,EAAE4E,cAAc3E,EAAEI,MAAM,GAAGJ,EAAEI,MAAMwC,YAAYlC,MAAM,OAAOV,EAAEM,QAAQ,CAACP,GAAGD,EAAEE,EAAE,CAAC,MAAMF,GAAG,CAAC,EAAE,aAAa2B,SAASmD,WAAWvC,WAAWtC,EAAE,GAAG6B,iBAAiB,QAAQ,WAAW,OAAOS,WAAWtC,EAAE,EAAE,GAAG,C","sources":["../node_modules/web-vitals/dist/web-vitals.js"],"sourcesContent":["var e,t,n,i,r=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:\"v2-\".concat(Date.now(),\"-\").concat(Math.floor(8999999999999*Math.random())+1e12)}},a=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if(\"first-input\"===e&&!(\"PerformanceEventTiming\"in self))return;var n=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return n.observe({type:e,buffered:!0}),n}}catch(e){}},o=function(e,t){var n=function n(i){\"pagehide\"!==i.type&&\"hidden\"!==document.visibilityState||(e(i),t&&(removeEventListener(\"visibilitychange\",n,!0),removeEventListener(\"pagehide\",n,!0)))};addEventListener(\"visibilitychange\",n,!0),addEventListener(\"pagehide\",n,!0)},u=function(e){addEventListener(\"pageshow\",(function(t){t.persisted&&e(t)}),!0)},c=function(e,t,n){var i;return function(r){t.value>=0&&(r||n)&&(t.delta=t.value-(i||0),(t.delta||void 0===i)&&(i=t.value,e(t)))}},f=-1,s=function(){return\"hidden\"===document.visibilityState?0:1/0},m=function(){o((function(e){var t=e.timeStamp;f=t}),!0)},v=function(){return f<0&&(f=s(),m(),u((function(){setTimeout((function(){f=s(),m()}),0)}))),{get firstHiddenTime(){return f}}},d=function(e,t){var n,i=v(),o=r(\"FCP\"),f=function(e){\"first-contentful-paint\"===e.name&&(m&&m.disconnect(),e.startTime-1&&e(t)},f=r(\"CLS\",0),s=0,m=[],v=function(e){if(!e.hadRecentInput){var t=m[0],i=m[m.length-1];s&&e.startTime-i.startTime<1e3&&e.startTime-t.startTime<5e3?(s+=e.value,m.push(e)):(s=e.value,m=[e]),s>f.value&&(f.value=s,f.entries=m,n())}},h=a(\"layout-shift\",v);h&&(n=c(i,f,t),o((function(){h.takeRecords().map(v),n(!0)})),u((function(){s=0,l=-1,f=r(\"CLS\",0),n=c(i,f,t)})))},T={passive:!0,capture:!0},y=new Date,g=function(i,r){e||(e=r,t=i,n=new Date,w(removeEventListener),E())},E=function(){if(t>=0&&t1e12?new Date:performance.now())-e.timeStamp;\"pointerdown\"==e.type?function(e,t){var n=function(){g(e,t),r()},i=function(){r()},r=function(){removeEventListener(\"pointerup\",n,T),removeEventListener(\"pointercancel\",i,T)};addEventListener(\"pointerup\",n,T),addEventListener(\"pointercancel\",i,T)}(t,e):g(t,e)}},w=function(e){[\"mousedown\",\"keydown\",\"touchstart\",\"pointerdown\"].forEach((function(t){return e(t,S,T)}))},L=function(n,f){var s,m=v(),d=r(\"FID\"),p=function(e){e.startTimeperformance.now())return;n.entries=[t],e(n)}catch(e){}},\"complete\"===document.readyState?setTimeout(t,0):addEventListener(\"load\",(function(){return setTimeout(t,0)}))};export{h as getCLS,d as getFCP,L as getFID,F as getLCP,P as getTTFB};\n"],"names":["e","t","n","i","r","name","value","delta","entries","id","concat","Date","now","Math","floor","random","a","PerformanceObserver","supportedEntryTypes","includes","self","getEntries","map","observe","type","buffered","o","document","visibilityState","removeEventListener","addEventListener","u","persisted","c","f","s","m","timeStamp","v","setTimeout","firstHiddenTime","d","disconnect","startTime","push","window","performance","getEntriesByName","requestAnimationFrame","p","l","h","hadRecentInput","length","takeRecords","T","passive","capture","y","g","w","E","entryType","target","cancelable","processingStart","forEach","S","L","b","F","once","P","getEntriesByType","timing","max","navigationStart","responseStart","readyState"],"sourceRoot":""} \ No newline at end of file diff --git a/build/static/js/main.bd8a5429.js b/build/static/js/main.bd8a5429.js new file mode 100644 index 0000000..2937e0b --- /dev/null +++ b/build/static/js/main.bd8a5429.js @@ -0,0 +1,3 @@ +/*! For license information please see main.bd8a5429.js.LICENSE.txt */ +(()=>{var e={730:(e,t,n)=>{"use strict";var r=n(43),a=n(853);function l(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n