mirror of
https://github.com/sotrh/learn-wgpu.git
synced 2024-11-08 07:10:33 +00:00
17 lines
395 B
Vue
17 lines
395 B
Vue
<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> |