Skip to content

Commit ae48c41

Browse files
committed
add github link
1 parent 34c0f24 commit ae48c41

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/components/Gradient.svelte

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,10 @@ import GradientImportDialog from './GradientImportDialog.svelte'
431431
})
432432
break
433433
case 'Help & feedback':
434-
window.open('https://discord.gg/Kt7ksqRM4V')
434+
window.open('https://discord.gg/Kt7ksqRM4V', '_blank')
435+
break
436+
case 'GitHub':
437+
window.open('https://github.com/argyleink/gradient-style', '_blank')
435438
break
436439
}
437440
@@ -520,7 +523,6 @@ let user_gradient = $derived(gensyntax[$gradient_type](
520523
bind:this={preview_resizer}
521524
class="resizer"
522525
style={`background: ${classic_layers_joined || classic_gradient}; ${preview_hd == true ? `background: ${user_layers_joined || user_gradient};` : ''} ${box_width ? `width: ${box_width}px; height: ${box_height}px;`:'width: 75cqi;'}`}>
523-
<Hint title="Dragging" copy="Drag <b>right or up</b> to increase values.<br><br>Drag <b>left or down</b> to decrease them!" />
524526
</div>
525527
{#if !restoring}
526528
{#if $gradient_type === 'linear'}
@@ -566,6 +568,7 @@ let user_gradient = $derived(gensyntax[$gradient_type](
566568
<!-- <option disabled>Toggle light & dark</option> -->
567569
<option>Tips & tricks</option>
568570
<option>Help & feedback</option>
571+
<option>GitHub</option>
569572
</select>
570573
</button>
571574
</div>

0 commit comments

Comments
 (0)