Skip to content

Commit 6a9c38f

Browse files
cleaning up react test site and getting secure signals timing to work
1 parent cc5f2f3 commit 6a9c38f

File tree

13 files changed

+423
-641
lines changed

13 files changed

+423
-641
lines changed
1.93 KB
Loading

examples/google-secure-signals-integration/react_client_side/public/index.html

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,23 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
5+
<link rel="shortcut icon" href="images/favicon.png" />
66
<meta name="viewport" content="width=device-width, initial-scale=1" />
77
<meta name="theme-color" content="#000000" />
88
<meta name="description" content="Web site created using create-react-app" />
9-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
10-
<!--
11-
manifest.json provides metadata used when your web app is installed on a
12-
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
13-
-->
9+
<head>
10+
<script src="https://cdn.integ.uidapi.com/uid2-sdk-3.9.0.js"></script>
11+
<script
12+
type="text/javascript"
13+
src="https://imasdk.googleapis.com/js/sdkloader/ima3.js"
14+
></script>
15+
</head>
1416
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
15-
<!--
16-
Notice the use of %PUBLIC_URL% in the tags above.
17-
It will be replaced with the URL of the `public` folder during the build.
18-
Only files inside the `public` folder can be referenced from the HTML.
1917

20-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
21-
work correctly both with client-side routing and a non-root public URL.
22-
Learn how to configure a non-root public URL by running `npm run build`.
23-
-->
2418
<title>UID2 Publisher Client-Server React Integration Example</title>
2519
</head>
2620
<body>
2721
<noscript>You need to enable JavaScript to run this app.</noscript>
2822
<div id="root"></div>
29-
<!--
30-
This HTML file is a template.
31-
If you open it directly in the browser, you will see an empty page.
32-
33-
You can add webfonts, meta tags, or analytics to this file.
34-
The build step will place the bundled scripts into the <body> tag.
35-
36-
To begin the development, run `npm start` or `yarn start`.
37-
To create a production bundle, use `npm run build` or `yarn build`.
38-
-->
3923
</body>
4024
</html>

examples/google-secure-signals-integration/react_client_side/public/manifest.json

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
{
22
"short_name": "React App",
33
"name": "Create React App Sample",
4-
"icons": [
5-
{
6-
"src": "favicon.ico",
7-
"sizes": "64x64 32x32 24x24 16x16",
8-
"type": "image/x-icon"
9-
},
10-
{
11-
"src": "logo192.png",
12-
"type": "image/png",
13-
"sizes": "192x192"
14-
},
15-
{
16-
"src": "logo512.png",
17-
"type": "image/png",
18-
"sizes": "512x512"
19-
}
20-
],
214
"start_url": ".",
225
"display": "standalone",
236
"theme_color": "#000000",

examples/google-secure-signals-integration/react_client_side/src/scripts/ads.js renamed to examples/google-secure-signals-integration/react_client_side/public/scripts/ads.js

File renamed without changes.

examples/google-secure-signals-integration/react_client_side/src/App.css

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)