Remove favicon and update title
parent
5b8e7c83a8
commit
d1eb1a6e6f
|
@ -2,14 +2,12 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Web site created using create-react-app"
|
||||
/>
|
||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
||||
<!--
|
||||
manifest.json provides metadata used when your web app is installed on a
|
||||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
||||
|
@ -24,7 +22,7 @@
|
|||
work correctly both with client-side routing and a non-root public URL.
|
||||
Learn how to configure a non-root public URL by running `npm run build`.
|
||||
-->
|
||||
<title>React App</title>
|
||||
<title>FPB Search</title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"short_name": "React App",
|
||||
"name": "Create React App Sample",
|
||||
"short_name": "FPB Search",
|
||||
"name": "Free Programming Books Search",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon.ico",
|
||||
|
|
|
@ -5,7 +5,7 @@ import SearchResult from "./components/SearchResult";
|
|||
import axios from "axios";
|
||||
import Fuse from "fuse.js";
|
||||
|
||||
const fpb = require("./fpb.json"); //local copy of json becuase online currently can't be accessed
|
||||
const fpb = null;
|
||||
|
||||
// eslint-disable-next-line
|
||||
function makeBook(author, hLang, cLang, title, url) {
|
||||
|
@ -27,7 +27,8 @@ function forEachBook(func, json) {
|
|||
throw "ERROR in forEachBook: parameter not a fucntion";
|
||||
}
|
||||
|
||||
for (const hLang in json) { //for each human language
|
||||
for (const hLang in json) {
|
||||
//for each human language
|
||||
if (Array.isArray(hLang.sections)) {
|
||||
//check if sections is an array
|
||||
hLang.sections.forEach(
|
||||
|
|
Loading…
Reference in New Issue