Skip to content

Commit d7d2746

Browse files
committed
updated homepage
1 parent b14cfc7 commit d7d2746

File tree

3 files changed

+28
-10
lines changed

3 files changed

+28
-10
lines changed

src/webpage/.vitepress/config.mts

+12-1
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,20 @@ export default defineConfig({
1515
head: [
1616
// favicon
1717
['link', { rel: 'icon', type: 'image/svg+xml', href: '/dynapi.svg' }],
18+
['meta', { name: 'theme-color', content: '#6196ff' }],
19+
['meta', { property: 'og:type', content: 'website' }],
20+
['meta', { property: 'og:locale', content: 'en' }],
21+
['meta', { property: 'og:title', content: 'DynAPI | an out-of-the-box Dynamic API for many Databases' }],
22+
['meta', { property: 'og:site_name', content: 'DynAPI' }],
23+
['meta', { property: 'og:image', content: 'https://dynapi.github.io/dynapi.svg' }],
24+
['meta', { property: 'og:url', content: 'https://dynapi.github.io/' }],
1825
],
1926
themeConfig: {
20-
logo: '/dynapi.svg',
27+
logo: {
28+
src: '/dynapi.svg',
29+
width: 24,
30+
height: 24,
31+
},
2132
socialLinks: [
2233
{ icon: 'github', link: 'https://github.com/DynAPI/org.dynapi.dynapi' },
2334
],

src/webpage/.vitepress/nav.mts

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default <DefaultTheme.NavItem[]>[
2121
},
2222
{
2323
text: "DynAPI (v1)",
24-
link: 'https://github.com/DynAPI/DynAPI',
24+
link: 'https://github.com/DynAPI/DynAPI-v1',
2525
target: '_blank',
2626
},
2727
{
@@ -46,7 +46,7 @@ export default <DefaultTheme.NavItem[]>[
4646
},
4747
{
4848
text: "org.dynapi:json-schema-gen",
49-
link: 'https://github.com/DynAPI/org.dynapi.jsonschemagen',
49+
link: 'https://github.com/DynAPI/org.dynapi.json-schema-gen',
5050
target: '_blank',
5151
},
5252
]

src/webpage/src/index.md

+14-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
layout: home
3+
title: DynAPI | an out-of-the-box Dynamic API for many databases
34

45
hero:
56
name: "DynAPI"
6-
text: "an out-of-the-box <span style=\"color: #6196ff;\">Dyn</span>amic <span style=\"color: #6196ff\">API</span><br>for many Databases"
7+
text: "an out-of-the-box <span style=\"color: #6196ff;\">Dyn</span>amic <span style=\"color: #6196ff\">API</span><br>for many databases"
78
tagline: currently under development
89
image:
910
src: /dynapi.svg
@@ -17,7 +18,7 @@ hero:
1718
# link: /references
1819
- theme: alt
1920
text: DynAPI (V1)
20-
link: https://github.com/DynAPI/DynAPI
21+
link: https://github.com/DynAPI/DynAPI-v1
2122
- theme: alt
2223
text: See on GitHub
2324
link: https://github.com/DynAPI/org.dynapi.dynapi
@@ -29,12 +30,12 @@ features:
2930
- title: Secure
3031
icon: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-shield"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"/></svg>
3132
details: With an (optional) builtin User-Control-System you can limit the access to your data or make it publicly available.
33+
- title: Full Control
34+
icon: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings-2"><path d="M20 7h-9"/><path d="M14 17H5"/><circle cx="17" cy="17" r="3"/><circle cx="7" cy="7" r="3"/></svg>
35+
details: In case you don't want to reveal your whole database, it is possible to configure which parts are available. This can be combined with the User-Control-System.
3236
- title: Realtime updates
3337
icon: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-database-backup"><ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M3 12a9 3 0 0 0 5 2.69"/><path d="M21 9.3V5"/><path d="M3 5v14a9 3 0 0 0 6.47 2.88"/><path d="M12 12v4h4"/><path d="M13 20a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L12 16"/></svg>
3438
details: The moment you make changes to the database it is reflected in the API. No need to restart the Server or wait ages for it to synchronise.
35-
- title: Full Control
36-
icon: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings-2"><path d="M20 7h-9"/><path d="M14 17H5"/><circle cx="17" cy="17" r="3"/><circle cx="7" cy="7" r="3"/></svg>
37-
details: In case you don't want to reveal your whole database it is possible to configure which parts are available.
3839
---
3940

4041
<script setup>
@@ -44,7 +45,13 @@ import { data as databases } from "/data/databases.data.ts";
4445
import { data as members } from "/data/members.data.ts";
4546
</script>
4647

47-
<style scoped>
48+
<style>
49+
:root {
50+
--vp-home-hero-name-color: #6196ff;
51+
--vp-home-hero-image-background-image: linear-gradient(#6196ff80, #6196ff80);
52+
--vp-home-hero-image-filter: blur(100px);
53+
}
54+
4855
#dbms-links {
4956
display: flex;
5057
justify-content: space-around;
@@ -141,7 +148,7 @@ It can be used to generate simple or complex SQL queries.
141148
OpenApiSpec can be used to generate [OpenApi-Specification](https://swagger.io/specification/).
142149
This specification can then be used in combination with [Swagger-UI](https://swagger.io/tools/swagger-ui/) or [ReDoc](https://redocly.com/) to add a beautiful documentation to your Restful API.
143150

144-
### [org.dynapi:json-schema-gen](https://github.com/dynapi/org.dynapi.jsonschemagen)
151+
### [org.dynapi:json-schema-gen](https://github.com/dynapi/org.dynapi.json-schema-gen)
145152

146153
> Simple json-schema Generation Library
147154

0 commit comments

Comments
 (0)