Skip to content

Commit

Permalink
use public folder
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Mar 20, 2024
1 parent d0ca3b1 commit 7cdc182
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 15 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,4 @@ jspm_packages/

site/.vitepress/cache
dist
proof*.txt
public
proof*.txt
31 changes: 22 additions & 9 deletions site/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,30 @@ import { defineConfig } from 'vitepress'
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: 'Blumen',
description: 'a CLI and API library to deploy apps on the decentralized web using IPFS and Ethereum.',
description:
'a CLI to deploy apps on the decentralized web using IPFS and Ethereum.',
head: [
['link', { rel: 'icon', href: '/logo.png' }],
['meta', {
property: 'og:description',
content:
'a CLI to deploy apps on the decentralized web using IPFS and Ethereum.',
}],
['meta', {
property: 'og:image',
content: 'http://blumen.stauro.dev/blumen.jpg',
}],
],
themeConfig: {
nav: [{ text: 'Docs', link: '/' }],
search: {
provider: 'local',
},

logo: '/logo.png',
sidebar: [
{
text: 'Introduction',
link:'/',
link: '/',
items: [
{
text: 'Getting Started',
Expand All @@ -25,12 +38,12 @@ export default defineConfig({
},
{
text: 'Deploying with Safe',
link: '/docs/safe'
link: '/docs/safe',
},
{
text: 'DNSLink',
link: '/docs/dnslink'
}
link: '/docs/dnslink',
},
],
},
{
Expand All @@ -50,12 +63,12 @@ export default defineConfig({
},
{
text: 'Ping',
link: '/docs/cli/ping'
link: '/docs/cli/ping',
},
{
text: 'DNSLink',
link: '/docs/cli/dnslink'
}
link: '/docs/cli/dnslink',
},
],
},
],
Expand Down
4 changes: 2 additions & 2 deletions site/docs/dnslink.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ Blumen supports automatic DNS updates via [DNSLink](https://dnslink.dev). Right

Obtain Zone ID from the Cloudflare dashboard:

![Zone ID](./cf-zone-id.png)
![Zone ID](/cf-zone-id.png)

You will also need an API token with permissions for editing Web3 gateways:

![CF Token](./cf-token.png)
![CF Token](/cf-token.png)

Add your Zone ID and API token to environment:

Expand Down
2 changes: 1 addition & 1 deletion site/docs/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ We support a wide range of different IPFS providers. If you would like to integr

`BLUMEN_FILEBASE_TOKEN` for upload + pin is obtained by encoding access key and access secret to base64. Access key and access secret could be found in the Filebase console.

![Filebase console](filebase.png)
![Filebase console](/filebase.png)

The easiest way to generate an S3 API token is using the `base64` command:

Expand Down
2 changes: 1 addition & 1 deletion site/docs/safe.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ Your web app got deployed on IPFS. The last step is approving a transaction prop

Go back to the Safe app > Transactions and confirm your deployment:

![Safe app](safe.jpg)
![Safe app](/safe.jpg)

Once it finishes getting processed, your ENS record should start pointing to your new deployment. Now your web app should be discoverable through any ENS gateway (such as .eth.limo).
Binary file added site/public/blumen.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit 7cdc182

Please sign in to comment.