فهرست منبع

v8-2714 add youtube to social networks of the structure details

Olivier Massot 4 سال پیش
والد
کامیت
49df1df8c0
2فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 3 0
      pages/structures/_id.vue
  2. 2 0
      types/interfaces.d.ts

+ 3 - 0
pages/structures/_id.vue

@@ -37,6 +37,9 @@
           <a v-if="structure.twitter" :href="structure.twitter" class="twitter" target="_blank" title="$t('find_us_on') + ' Twitter'">
             <font-awesome-icon class="icon social-icon" :icon="['fab', 'twitter']" />
           </a>
+          <a v-if="structure.youtube" :href="structure.youtube" class="youtube" target="_blank" title="$t('find_us_on') + ' Youtube'">
+            <font-awesome-icon class="icon social-icon" :icon="['fab', 'youtube']" />
+          </a>
         </div>
       </v-layout>
 

+ 2 - 0
types/interfaces.d.ts

@@ -17,6 +17,8 @@ interface Structure {
   email: string | null,
   facebook: string | null,
   twitter: string | null,
+  instagram: string | null,
+  youtube: string | null,
   practices: Array<string>,
   n1Id: number | null,
   n1Name: string | null,