Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build/cors
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*
Binary file added client/build/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions client/build/CORS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://api.yelp.com
17 changes: 17 additions & 0 deletions client/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"main.css": "/static/css/main.05f84c33.css",
"main.js": "/static/js/main.7cfa9d7d.js",
"static/css/1.3e300833.chunk.css": "/static/css/1.3e300833.chunk.css",
"static/js/1.9d8792cd.chunk.js": "/static/js/1.9d8792cd.chunk.js",
"static/css/2.3e300833.chunk.css": "/static/css/2.3e300833.chunk.css",
"static/js/2.30ad2cf6.chunk.js": "/static/js/2.30ad2cf6.chunk.js",
"static/css/3.998d6f3c.chunk.css": "/static/css/3.998d6f3c.chunk.css",
"static/js/3.ba687a6a.chunk.js": "/static/js/3.ba687a6a.chunk.js",
"static/css/4.6d26fcfa.chunk.css": "/static/css/4.6d26fcfa.chunk.css",
"static/js/4.e0fea478.chunk.js": "/static/js/4.e0fea478.chunk.js",
"static/css/5.697be1f3.chunk.css": "/static/css/5.697be1f3.chunk.css",
"static/js/5.8c9872ef.chunk.js": "/static/js/5.8c9872ef.chunk.js",
"index.html": "/index.html",
"precache-manifest.2a96820a197ad4c1968dbf2c0cf5e770.js": "/precache-manifest.2a96820a197ad4c1968dbf2c0cf5e770.js",
"service-worker.js": "/service-worker.js"
}
Binary file added client/build/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions client/build/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="theme-color" content="#000000"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA==" crossorigin="anonymous"/><link rel="manifest" href="/manifest.json"/><title>BiteChoice</title><link href="/static/css/main.05f84c33.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/static/js/main.7cfa9d7d.js"></script></body></html>
15 changes: 15 additions & 0 deletions client/build/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
54 changes: 54 additions & 0 deletions client/build/precache-manifest.2a96820a197ad4c1968dbf2c0cf5e770.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
self.__precacheManifest = [
{
"revision": "d6d95ceb44faa8915c30",
"url": "/static/css/main.05f84c33.css"
},
{
"revision": "d6d95ceb44faa8915c30",
"url": "/static/js/main.7cfa9d7d.js"
},
{
"revision": "a5a60f7e3174a322aaf4",
"url": "/static/css/1.3e300833.chunk.css"
},
{
"revision": "a5a60f7e3174a322aaf4",
"url": "/static/js/1.9d8792cd.chunk.js"
},
{
"revision": "71d98610fe631ae6c54a",
"url": "/static/css/2.3e300833.chunk.css"
},
{
"revision": "71d98610fe631ae6c54a",
"url": "/static/js/2.30ad2cf6.chunk.js"
},
{
"revision": "70255fae209f91c47274",
"url": "/static/css/3.998d6f3c.chunk.css"
},
{
"revision": "70255fae209f91c47274",
"url": "/static/js/3.ba687a6a.chunk.js"
},
{
"revision": "ed91093dcf566ae6672f",
"url": "/static/css/4.6d26fcfa.chunk.css"
},
{
"revision": "ed91093dcf566ae6672f",
"url": "/static/js/4.e0fea478.chunk.js"
},
{
"revision": "ea6f9a3a851828ff2877",
"url": "/static/css/5.697be1f3.chunk.css"
},
{
"revision": "ea6f9a3a851828ff2877",
"url": "/static/js/5.8c9872ef.chunk.js"
},
{
"revision": "ebd67aaedfb109926909614a2f45528e",
"url": "/index.html"
}
];
34 changes: 34 additions & 0 deletions client/build/service-worker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Workbox build configuration
* and re-run your build process.
* See https://goo.gl/2aRDsh
*/

importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");

importScripts(
"/precache-manifest.2a96820a197ad4c1968dbf2c0cf5e770.js"
);

workbox.clientsClaim();

/**
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
* requests for URLs in the manifest.
* See https://goo.gl/S9QRab
*/
self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.suppressWarnings();
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});

workbox.routing.registerNavigationRoute("/index.html", {

blacklist: [/^\/_/,/\/[^/]+\.[^/]+$/],
});
203 changes: 203 additions & 0 deletions client/build/static/css/1.3e300833.chunk.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
/* Results */
.resultView {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}

.resultView__watermark {
position: fixed;
bottom: 0;
width: 100%;
height: 3rem;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 15px;
}

.resultView__watermark a {
color: black;
opacity: 0.2;
text-decoration: none;
}

/* Result Header */
.resultHeader {
height: 5rem;
background: #f8f8f8;
width: 100%;
display: flex;
align-items: center;
font-size: 1.3rem;
padding-left: 1rem;
-webkit-animation: fadeInTop 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
animation: fadeInTop 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.resultHeader--custom {
flex-direction: column;
padding-left: 0;
justify-content: space-between;
height: 11rem;
}

.resultHeader--custom i {
position: fixed;
left: 0;
top: 0;
padding: 1.75rem 1rem;
}

.resultHeader--custom__searchTerms {
display: flex;
}

.resultHeader--custom__searchTerms__searchItem {
background: #dadada;
font-weight: 500;
height: 1.6rem;
display: flex;
align-items: center;
border-radius: 0.8rem;
padding: 0 0.7rem;
font-size: 0.9rem;
margin: 0 0.3rem;
}

.resultHeader--custom__sortDisplay {
display: flex;
font-weight: 600;
font-size: 1rem;
margin-bottom: 1rem;
}

.resultHeader--custom__sortDisplay p:last-of-type {
color: #ffaa15;
font-weight: 700;
margin-left: 0.3rem;
}

.resultHeader__title {
position: fixed;
width: 9rem;
text-align: center;
left: 50%;
transform: translate(-50%, 0);
color: #ffaa15;
font-size: 1.1rem;
}

.resultHeader--custom .resultHeader__title {
position: static;
transform: none;
margin-top: 1rem;
}

.resultHeader__title h4 {
color: #333333;
font-size: 1rem;
}

.resultHeader i {
font-size: 1.3rem;
color: #333333;
}

/* Result List */
.resultList {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.resultList__fetching {
display: flex;
flex-direction: column;
align-items: center;
font-size: 6rem;
opacity: 0.1;
}

.resultList__fetching h1 {
font-size: 1.5rem;
margin-top: 2rem;
}
/* List Item */
.listItem {
width: 260px;
height: 23%;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
justify-content: space-evenly;
border-radius: 14px;
background: #FFCA58;
padding: 0 0.4rem;
box-shadow: 0 2px 5px 0px rgba(0, 0, 0, 0.15);
-webkit-animation: fade-in-bck 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
animation: fade-in-bck 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
margin-top: 0.6rem;
margin-bottom: 0.6rem;
}

.listItem > div:first-of-type > p:first-of-type {
font-weight: 700;
color: #333333;
font-size: 0.8rem;
}

.listItem > div:first-of-type > p:last-of-type {
font-size: 0.73rem;
}

.listItem__btnRow {
display: flex;
}

.listItem__btn {
background: #FFAA15;
color: #333333;
height: 1.5rem;
border-radius: 0.9rem;
display: flex;
align-items: center;
justify-content: center;
width: 3.5rem;
font-weight: 600;
font-size: 0.75rem;
}

.listItem__btnRow a {
margin-right: 0.8rem;
text-decoration: none;
background: #6e6e6e4d;
}

@-webkit-keyframes fade-in-bck {
0% {
transform: translateZ(80px);
opacity: 0;
}
100% {
transform: translateZ(0);
opacity: 1;
}
}
@keyframes fade-in-bck {
0% {
transform: translateZ(80px);
opacity: 0;
}
100% {
transform: translateZ(0);
opacity: 1;
}
}

Loading