Skip to content

Commit

Permalink
change helmholtz logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kr0nox committed Mar 28, 2024
1 parent 4cee081 commit 1913bc4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 20 deletions.
Binary file removed src/assets/helmholtz.jpg
Binary file not shown.
8 changes: 0 additions & 8 deletions src/components/ReferenceLinkComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
<div class="flex-1 flex flex-col justify-center">
<img
class="max-h-32 object-cover"
:class="{
'rounded-full w-32': forceCircle
}"
:src="referenceLink.image"
:alt="referenceLink.alt ?? referenceLink.title"
/>
Expand All @@ -31,11 +28,6 @@ defineProps({
referenceLink: {
type: Object as PropType<ReferenceLink>,
required: true
},
forceCircle: {
type: Boolean,
default: true,
required: false
}
})
</script>
23 changes: 11 additions & 12 deletions src/components/ReferenceSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,36 @@
<section class="flex w-fit flex-col gap-5 md:flex-row md:gap-20 items-center">
<ReferenceLinkComponent
v-for="referenceLink in referenceLinks"
:key="referenceLink[0].title"
:referenceLink="referenceLink[0]"
:forceCircle="referenceLink[1]"
:key="referenceLink.title"
:referenceLink="referenceLink"
/>
</section>
</template>

<script setup lang="ts">
import type { ReferenceLink } from '@/model/referenceLink'
import ReferenceLinkComponent from './ReferenceLinkComponent.vue'
import helmholtzLogo from '@/assets/helmholtz.jpg'
import hifisLog from '@/assets/HIFIS_Logo_short_RGB_cropped.png'
import githubLogo from '@/assets/github.png'
const referenceLinks: [ReferenceLink, boolean][] = [
[{
const referenceLinks: ReferenceLink[] = [
{
url: 'https://jplag.github.io/Demo/',
title: 'JPlag Demo',
image: 'https://raw.githubusercontent.com/jplag/JPlag/develop/report-viewer/src/assets/jplag-dark-transparent.png',
alt: 'JPlag logo for link to Demo page'
}, false],
[{
},
{
url: 'https://helmholtz.software/software/jplag',
title: 'Helmholtz RSD',
image: helmholtzLogo,
image: hifisLog,
alt: 'Helmholtz logo for link to RSD page'
}, true],
[{
},
{
url: 'https://www.github.com/jplag/JPlag',
title: 'Github',
image: githubLogo,
alt: 'Github logo for link to JPlag repository'
}, false]
}
]
</script>

0 comments on commit 1913bc4

Please sign in to comment.