Skip to content

Commit

Permalink
Convert VButton, tabs and item group components to script setup (#4796
Browse files Browse the repository at this point in the history
)

* Convert VItem-related; brand; tabs components

Signed-off-by: Olga Bulat <[email protected]>

* Remove border on focus-visible:hover

Signed-off-by: Olga Bulat <[email protected]>

---------

Signed-off-by: Olga Bulat <[email protected]>
  • Loading branch information
obulat authored Aug 26, 2024
1 parent bc81c65 commit d1bcd64
Show file tree
Hide file tree
Showing 20 changed files with 643 additions and 989 deletions.
52 changes: 0 additions & 52 deletions frontend/src/components/LoadingIcon.vue

This file was deleted.

13 changes: 2 additions & 11 deletions frontend/src/components/VBrand/VBrand.vue
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
<script lang="ts">
import { defineComponent } from "vue"
import VSvg from "~/components/VSvg/VSvg.vue"
<script setup lang="ts">
/**
* A simple Openverse logo component, visually hidden from screen-reader users.
* Implementations should wrap this icon with appropriate sr-only text or an aria-label.
*/
export default defineComponent({
name: "VBrand",
components: {
VSvg,
},
})
import VSvg from "~/components/VSvg/VSvg.vue"
</script>

<template>
Expand Down
Loading

0 comments on commit d1bcd64

Please sign in to comment.