Skip to content

Commit a89bfba

Browse files
committed
Fixed about view
1 parent 2d31922 commit a89bfba

4 files changed

Lines changed: 4 additions & 15 deletions

File tree

client/src/components/GTabs.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export type Tab = {
2727
id: string
2828
title: string
2929
disabled?: boolean
30-
stub?: boolean
3130
}
3231
3332
const { basePath, tabs } = defineProps<{
@@ -52,7 +51,7 @@ const route = useRoute()
5251
line-height: 45px;
5352
background-color: var(--int-theme);
5453
55-
.nav-link {
54+
:deep(.nav-link) {
5655
font-style: normal;
5756
text-align: center;
5857
display: block;

client/src/router/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ const routes = [
112112
{
113113
path: "/application",
114114
name: "Application",
115+
redirect: "/application/about",
115116
component: ApplicationView,
116117
children: [
117118
{
Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
<template>
22
<GTabs class="level-2" basePath="/application" :tabs="[
33
{ id: 'about', title: 'About' },
4-
{ id: 'api', title: 'API', stub: true },
4+
{ id: 'api', title: 'API' },
55
]">
66
<template #api-title>
7-
<ExternalLink class="blockLink" :href="apiUrl">API</ExternalLink>
7+
<ExternalLink class="nav-link" :href="apiUrl">API</ExternalLink>
88
</template>
99
</GTabs>
1010
</template>
1111

1212
<script setup lang="ts">
1313
const apiUrl = `${window.location.protocol}//${window.location.hostname}/galahad/api/swagger-ui/index.html`
1414
</script>
15-
16-
<style scoped lang="scss">
17-
/* Makes block links full size in tab header */
18-
.blockLink {
19-
display: block;
20-
margin: 0 -20px;
21-
}
22-
</style>

client/src/views/application/subviews/AboutView.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<GCard article title="About">
3-
<template #help>
4-
Here you can find information about the application and the exact version you are currently running.
5-
</template>
63
<p>
74
GaLAHaD is created by the
85
<ExternalLink href="https://www.ivdnt.org">Dutch Language Institute</ExternalLink>. For this work,

0 commit comments

Comments
 (0)