Skip to content

Commit e0124f8

Browse files
committed
🚚 Fix link to issues
1 parent 3c0a7d9 commit e0124f8

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/components/Legend.svelte

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
<script>
2+
import { GITHUB_REPO_URL } from '../constants'
3+
</script>
4+
15
<p class="mt-5">
26
CSS optimizing happens directly in your browser using a browser-compatible build of clean-css. If you miss any functionality, you are more than welcome to
3-
<a href="https://github.com/clean-css/clean-css.github.io" target="_blank">add it</a>!
7+
<a href={`${GITHUB_REPO_URL}/issues`} target="_blank">add it</a>!
48
</p>

src/constants.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export const GITHUB_REPO_USER = 'clean-css'
2+
export const GITHUB_REPO_NAME = 'clean-css'
3+
export const GITHUB_REPO_URL = `https://github.com/${GITHUB_REPO_USER}/${GITHUB_REPO_NAME}`

0 commit comments

Comments
 (0)