diff --git a/src/assets/sprite-icons/nuxt.svg b/src/assets/sprite-icons/nuxt.svg new file mode 100644 index 000000000..ee7c167eb --- /dev/null +++ b/src/assets/sprite-icons/nuxt.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/sprite-icons/vue.svg b/src/assets/sprite-icons/vue.svg index b43226aca..c23ebfa0e 100644 --- a/src/assets/sprite-icons/vue.svg +++ b/src/assets/sprite-icons/vue.svg @@ -1,7 +1,5 @@ - - - - - - + + + + diff --git a/src/components/event/Overview.vue b/src/components/event/Overview.vue index cadcd617d..9e0da7259 100644 --- a/src/components/event/Overview.vue +++ b/src/components/event/Overview.vue @@ -26,8 +26,16 @@ v-if="getIntegrationAddons('vue')" class="event-overview__section" :addons="getIntegrationAddons('vue')" + icon="vue" title="Vue" /> + { diff --git a/src/components/event/details/DetailsAddons.vue b/src/components/event/details/DetailsAddons.vue index e6dc37a0c..6fda64bac 100644 --- a/src/components/event/details/DetailsAddons.vue +++ b/src/components/event/details/DetailsAddons.vue @@ -1,10 +1,10 @@
, required: true, }, + + /** + * Integration framework logo + */ + icon: { + type: String, + default: '', + } }, computed: { }, @@ -101,7 +109,7 @@ export default Vue.extend({ * @param key - addon key */ isHTML(key: string): boolean { - return key === 'component' && this.title === 'Vue'; + return key.toLowerCase() === 'component' && ['Vue', 'Nuxt'].includes(this.title); }, }, }); diff --git a/src/components/event/details/DetailsBase.vue b/src/components/event/details/DetailsBase.vue index fe7dda072..6aa4834f1 100644 --- a/src/components/event/details/DetailsBase.vue +++ b/src/components/event/details/DetailsBase.vue @@ -49,12 +49,13 @@ export default { font-size: 12px; letter-spacing: 0.15px; text-transform: uppercase; + display: flex; + align-items: center; + gap: 4px; .icon { - width: 16px; - height: 13px; - margin-top: -2px; - margin-left: 5px; + width: 20px; + height: 20px; vertical-align: middle; } }