mirror of https://github.com/sotrh/learn-wgpu
added AutoGithubLink and fixed uniforms challenge
parent
b17f54b9e8
commit
df7840a3ca
Binary file not shown.
Before Width: | Height: | Size: 58 KiB |
@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<div class="auto-github-link">
|
||||
<a :href="link" target="_blank" rel="noopener noreferrer">Check out the code!</a>
|
||||
<OutboundLink/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
const GITHUB_REPO = "https://github.com/sotrh/learn-wgpu/tree/master/code"
|
||||
export default {
|
||||
computed: {
|
||||
link() {
|
||||
return GITHUB_REPO + this.$page.path;
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
Loading…
Reference in New Issue