Skip to content

Commit

Permalink
Update footer
Browse files Browse the repository at this point in the history
  • Loading branch information
José Luis Pereira committed Jul 12, 2022
1 parent 6661129 commit 948aff9
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 33 deletions.
2 changes: 1 addition & 1 deletion src/components/Breadcrumb.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</svg>
<router-link
v-if="item.length === 1"
class="inline-flex items-center text-sm text-accent-100 hover:text-gray-900 text-primary-500"
class="inline-flex items-center text-sm text-accent-100 hover:text-gray-900 dark:hover:text-gray-500 text-primary-500"
:to="{ name: 'otus-id', params: { id: item[0].id } }"
>
{{ key }}
Expand Down
54 changes: 35 additions & 19 deletions src/components/Layout/LayoutFooter.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<footer class="footer text-white bottom-0 border-gray-200 bg-zinc-800 dark:bg-slate-800 pl-4 pr-4">
<div class="container mx-auto text-sm pt-2 pb-4">
<div class="pt-4 pb-4">
<div class="pt-4 pb-2">
{{ project_authors }}
{{ project_citation }}
<span v-if="project_url">
Expand Down Expand Up @@ -33,31 +33,47 @@

<hr class="mt-3 mb-3 border-gray-500">

<div class="flex justify-between text-xs">
<div class="flex items-center">
<img
width="123"
:src="TWLogo"
title="TaxonWorks"
<div class="flex items-center">
<span>
Data provided by
<a
class="text-slate-400 hover:text-slate-500 dark:hover:text-slate-300 font-medium"
target="_blank"
href="https://taxonworks.org/"
>
TaxonWorks
</a>
</span>

<span class="ml-2 mr-2">|</span>

<span>
Pages by
<a
class="text-slate-400 hover:text-slate-500 dark:hover:text-slate-300 font-medium"
target="_blank"
href="https://github.com/SpeciesFileGroup/taxonpages"
>
<span class="ml-2 mr-2">|</span>
<span>
The engine of this website and database is powered by
<a
target="_blank"
href="https://taxonworks.org/"
>
TaxonWorks
</a>
</span>
</div>
TaxonPages
</a>
</span>
<span class="ml-2 mr-2">|</span>
<span>
Support (Services) by
<a
class="text-slate-400 hover:text-slate-500 dark:hover:text-slate-300 font-medium"
target="_blank"
href="https://speciesfilegroup.org"
>
Species File Group
</a>
</span>
</div>
</div>
</footer>
</template>
<script setup>
import TWLogo from '@/assets/images/taxonworks_full_logo.svg?url'
import projectConfiguration from '@/config/project.yml'
import copyrightConfiguration from '@/config/copyright.yml'
Expand Down
13 changes: 0 additions & 13 deletions src/components/Layout/LayoutHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,6 @@

<div class="flex items-center border-l border-slate-200 ml-6 pl-6 dark:border-slate-800">
<SwitchTheme />
<a
class="ml-6 block text-slate-400 hover:text-slate-500 dark:hover:text-slate-300"
href="https://github.com/SpeciesFileGroup/taxonpages"
>
<svg
viewBox="0 0 16 16"
class="w-5 h-5"
fill="currentColor"
aria-hidden="true"
>
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z" />
</svg>
</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 948aff9

Please sign in to comment.