10
10
content ="Digin Dominic's Portfolio website "
11
11
/>
12
12
< link rel ="apple-touch-icon " href ="%PUBLIC_URL%/android-chrome-192x192.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
- -->
17
13
< 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
- 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
14
< title > Digin Dominic</ title >
15
+ <!-- Start Single Page Apps for GitHub Pages -->
16
+ < script type ="text/javascript ">
17
+ // Single Page Apps for GitHub Pages
18
+ // MIT License
19
+ // https://github.com/rafgraph/spa-github-pages
20
+ // This script checks to see if a redirect is present in the query string,
21
+ // converts it back into the correct url and adds it to the
22
+ // browser's history using window.history.replaceState(...),
23
+ // which won't cause the browser to attempt to load the new url.
24
+ // When the single page app is loaded further down in this file,
25
+ // the correct url will be waiting in the browser's history for
26
+ // the single page app to route accordingly.
27
+ ( function ( l ) {
28
+ if ( l . search [ 1 ] === '/' ) {
29
+ var decoded = l . search . slice ( 1 ) . split ( '&' ) . map ( function ( s ) {
30
+ return s . replace ( / ~ a n d ~ / g, '&' )
31
+ } ) . join ( '?' ) ;
32
+ window . history . replaceState ( null , null ,
33
+ l . pathname . slice ( 0 , - 1 ) + decoded + l . hash
34
+ ) ;
35
+ }
36
+ } ( window . location ) )
37
+ </ script >
38
+ <!-- End Single Page Apps for GitHub Pages -->
39
+ <!-- Start Single Page Apps for GitHub Pages -->
40
+ < script type ="text/javascript ">
41
+ // Single Page Apps for GitHub Pages
42
+ // MIT License
43
+ // https://github.com/rafgraph/spa-github-pages
44
+ // This script checks to see if a redirect is present in the query string,
45
+ // converts it back into the correct url and adds it to the
46
+ // browser's history using window.history.replaceState(...),
47
+ // which won't cause the browser to attempt to load the new url.
48
+ // When the single page app is loaded further down in this file,
49
+ // the correct url will be waiting in the browser's history for
50
+ // the single page app to route accordingly.
51
+ ( function ( l ) {
52
+ if ( l . search [ 1 ] === '/' ) {
53
+ var decoded = l . search . slice ( 1 ) . split ( '&' ) . map ( function ( s ) {
54
+ return s . replace ( / ~ a n d ~ / g, '&' )
55
+ } ) . join ( '?' ) ;
56
+ window . history . replaceState ( null , null ,
57
+ l . pathname . slice ( 0 , - 1 ) + decoded + l . hash
58
+ ) ;
59
+ }
60
+ } ( window . location ) )
61
+ </ script >
62
+ <!-- End Single Page Apps for GitHub Pages -->
28
63
</ head >
29
64
< body >
30
65
< noscript > You need to enable JavaScript to run this app.</ noscript >
31
66
< 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
- -->
42
67
</ body >
43
- </ html >
68
+ </ html >
0 commit comments