Skip to content

Commit f7f0472

Browse files
committed
Update the side footer link to project
1 parent 746e5a2 commit f7f0472

3 files changed

Lines changed: 13 additions & 22 deletions

File tree

components/IconGithub.vue

Lines changed: 0 additions & 13 deletions
This file was deleted.

components/__tests__/Icons.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { mount } from '@vue/test-utils'
22
import { describe, it, expect } from 'vitest'
33

44
import IconCircleHalf from '../IconCircleHalf.vue'
5-
import IconGithub from '../IconGithub.vue'
65
import IconMoon from '../IconMoon.vue'
76
import IconSortAlpha from '../IconSortAlpha.vue'
87
import IconSortAsc from '../IconSortAsc.vue'
@@ -14,7 +13,6 @@ const icons = [
1413
['IconSun', IconSun],
1514
['IconMoon', IconMoon],
1615
['IconCircleHalf', IconCircleHalf],
17-
['IconGithub', IconGithub],
1816
['IconSortAlpha', IconSortAlpha],
1917
['IconSortDate', IconSortDate],
2018
['IconSortAsc', IconSortAsc],

entrypoints/visualizer/App.vue

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import IconCircleHalf from '~/components/IconCircleHalf.vue'
1111
import IconSortAlpha from '~/components/IconSortAlpha.vue'
1212
import IconSortDate from '~/components/IconSortDate.vue'
1313
import IconSortAsc from '~/components/IconSortAsc.vue'
14-
import IconGithub from '~/components/IconGithub.vue'
1514
import IconSortDesc from '~/components/IconSortDesc.vue'
1615
import { getPlans, savePlan, removePlan, watchPlans } from '~/utils/planStorage'
1716
import type { SavedPlan } from '~/utils/types'
@@ -161,8 +160,8 @@ onUnmounted(() => {
161160
@delete="deletePlan"
162161
/>
163162
<template #footer>
164-
<div class="border-top pt-2 mt-2 d-flex align-items-center">
165-
<div class="flex-grow-1 d-flex justify-content-center align-items-center gap-3">
163+
<div class="border-top pt-2 mt-2 d-flex flex-column align-items-center gap-2">
164+
<div class="d-flex justify-content-center align-items-center gap-3">
166165
<div class="btn-group btn-group-sm" role="group" aria-label="Sort by">
167166
<button
168167
type="button"
@@ -232,15 +231,22 @@ onUnmounted(() => {
232231
<IconMoon />
233232
</button>
234233
</div>
234+
</div>
235+
<div class="text-center small text-secondary d-flex justify-content-center gap-1">
235236
<a
236237
:href="browser.runtime.getManifest().homepage_url"
237238
target="_blank"
238239
rel="noopener noreferrer"
239-
class="btn btn-sm btn-outline-secondary flex-shrink-0"
240-
title="Homepage"
240+
class="text-secondary"
241+
>{{ browser.runtime.getManifest().name }}</a
242+
>
243+
<a
244+
:href="`${browser.runtime.getManifest().homepage_url}/blob/main/CHANGELOG.md`"
245+
target="_blank"
246+
rel="noopener noreferrer"
247+
class="text-secondary"
248+
>v{{ browser.runtime.getManifest().version }}</a
241249
>
242-
<IconGithub />
243-
</a>
244250
</div>
245251
</div>
246252
</template>

0 commit comments

Comments
 (0)