bring in khatru and eventstore.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
cache
|
||||
dist
|
||||
@@ -0,0 +1,42 @@
|
||||
export default {
|
||||
lang: 'en-US',
|
||||
title: 'khatru',
|
||||
description: 'a framework for making Nostr relays',
|
||||
themeConfig: {
|
||||
logo: '/logo.png',
|
||||
nav: [
|
||||
{text: 'Home', link: '/'},
|
||||
{text: 'Why', link: '/why'},
|
||||
{text: 'Docs', link: '/getting-started'},
|
||||
{text: 'Source', link: 'https://github.com/fiatjaf/khatru'}
|
||||
],
|
||||
sidebar: [
|
||||
{
|
||||
text: 'Core Concepts',
|
||||
items: [
|
||||
{ text: 'Event Storage', link: '/core/eventstore' },
|
||||
{ text: 'Authentication', link: '/core/auth' },
|
||||
{ text: 'HTTP Integration', link: '/core/embed' },
|
||||
{ text: 'Request Routing', link: '/core/routing' },
|
||||
{ text: 'Management API', link: '/core/management' },
|
||||
{ text: 'Media Storage (Blossom)', link: '/core/blossom' },
|
||||
]
|
||||
},
|
||||
{
|
||||
text: 'Cookbook',
|
||||
items: [
|
||||
{ text: 'Search', link: '/cookbook/search' },
|
||||
{ text: 'Dynamic Relays', link: '/cookbook/dynamic' },
|
||||
{ text: 'Generating Events Live', link: '/cookbook/custom-live-events' },
|
||||
{ text: 'Custom Stores', link: '/cookbook/custom-stores' },
|
||||
{ text: 'Using something like Google Drive', link: '/cookbook/google-drive' },
|
||||
]
|
||||
}
|
||||
],
|
||||
editLink: {
|
||||
pattern: 'https://github.com/fiatjaf/khatru/edit/master/docs/:path'
|
||||
}
|
||||
},
|
||||
head: [['link', {rel: 'icon', href: '/logo.png'}]],
|
||||
cleanUrls: true
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<script setup>
|
||||
import DefaultTheme from 'vitepress/theme'
|
||||
const {Layout} = DefaultTheme
|
||||
</script>
|
||||
<template>
|
||||
<Layout>
|
||||
<template #layout-bottom>
|
||||
<div class="khatru-layout-bottom">~</div>
|
||||
</template>
|
||||
</Layout>
|
||||
</template>
|
||||
@@ -0,0 +1,24 @@
|
||||
:root {
|
||||
--vp-c-brand-1: #2eafab;
|
||||
--vp-c-brand-2: #30373b;
|
||||
--vp-c-brand-3: #3b6a3e;
|
||||
--vp-button-brand-bg: #2eafab;
|
||||
--vp-button-brand-hover-bg: #3b6a3e;
|
||||
--vp-button-brand-active-bg: #30373b;
|
||||
|
||||
--vp-c-bg: #f2e6e2;
|
||||
--vp-c-bg-soft: #f3f2f0;
|
||||
}
|
||||
|
||||
.dark {
|
||||
--vp-c-bg: #0a0a08;
|
||||
--vp-c-bg-soft: #161a0e;
|
||||
}
|
||||
|
||||
.khatru-layout-bottom {
|
||||
margin: 2rem auto;
|
||||
width: 200px;
|
||||
text-align: center;
|
||||
font-family: monospace;
|
||||
font-size: 2rem;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import DefaultTheme from 'vitepress/theme'
|
||||
import NostrifyLayout from './Layout.vue'
|
||||
import './custom.css'
|
||||
|
||||
export default {
|
||||
extends: DefaultTheme,
|
||||
Layout: NostrifyLayout
|
||||
}
|
||||
Reference in New Issue
Block a user