-
Notifications
You must be signed in to change notification settings - Fork 9
Migrate from Angular 9 to React 18 + TypeScript + Vite #243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| <!doctype html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>React HN</title> | ||
|
|
||
| <meta name="description" content="A Hacker News client built with React, TypeScript, and Vite"/> | ||
|
|
||
| <meta name="twitter:card" content="summary"> | ||
| <meta name="twitter:title" content="React HN"> | ||
| <meta name="twitter:description" content="A Hacker News client built with React, TypeScript, and Vite"> | ||
| <meta name="twitter:image" content="/assets/images/logo.svg"> | ||
|
|
||
| <meta property="og:title" content="React HN"/> | ||
| <meta property="og:type" content="website"/> | ||
| <meta property="og:image" content="/assets/images/logo.svg"/> | ||
| <meta property="og:description" content="A Hacker News client built with React, TypeScript, and Vite"/> | ||
| <meta property="og:site_name" content="React HN"/> | ||
|
|
||
| <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
|
||
| <meta name="theme-color" content="#b92b27"> | ||
|
|
||
| <meta name="msapplication-TileColor" content="#b92b27"> | ||
| <meta name="msapplication-TileImage" content="/assets/icons/mstile-150x150.png"> | ||
| <meta name="msapplication-config" content="/assets/icons/browserconfig.xml"> | ||
|
|
||
| <meta name="apple-mobile-web-app-capable" content="yes"> | ||
| <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
|
|
||
| <link rel="mask-icon" href="/assets/icons/safari-pinned-tab.svg" color="#b92b27"> | ||
|
|
||
| <link rel="icon" type="image/x-icon" href="/favicon.ico"> | ||
| <link rel="icon" type="image/png" href="/assets/icons/favicon-32x32.png" sizes="32x32"> | ||
| <link rel="icon" type="image/png" href="/assets/icons/favicon-16x16.png" sizes="16x16"> | ||
|
|
||
| <link rel="apple-touch-icon" sizes="180x180" href="/assets/icons/apple-touch-icon.png"> | ||
| <link rel="apple-touch-icon" sizes="120x120" href="/assets/icons/apple-touch-icon-120x120.png"> | ||
| <link rel="apple-touch-icon" sizes="152x152" href="/assets/icons/apple-touch-icon-152x152.png"> | ||
| <link rel="apple-touch-icon" sizes="180x180" href="/assets/icons/apple-touch-icon-180x180.png"> | ||
|
|
||
| <style> | ||
| #skip a { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; } | ||
| #skip a:focus { position: static; width: auto; height: auto; } | ||
| </style> | ||
| </head> | ||
| <body> | ||
| <div id="skip"><a href="#content">skip to navigation</a></div> | ||
| <div id="root"></div> | ||
|
|
||
| <noscript> | ||
| <h4 style="font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;"> | ||
| Sorry, JavaScript needs to be enabled in order to run this application. | ||
| </h4> | ||
| </noscript> | ||
|
|
||
| <script> | ||
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
| })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | ||
|
|
||
| ga('create', 'UA-66348622-3', 'auto'); | ||
| </script> | ||
|
|
||
| <script type="module" src="/src/main.tsx"></script> | ||
| </body> | ||
| </html> | ||
Uh oh!
There was an error while loading. Please reload this page.