Skip to content

Commit

Permalink
refactor(index): remove GitHub Corners
Browse files Browse the repository at this point in the history
remarkablemark committed Nov 17, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent f1575de commit 934c49a
Showing 2 changed files with 1 addition and 25 deletions.
24 changes: 0 additions & 24 deletions index.html
Original file line number Diff line number Diff line change
@@ -19,30 +19,6 @@
-->
<link rel="manifest" href="/manifest.json" />

<link rel="stylesheet" href="src/style.css" />

<% if (process.env.BUNDLE !== 'true') { %>
<!--
GitHub Corners. See https://github.com/remarkablemark/github-corners
-->
<script
src="https://unpkg.com/github-corners/dist/embed.min.js"
data-href="https://github.com/remarkablegames/littlejs-template"
data-target="_blank"
async
defer
></script>
<style>
.github-corner > svg {
opacity: 0.5;
transition: opacity 0.4s;
}
.github-corner:hover > svg {
opacity: 1;
}
</style>
<% } %>

<title>LittleJS Template | remarkablegames</title>
</head>
<body>
2 changes: 1 addition & 1 deletion scripts/bundle.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

# build bundle
BUNDLE=true npm run build -- --base=./
npm run build -- --base=./

# zip file
zip -r "dist/$(npm pkg get name | tr -d \")-$(npm pkg get version | tr -d \").zip" dist

0 comments on commit 934c49a

Please sign in to comment.