-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.vue
105 lines (99 loc) · 2.75 KB
/
app.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<template>
<NaiveConfig :theme-config="themeConfig">
<Notivue v-slot="item">
<NotivueSwipe :item="item">
<Notifications :item="item" :theme="pastelTheme" />
</NotivueSwipe>
</Notivue>
<NuxtLoadingIndicator color="#be185d" :height="5" />
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</NaiveConfig>
</template>
<script setup lang="ts">
import { pastelTheme } from "notivue";
import type { ThemeConfig } from "@bg-dev/nuxt-naiveui";
const themeConfig: ThemeConfig = {
dark: {}, // Theme options applied on dark mode
light: {}, // Theme options applied on light mode
mobile: {}, // Theme options applied on mobile only
mobileOrTablet: {}, // Theme options applied on mobile and tablet
shared: {
Cascader: { optionCheckMarkColor: "#0284c7" },
common: {
primaryColor: "#0284c7",
primaryColorHover: "#0ea5e9",
primaryColorPressed: "#0369a1",
primaryColorSuppl: "#0ea5e9",
},
Spin: {
color: "#0284c7",
},
Tree: {
fontSize: "17px",
},
}, // Common theme options
};
useHead({
title: "FAIRhub",
bodyAttrs: {
class: "test",
},
link: [
{ href: "/favicon.ico", rel: "icon", type: "image/x-icon" },
{
href: "/apple-touch-icon.png",
rel: "apple-touch-icon",
sizes: "180x180",
},
{
href: "/favicon-16x16.png",
rel: "icon",
sizes: "16x16",
type: "image/png",
},
{
href: "/favicon-32x32.png",
rel: "icon",
sizes: "32x32",
type: "image/png",
},
{
color: "#5bbad5",
href: "/safari-pinned-tab.svg",
rel: "mask-icon",
},
{
href: "/site.webmanifest",
rel: "manifest",
},
],
meta: [
{
name: "description",
content:
"FAIRhub is a repository for your AI ready data. It is a place to store, share and discover datasets, models and workflows.",
},
{
name: "msapplication-TileColor",
content: "#2b5797",
},
{
name: "theme-color",
content: "#ffffff",
},
],
});
useSeoMeta({
title: "FAIRhub",
description:
"FAIRhub is a repository for your AI ready data. It is a place to store, share and discover datasets, models and workflows",
ogDescription:
"FAIRhub is a repository for your AI ready data. It is a place to store, share and discover datasets, models and workflows",
ogImage:
"https://kalai.fairdataihub.org/api/generate?app=fairhub&title=Make%20breakthrough%20discoveries%20with%20AI-ready%20datasets&org=ai-readi&description=FAIRhub%20is%20a%20repository%20for%20your%20AI%20ready%20data.%20It%20is%20a%20place%20to%20store%2C%20share%20and%20discover%20datasets%2C%20models%20and%20workflows",
ogTitle: "FAIRhub",
twitterCard: "summary_large_image",
});
</script>