Skip to content

Commit 92473c9

Browse files
committed
Hide GitHub icon for codegen (private repo)
1 parent 62276c6 commit 92473c9

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/lib/config/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export const packages: Record<string, PackageConfig> = {
128128
lightMobile: 'screenshots/codegen-light-mobile.png'
129129
},
130130
app: 'https://code.pathsim.org',
131-
github: `${external.github}/codegen`
131+
github: ''
132132
},
133133
pathview: {
134134
name: 'PathView',

src/routes/+page.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,11 @@
188188
<Icon name="code" size={14} />
189189
</a>
190190
{/if}
191+
{#if pkg.github}
191192
<a href={pkg.github} class="icon-btn" use:tooltip={'GitHub'}>
192193
<Icon name="github" size={14} />
193194
</a>
195+
{/if}
194196
</div>
195197
</div>
196198
{#if pkg.screenshot}

0 commit comments

Comments
 (0)