Skip to content

Commit

Permalink
feat: localize icon.svg
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenybai committed Oct 8, 2021
1 parent c8f1a4a commit 5b78b7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions benchmarks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="icon"
type="image/svg+xml"
href="https://raw.githubusercontent.com/aidenybai/million/main/.github/assets/icon.svg"
/>
<link rel="icon" type="image/svg+xml" href="./.github/assets/icon.svg" />
<style>
body {
padding: 30px;
Expand Down
2 changes: 1 addition & 1 deletion scripts/dev.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import 'zx/globals';
import { info } from './helpers.mjs';

const index_html = `<!DOCTYPE html><html lang="en"><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><link rel="icon" type="image/svg+xml" href="https://raw.githubusercontent.com/aidenybai/million/main/.github/assets/icon.svg"><title>Million Playground</title><link rel="stylesheet" href="./style.css"><script type="module" src="./script.tsx"></script></head><body></body></html>`;
const index_html = `<!DOCTYPE html><html lang="en"><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><link rel="icon" type="image/svg+xml" href="./.github/assets/icon.svg"><title>Million Playground</title><link rel="stylesheet" href="./style.css"><script type="module" src="./script.tsx"></script></head><body></body></html>`;
const script_tsx = `import { m, createElement, patch } from 'million';
const app = createElement(m('div', { id: 'app' }, ['Hello World']));
Expand Down

0 comments on commit 5b78b7c

Please sign in to comment.