diff --git a/webui/package.json b/webui/package.json
index b29dde76..0c5b929e 100644
--- a/webui/package.json
+++ b/webui/package.json
@@ -26,6 +26,7 @@
"pinia": "^2.1.3",
"vue": "^3.3.4",
"vue-i18n": "^9.2.2",
+ "vue-inline-svg": "^3.1.2",
"vue-router": "^4.2.1"
},
"devDependencies": {
diff --git a/webui/pnpm-lock.yaml b/webui/pnpm-lock.yaml
index 9e0133aa..bfdf406c 100644
--- a/webui/pnpm-lock.yaml
+++ b/webui/pnpm-lock.yaml
@@ -29,6 +29,9 @@ dependencies:
vue-i18n:
specifier: ^9.2.2
version: 9.2.2(vue@3.3.4)
+ vue-inline-svg:
+ specifier: ^3.1.2
+ version: 3.1.2(vue@3.3.4)
vue-router:
specifier: ^4.2.1
version: 4.2.1(vue@3.3.4)
@@ -9769,6 +9772,14 @@ packages:
vue: 3.3.4
dev: true
+ /vue-inline-svg@3.1.2(vue@3.3.4):
+ resolution: {integrity: sha512-K01sLANBnjosObee4JrBu/igXpYIFhQfy4EcEyVWxEWf6nmrxp7Isz6pmeRCsWx6XGrGWfrQH3uNwt4nOmrFdA==}
+ peerDependencies:
+ vue: ^3
+ dependencies:
+ vue: 3.3.4
+ dev: false
+
/vue-router@4.2.1(vue@3.3.4):
resolution: {integrity: sha512-nW28EeifEp8Abc5AfmAShy5ZKGsGzjcnZ3L1yc2DYUo+MqbBClrRP9yda3dIekM4I50/KnEwo1wkBLf7kHH5Cw==}
peerDependencies:
diff --git a/webui/public/images/RSS.svg b/webui/public/images/RSS.svg
new file mode 100644
index 00000000..57f7c996
--- /dev/null
+++ b/webui/public/images/RSS.svg
@@ -0,0 +1,3 @@
+
diff --git a/webui/src/components/layout/ab-sidebar.vue b/webui/src/components/layout/ab-sidebar.vue
index 2893c064..23f23b5f 100644
--- a/webui/src/components/layout/ab-sidebar.vue
+++ b/webui/src/components/layout/ab-sidebar.vue
@@ -9,6 +9,7 @@ import {
Play,
SettingTwo,
} from '@icon-park/vue-next';
+import InlineSvg from 'vue-inline-svg';
const props = withDefaults(
defineProps<{
@@ -26,6 +27,12 @@ const toggle = () => (show.value = !show.value);
const route = useRoute();
const { logout } = useAuth();
+const RSS = h(
+ 'span',
+ { class: ['rel', 'left-2px'] },
+ h(InlineSvg, { src: '/images/RSS.svg' })
+);
+
const items = [
{
id: 1,
@@ -42,25 +49,31 @@ const items = [
},
{
id: 3,
+ icon: RSS,
+ label: () => t('sidebar.rss'),
+ path: '/rss',
+ },
+ {
+ id: 4,
icon: Play,
label: () => t('sidebar.player'),
path: '/player',
},
{
- id: 4,
+ id: 5,
icon: Download,
label: () => t('sidebar.downloader'),
path: '/downloader',
hidden: true,
},
{
- id: 5,
+ id: 6,
icon: Log,
label: () => t('sidebar.log'),
path: '/log',
},
{
- id: 6,
+ id: 7,
icon: SettingTwo,
label: () => t('sidebar.config'),
path: '/config',
@@ -123,6 +136,7 @@ const items = [
]"
>