Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs', 'vite.config.ts'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
};
6 changes: 0 additions & 6 deletions .firebaserc

This file was deleted.

23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

134 changes: 0 additions & 134 deletions angular.json

This file was deleted.

12 changes: 0 additions & 12 deletions browserslist

This file was deleted.

6 changes: 0 additions & 6 deletions database.rules.json

This file was deleted.

32 changes: 0 additions & 32 deletions e2e/protractor.conf.js

This file was deleted.

23 changes: 0 additions & 23 deletions e2e/src/app.e2e-spec.ts

This file was deleted.

11 changes: 0 additions & 11 deletions e2e/src/app.po.ts

This file was deleted.

13 changes: 0 additions & 13 deletions e2e/tsconfig.json

This file was deleted.

14 changes: 0 additions & 14 deletions firebase.json

This file was deleted.

67 changes: 67 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<!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, Vite and React Query" />

<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, Vite and React Query" />

<meta property="og:title" content="React HN" />
<meta property="og:type" content="website" />
<meta property="og:description" content="A Hacker News client built with React, Vite and React Query" />
<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;">
Sorry, JavaScript needs to be enabled in order to run this application.
</h4>
</noscript>

<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading