浏览代码

refactor: added verified station icon to station title on station page

Kristian Vos 3 年之前
父节点
当前提交
cd8e9c62d3
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      frontend/src/pages/Station/index.vue

+ 12 - 0
frontend/src/pages/Station/index.vue

@@ -72,6 +72,14 @@
 							<div id="station-info">
 								<div class="row" id="station-name">
 									<h1>{{ station.displayName }}</h1>
+									<i
+										v-if="station.type === 'official'"
+										class="material-icons verified-station"
+										content="Verified Station"
+										v-tippy
+									>
+										check_circle
+									</i>
 									<a href="#">
 										<!-- Favorite Station Button -->
 										<i
@@ -2467,6 +2475,10 @@ export default {
 							color: var(--primary-color);
 						}
 					}
+
+					.verified-station {
+						color: var(--primary-color);
+					}
 				}
 
 				p {