Skip to content
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

Replace index.html by jsx document #106

Merged
merged 22 commits into from
Jan 19, 2023
Merged
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
14 changes: 3 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI

on: push
jobs:
build:
build_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -11,17 +11,9 @@ jobs:
- name: 🌎 install dependencies
run: npm ci --unsafe-perm

- name: 🙏🏽 build
- name: ⚡️build
run: npm run build

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: node -v

- name: 🌎 install dependencies
run: npm ci --unsafe-perm

- name: 🙏🏽 test
run: npm run test

31 changes: 4 additions & 27 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,36 +1,13 @@
<!DOCTYPE html>
<html lang="<!--lang-->">
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="x-ua-compatible" content="IE=Edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title><!--meta-title--></title>
<meta name="description" content="<!--meta-description-->" />
<link rel="canonical" href="<!--meta-url-->" />

<meta property="og:type" content="website" />
<meta property="og:site_name" content="<!--meta-siteName-->" />
<meta property="og:url" content="<!--meta-url-->" />
<meta property="og:title" content="<!--meta-title-->" />
<meta property="og:description" content="<!--meta-description-->" />
<meta property="og:image" content="<!--meta-imageUrl-->" />

<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="<!--meta-siteName-->" />
<meta name="twitter:url" content="<!--meta-url-->" />
<meta name="twitter:title" content="<!--meta-title-->" />
<meta name="twitter:description" content="<!--meta-description-->" />
<meta name="twitter:image" content="<!--meta-imageUrl-->" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<title>App</title>
</head>

<body>
<div id="root"><!--app-html--></div>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
<script type="text/javascript">
window.__SSR_STATIC_PROPS__ = "<!--ssr-static-props-->"
window.__GLOBAL_DATA__ = "<!--ssr-global-data-->"
</script>
</body>
</html>
Loading