Skip to content

Commit

Permalink
Use deta
Browse files Browse the repository at this point in the history
  • Loading branch information
naoki-tomita committed Nov 27, 2023
1 parent 49c62d1 commit 07fdee4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
8 changes: 8 additions & 0 deletions Spacefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Spacefile Docs: https://go.deta.dev/docs/spacefile/v0
v: 0
micros:
- name: app
src: app
engine: nodejs16
primary: true
run: npm run start
14 changes: 9 additions & 5 deletions app/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,23 @@ const Document: Component = (_, children) => {
<title>nzxt document</title>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J0MJBS66XD"></script>
<script>
{`
window.dataLayer = window.dataLayer || [];
function gtag() {"{"}dataLayer.push(arguments){"}"};
function gtag() {dataLayer.push(arguments)};
gtag('js', new Date());

gtag('config', 'G-J0MJBS66XD');
`}
</script>
<style>
body {"{"}
{`
body {
max-width: 1024px;
{"}"}
pre {"{"}
}
pre {
background-color: #272822;
{"}"}
}
`}
</style>
</head>
<body>
Expand Down

0 comments on commit 07fdee4

Please sign in to comment.