Skip to content

Commit

Permalink
github transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
wkxdavid committed Nov 4, 2023
1 parent 9c67367 commit 7d7b9a3
Show file tree
Hide file tree
Showing 176 changed files with 48,539 additions and 2 deletions.
1 change: 1 addition & 0 deletions .firebase/hosting.YnVpbGQ.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
index.html,1678430381833,29555a9254a61b2f8a54fe1e1ca94efcac79b99a1e81e7cc94e3aa21aa2b441b
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "info340-wkxdavid-pokedex"
}
}
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# ignore node dependency files
node_modules

# ignore OS generated files
.DS_Store
Thumbs.db
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Pokedex
INFO 340 Group Pokedex Project
# INFO 340 Project

This repository contains code for an interactive information web app, created for the _Client-Side Web Development_ course at the UW iSchool. Currently, the code repository contains the .html and .css files for our project proposal for **PokeShop** and is hosted at https://info340-wkxdavid-pokedex.web.app/.
89 changes: 89 additions & 0 deletions build/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Welcome to Firebase Hosting</title>

<!-- update the version number as needed -->
<script defer src="/__/firebase/9.17.2/firebase-app-compat.js"></script>
<!-- include only the Firebase features as you need -->
<script defer src="/__/firebase/9.17.2/firebase-auth-compat.js"></script>
<script defer src="/__/firebase/9.17.2/firebase-database-compat.js"></script>
<script defer src="/__/firebase/9.17.2/firebase-firestore-compat.js"></script>
<script defer src="/__/firebase/9.17.2/firebase-functions-compat.js"></script>
<script defer src="/__/firebase/9.17.2/firebase-messaging-compat.js"></script>
<script defer src="/__/firebase/9.17.2/firebase-storage-compat.js"></script>
<script defer src="/__/firebase/9.17.2/firebase-analytics-compat.js"></script>
<script defer src="/__/firebase/9.17.2/firebase-remote-config-compat.js"></script>
<script defer src="/__/firebase/9.17.2/firebase-performance-compat.js"></script>
<!--
initialize the SDK after all desired features are loaded, set useEmulator to false
to avoid connecting the SDK to running emulators.
-->
<script defer src="/__/firebase/init.js?useEmulator=true"></script>

<style media="screen">
body { background: #ECEFF1; color: rgba(0,0,0,0.87); font-family: Roboto, Helvetica, Arial, sans-serif; margin: 0; padding: 0; }
#message { background: white; max-width: 360px; margin: 100px auto 16px; padding: 32px 24px; border-radius: 3px; }
#message h2 { color: #ffa100; font-weight: bold; font-size: 16px; margin: 0 0 8px; }
#message h1 { font-size: 22px; font-weight: 300; color: rgba(0,0,0,0.6); margin: 0 0 16px;}
#message p { line-height: 140%; margin: 16px 0 24px; font-size: 14px; }
#message a { display: block; text-align: center; background: #039be5; text-transform: uppercase; text-decoration: none; color: white; padding: 16px; border-radius: 4px; }
#message, #message a { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); }
#load { color: rgba(0,0,0,0.4); text-align: center; font-size: 13px; }
@media (max-width: 600px) {
body, #message { margin-top: 0; background: white; box-shadow: none; }
body { border-top: 16px solid #ffa100; }
}
</style>
</head>
<body>
<div id="message">
<h2>Welcome</h2>
<h1>Firebase Hosting Setup Complete</h1>
<p>You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!</p>
<a target="_blank" href="https://firebase.google.com/docs/hosting/">Open Hosting Documentation</a>
</div>
<p id="load">Firebase SDK Loading&hellip;</p>

<script>
document.addEventListener('DOMContentLoaded', function() {
const loadEl = document.querySelector('#load');
// // 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
// // The Firebase SDK is initialized and available here!
//
// firebase.auth().onAuthStateChanged(user => { });
// firebase.database().ref('/path/to/ref').on('value', snapshot => { });
// firebase.firestore().doc('/foo/bar').get().then(() => { });
// firebase.functions().httpsCallable('yourFunction')().then(() => { });
// firebase.messaging().requestPermission().then(() => { });
// firebase.storage().ref('/path/to/ref').getDownloadURL().then(() => { });
// firebase.analytics(); // call to activate
// firebase.analytics().logEvent('tutorial_completed');
// firebase.performance(); // call to activate
//
// // 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥

try {
let app = firebase.app();
let features = [
'auth',
'database',
'firestore',
'functions',
'messaging',
'storage',
'analytics',
'remoteConfig',
'performance',
].filter(feature => typeof app[feature] === 'function');
loadEl.textContent = `Firebase SDK loaded with ${features.join(', ')}`;
} catch (e) {
console.error(e);
loadEl.textContent = 'Error loading the Firebase SDK, check the console.';
}
});
</script>
</body>
</html>
81 changes: 81 additions & 0 deletions custom-pokedex/.firebase/hosting.YnVpbGQ.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
img/0001.png,1678765934783,24d4e62308dbbe00429592309931530e309f70da8c011ba0eab5cef8beae3518
img/back-arrow-icon.jpg,1678765934812,517ebc82be6d11322a4ee7f6ba00ec0868076494fced10844884e6c507b51431
img/background.gif,1678765934828,4bdd94060deba5538fabd4fa663d9f8d2347d5184bde24967a1a4f9921d271ae
img/bug.png,1678765934829,87cfa2d109d790121fad2212bf21625f85116bb844d2e5d2b1131fa742410250
img/closer.png,1678765934829,e65e70d6d1f96b92db328fcf9c5e24a5aa9233b449c786611d2864f379c5c15d
img/dark.png,1678765934830,254bbc247476a1650229c3080f43efb540c3089f89f720827da34a25a0041eb8
img/dedsu40-c80a23d1-3179-4a89-8f1f-a1599b806335.png,1678765934831,b6c109b5ed34836ecb787f53e6f900fc6c61dd5abc30d9d5ed494ea5a0da8faf
img/down.png,1678765934832,06e1250ffe10525ad51155a8105fa84dd86281f4d2dfebc1f17158e6b9f438f6
img/dragon.png,1678765934832,a166b6ab405cc1b7afdf4a464a5cd7d0ca8a7f06b0dbf8ffaa24f5c7b4a6fadd
img/electric.png,1678765934833,d11296d7eccc80dfb5b0eb97fafdadea59d1720c2c7a4f38e613c2ad62cb7e53
img/fairy.png,1678765934834,594c735830809276069a48da483138f5c74c6ff95fdaa030406245ab0be7ae32
img/fighting.png,1678765934834,c9af17fd43f8b1a128e4e2e9a23bc2dda0cb341663efbe4580eeb125ad2b1eb7
img/filter.png,1678765934835,d3204bb8b8307f62599ec5fe03926db140315f3af0fab21fdb88d71462e143e3
img/fire.png,1678765934835,fb0cee0ee9f6bba14e56eeb471b60aae93e55536898491755d1e57d05ab4cc7f
img/flying.png,1678765934836,4dc4438d05e80e595932489678d7a381aa3f493fb2e5611134d6854a3af75777
img/game.png,1678765934836,74f3ba2bc12476bcc8f8f2c8f3b90987dece25ef0ef7a2347c2a7f4ec88213ec
img/ghost.png,1678765934837,a4cea3a59dd220693cc0a1432784dbec26260f1388c5ba47c56d2997d04c1663
img/grass.png,1678765934838,bea3b607543cdea164f4a58690551d7435db4c28da5edf13dcec040484d91adc
img/ground.png,1678765934838,55e27c3a797c1f6392ccb7eeb529fa274a98567ed97dcb5886031b0f6d0b4e7a
img/ice.png,1678765934839,4c70bc912d94a794e1897ef44f329e1f657a5ff40155bd5c7e76f1367fc84a0c
img/icon.png,1678765934839,fb68ba57443985a3c8e8e653a823c0578ad6e0b29f7d960f01d71aba78ad7343
img/left-arrow.png,1678765934840,0ba2e61aab6df2a33841c51d583fa14320b9da0ea61c905260cd8c94454ec2df
img/loading.gif,1678765934840,ed2f5a6b7bdb3074c9ca5dedf61e0d913e3d95ca4ebe677f371817394eec3e94
img/loading.png,1678765934841,4bd61b2caae99e649112cfc3530f3fced3c5b1f2b8e4360eea1e63f44a3aafca
img/menu.png,1678765934842,f65ce486ea4d21cc575c732fe8300a84145b2f7790daf3ba0e7f4fbff5652fef
img/normal.png,1678765934842,2c6916153fa188dc060527c7de98ade98ce6e772cd09efa0933637a397aafbe5
img/poison.png,1678765934843,749915ae84934cf3a44149d196f8bbda4efea3feb3bb034a52ba9d5a5177e170
img/pokedex-icon.png,1678765934843,058fb4684a16d952d19571004e2b185fb00ec074272ae17b3e2e6da3300a56ef
img/Pokedex-Nav-Icon.png,1678765934783,356a65e939df96f2dc7741a6824a874d24730fa6ca64e4859ae9efb9221d43bf
img/pokedex.jpg,1678765934848,de52f1366a183ddb0dfad4aa8f50e8691bf4ae3937221d15ebc7afb8baf4fc74
img/pokemon.png,1678765934848,8b1b613a0f02f0b2871688102cd2a8719b934dee95e62204cb7fef8683346a8b
img/psychic.png,1678765934849,c60cd6bd7d2971b050abf3313ea5ac9990f462c745ab8876dbecb5343a164501
img/quiz.png,1678765934850,7b84ef6bae6cef3c7c163319145bc16b6adbcdf4e783ed837b1b0cfaa99fee46
img/right-arrow.png,1678765934850,d9bc5c0f2de94d8755be9ec7da5d52d3858dc4cb9e092d0745bd2a7a7b74dd03
img/rock.png,1678765934851,cbc5eebdda9c0af55a04f8110fa08b98f5329a786fd0e95cc896e3191246fb03
img/search.png,1678765934851,6782509df925e6a9413ca9c760b0c19753fc2970cc4ae8b06779e57ac3f7369d
img/shop-coin.png,1678765934852,32ca55628bcfbf7f02fb5c5d333a796068215a145996bcfde9e3be2ec7918e68
img/shop.png,1678765934853,dc32f1e3486ea506f23e0f30dd37d2e509769516579e57a5a4277a20b1f1489c
img/sml-bug.png,1678765934853,c714cc523d2ab93ec19de4d1b7ce6e90c73ed2b7e8b31299fee2778fc680282a
img/sml-dark.png,1678765934854,3e2af29626dd09ee3ce7aa5d50f3a69243311367d5505171ad0336a7eb3facac
img/sml-dragon.png,1678765934854,1ccb35dc5f37ee345307bc4f1e4d789a37085ccf067f61d33ca6f2791fe0009f
img/sml-electric.png,1678765934855,b08ea2d0772fcfca94bbdecc99f1fcb9b87f40850ac1b7203d00de6fa9fda76b
img/sml-fairy.png,1678765934855,bd32f1a4484d22c9287a0732ea6a4a73f74ef95cc97256fd4fb0f8cff034b144
img/sml-fighting.png,1678765934856,c2737927cf8d88f4f860599cc720db97f4ff9ba030b79c52d2a9aeaf40a65918
img/sml-fire.png,1678765934857,cab72ae798ebc803eb4a4c2475f6f1709894bda352d66045d93436cc0414cecb
img/sml-flying.png,1678765934858,a200bb31353c542df3df023122488753a281f930865a6879de578ba31cd46002
img/sml-ghost.png,1678765934858,a9cab892cc4804e632c3550ed718ae9eca8b1b4814dd89539a9d2f2ecbb9f245
img/sml-grass.png,1678765934859,205e1afb74e24f8a8d37bce6cee84d46b08b12c6c203b898a9f6ee53940df394
img/sml-ground.png,1678765934860,3f9e602104f390472450ab14cf3eb17174e987bf236e53eda86a2c68ccdc4d47
img/sml-ice.png,1678765934860,32836234a2fefbea837e9cb63193609dc535cbdfa01361c3f8a053f460abce80
img/sml-normal.png,1678765934861,0e08a3c9c404bcbd86b6731c08f9a5983944f7b5338d13539dbe7c5c8dfbd074
img/sml-poison.png,1678765934861,f570cd46cd35570daefaf16055b870b5e5a2953f39d64641beb431eb3ee525be
img/sml-psychic.png,1678765934862,e041d2dcd81d9422560709af2532873f9fe30fd69ac14a1a7a86ce1d9a9850b1
img/sml-rock.png,1678765934862,60419d00091da7fc5a5bbce253bfe3ea77e2b9c464283097e1abdb1386c8966f
img/sml-steel.png,1678765934863,27095e3f9d3d515e859f21fe98f8442fb051fbbc5f2b61d581f6dbd628936785
img/sml-water.png,1678765934863,7f7564dfed93c8a0a34d739f6ad92e14e36105e8146730f0a3b4054612444cd8
img/stat-bar.png,1678765934864,f01fe2b57d2b6c77dfbac75f01da3f6a1978c337076a6541a58c8cd6e6cf2646
img/stats-favicon.png,1678765934865,f6e893753ca23b9a3ff07d096cc1e55690e4b201971fc99616f931fcf4170d33
img/steel.png,1678765934865,8edd7addbf32eb254ef51cf7fc2afe483ca44020204e5533b3088f85ebfe2fad
img/surprise.png,1678765934866,ddb4dae241e0a2f8efbc449d0a292238ee81257891d36e0d8cac998b7f021d13
img/up.png,1678765934866,dc45c607c94f16e76c1c693184b6833ec35845a32e1f7e8c435c258144b8f417
img/water.png,1678765934867,981fab8ef2a6553a7a054954d610174160bda407c900b08cb54b786dad09f024
img/Yveltal-Wallpaper.png,1678765934811,6ddbb8f93f2ceb2598b5e24018b7f904c5ad4b203a41b1cd115132623010c88d
asset-manifest.json,1678776928732,5bd2cd4ff35341f6a48ae98f39406b1050b46433511f65d460416637a0ac03a7
index.html,1678776928670,2660dbc6c8363e00136145019c90e431a127a4135a414e545d21be8053f9c835
static/js/main.02554934.js.LICENSE.txt,1678776928683,6aa5f03467c4050bcebfd111ac1575550aa8e202e3566f180ee3488e6b0253c4
static/media/dark.6423be493010291fb752.png,1678776928681,254bbc247476a1650229c3080f43efb540c3089f89f720827da34a25a0041eb8
static/media/dragon.718a2b7254e88634c822.png,1678776928680,a166b6ab405cc1b7afdf4a464a5cd7d0ca8a7f06b0dbf8ffaa24f5c7b4a6fadd
static/media/ghost.884c62b0de9d27eca622.png,1678776928680,a4cea3a59dd220693cc0a1432784dbec26260f1388c5ba47c56d2997d04c1663
static/media/normal.99d0d75e383225f63b92.png,1678776928680,2c6916153fa188dc060527c7de98ade98ce6e772cd09efa0933637a397aafbe5
static/media/grass.02210df9194514323259.png,1678776928681,bea3b607543cdea164f4a58690551d7435db4c28da5edf13dcec040484d91adc
static/media/ground.95fcd73c8767906187f9.png,1678776928680,55e27c3a797c1f6392ccb7eeb529fa274a98567ed97dcb5886031b0f6d0b4e7a
static/media/psychic.7473ae0f18448680bf6a.png,1678776928681,c60cd6bd7d2971b050abf3313ea5ac9990f462c745ab8876dbecb5343a164501
static/media/poison.c3cdec8047086230b574.png,1678776928680,749915ae84934cf3a44149d196f8bbda4efea3feb3bb034a52ba9d5a5177e170
static/media/rock.1dae84aed43046907065.png,1678776928681,cbc5eebdda9c0af55a04f8110fa08b98f5329a786fd0e95cc896e3191246fb03
pokemon.json,1678776884574,7f4d5598498e0a8762dbdb93b574489c5171f1c19235be7503137d48fa7ab8af
static/css/main.47ab0cad.css,1678776928682,7e087a437f9abc9b69f06a0954d9f104311ed1e961c3864050b626453664b01d
static/css/main.47ab0cad.css.map,1678776928683,33e0ed6dd16fa641bdc6d9cb11c0b432fc92bae5d275ac467186cefab1260b94
static/media/background.3da0e32eed057296a833.gif,1678776928682,4bdd94060deba5538fabd4fa663d9f8d2347d5184bde24967a1a4f9921d271ae
static/js/main.02554934.js,1678776928682,bd4abb658954659b81a353c5c12abc7ca461b266dbeb9425fdcf1df69441c5ea
static/js/main.02554934.js.map,1678776928734,26ca0935efb1c707f4706aa478bcd99d6ebeb5e4e2b06fdab0758d7cb6f21d23
5 changes: 5 additions & 0 deletions custom-pokedex/.firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "info340-wkxdavid-pokedex"
}
}
23 changes: 23 additions & 0 deletions custom-pokedex/.gitignore
Original file line number Diff line number Diff line change
@@ -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*
70 changes: 70 additions & 0 deletions custom-pokedex/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `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.

### `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)
16 changes: 16 additions & 0 deletions custom-pokedex/firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
Loading

0 comments on commit 7d7b9a3

Please sign in to comment.