From 4cd62f7735f2b797f3486d30afe393a7a1ed3322 Mon Sep 17 00:00:00 2001 From: jlpereira Date: Tue, 25 Apr 2023 17:37:09 -0300 Subject: [PATCH 1/6] Fix meta tags and SEO --- public/robots.txt | 2 ++ .../Animation/AnimationOpacity.global.vue | 3 --- src/components/Dropdown/Dropdown.global.vue | 24 +++++------------ src/components/Gallery/GalleryMainImage.vue | 2 +- src/components/Layout/LayoutFooter.vue | 27 +++++++++---------- src/components/Layout/LayoutHeader.vue | 2 ++ src/components/Navbar/NavbarMobile.vue | 3 ++- src/components/SwitchTheme.vue | 1 + .../PanelNomenclatureCitations.vue | 24 ++++++++++------- .../PanelNomenclatureShowMore.vue | 6 ++--- src/utils/getMeta.js | 3 ++- 11 files changed, 46 insertions(+), 51 deletions(-) create mode 100644 public/robots.txt diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..c2a49f4 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Allow: / diff --git a/src/components/Animation/AnimationOpacity.global.vue b/src/components/Animation/AnimationOpacity.global.vue index 9619d6d..2f4212c 100644 --- a/src/components/Animation/AnimationOpacity.global.vue +++ b/src/components/Animation/AnimationOpacity.global.vue @@ -10,6 +10,3 @@ - - \ No newline at end of file diff --git a/src/components/Dropdown/Dropdown.global.vue b/src/components/Dropdown/Dropdown.global.vue index 7d57235..d42b56f 100644 --- a/src/components/Dropdown/Dropdown.global.vue +++ b/src/components/Dropdown/Dropdown.global.vue @@ -1,26 +1,14 @@ diff --git a/src/modules/otus/components/TaxaInfo.vue b/src/modules/otus/components/TaxaInfo.vue index a41b3bb..472e77c 100644 --- a/src/modules/otus/components/TaxaInfo.vue +++ b/src/modules/otus/components/TaxaInfo.vue @@ -5,11 +5,11 @@

- - - props.taxon.cached_is_valid - ? '' - : '✕' +const status = computed(() => (props.taxon.cached_is_valid ? '' : '✕')) +const statusStyle = computed(() => + props.taxon.cached_is_valid ? '' : 'text-red-600' ) -const statusStyle = computed(() => - props.taxon.cached_is_valid - ? '' - : 'text-red-600' -) - diff --git a/src/modules/otus/views/Index.vue b/src/modules/otus/views/Index.vue index c41ab6b..adec8dc 100644 --- a/src/modules/otus/views/Index.vue +++ b/src/modules/otus/views/Index.vue @@ -5,12 +5,14 @@
- + + +
- + + +