8000 Updated public/index.html · Note45/github-search-js@be0acb8 · GitHub
[go: up one dir, main page]

Skip to content

Commit be0acb8

Browse files
committed
Updated public/index.html
1 parent ca00a1d commit be0acb8

File tree

2 files changed

+2
-26
lines changed

2 files changed

+2
-26
lines changed

github-search-app/public/index.html

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,10 @@
1010
content="Web site created using create-react-app"
1111
/>
1212
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13-
<!--
14-
manifest.json provides metadata used when your web app is installed on a
15-
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16-
-->
1713
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18-
<!--
19-
Notice the use of %PUBLIC_URL% in the tags above.
20-
It will be replaced with the URL of the `public` folder during the build.
21-
Only files inside the `public` folder can be referenced from the HTML.
22-
23-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24< 8000 /code>-
work correctly both with client-side routing and a non-root public URL.
25-
Learn how to configure a non-root public URL by running `npm run build`.
26-
-->
27-
<title>React App</title>
14+
<title>Github Search JS</title>
2815
</head>
2916
<body>
30-
<noscript>You need to enable JavaScript to run this app.</noscript>
3117
<div id="root"></div>
32-
<!--
33-
This HTML file is a template.
34-
If you open it directly in the browser, you will see an empty page.
35-
36-
You can add webfonts, meta tags, or analytics to this file.
37-
The build step will place the bundled scripts into the <body> tag.
38-
39-
To begin the development, run `npm start` or `yarn start`.
40-
To create a production bundle, use `npm run build` or `yarn build`.
41-
-->
4218
</body>
4319
</html>

github-search-app/src/pages/main/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default class Main extends Component {
3030
containerName.setAttribute('id', 'containerName');
3131

3232
let buttonElement = document.createElement('button');
33-
buttonElement.setAttribute('id', 'buttonElement');
33+
buttonElement.setAttribute("id", "buttonElement");
3434
buttonElement.setAttribute('onclick', `${window.open(html_url, '_blank')}`);
3535
let textElement = document.createTextNode('Acessar');
3636
buttonElement.appendChild(textElement);

0 commit comments

Comments
 (0)
0