Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shi-yan committed Nov 6, 2023
1 parent b00c9c3 commit 4d76322
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion assets/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -3251,7 +3251,7 @@ button:focus-visible {
@font-face {
font-family: "codicon";
font-display: block;
src: url(//WebGPUTutorial/assets/codicon.ttf) format("truetype");
src: url(/WebGPUTutorial/assets/codicon.ttf) format("truetype");
}

.codicon[class*='codicon-'] {
Expand Down
6 changes: 3 additions & 3 deletions assets/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,7 @@ const theme = {
rules,
colors
};
const logo = "//WebGPUTutorial/assets/logo2.png";
const logo = "/WebGPUTutorial/assets/logo2.png";
const _tmpl$$1 = /* @__PURE__ */ template(`<svg stroke-width=0>`);
function IconTemplate(iconSrc, props) {
const mergedProps = mergeProps(iconSrc.a, props);
Expand Down Expand Up @@ -110174,7 +110174,7 @@ const monaco_editor_core_star = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
}, Symbol.toStringTag, { value: "Module" }));
const scriptRel = "modulepreload";
const assetsURL = function(dep) {
return "//WebGPUTutorial/" + dep;
return "/WebGPUTutorial/" + dep;
};
const seen = {};
const __vitePreload = function preload(baseModule, deps, importerUrl) {
Expand Down Expand Up @@ -158707,7 +158707,7 @@ registerEditorAction(ToggleHighContrast);
const _tmpl$ = /* @__PURE__ */ template(`<button><span>REPO`), _tmpl$2 = /* @__PURE__ */ template(`<div style=width:100%;display:flex;flex-direction:column><div><h2></h2><div><ul></ul></div></div><div><button style=z-index:200></button><div style=flex-grow:1></div><button><span>RUN</span></button></div><div><div id=container></div><div id=adjust-bar></div><div id=output><iframe>`), _tmpl$3 = /* @__PURE__ */ template(`<img style=width:100vw>`), _tmpl$4 = /* @__PURE__ */ template(`<p>Only desktop browsers are supported.`), _tmpl$5 = /* @__PURE__ */ template(`<button><span>`);
function App() {
function prefixSubPath(path) {
return "/WebGPUTutorial/" + path;
return "WebGPUTutorial/" + path;
}
function isMobile2() {
if (screen.width <= 760) {
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="//WebGPUTutorial/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/WebGPUTutorial/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Solid</title>
<script type="module" crossorigin src="//WebGPUTutorial/assets/index.js"></script>
<link rel="stylesheet" href="//WebGPUTutorial/assets/index.css">
<script type="module" crossorigin src="/WebGPUTutorial/assets/index.js"></script>
<link rel="stylesheet" href="/WebGPUTutorial/assets/index.css">
</head>
<body>
<div id="root"></div>
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"description": "WebGPU example code.",
"meta_image": "meta.png",
"prefix": "/WebGPUTutorial",
"prefix": "WebGPUTutorial",
"repo": "https://github.com/shi-yan/WebGPUTutorial",
"target": "../WebGPUTutorial",
"title": "WGPU Tutorial",
"url": "https://shi-yan.github.io",
"url": "https://shi-yan.github.io/",
"content": [
{
"title": "1. Basics",
Expand Down

0 comments on commit 4d76322

Please sign in to comment.