-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from unify-ui-dev/dev
Add markdown content files
- Loading branch information
Showing
109 changed files
with
16,815 additions
and
1,688 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,41 @@ | ||
import { defineConfig } from 'astro/config'; | ||
import { defineConfig } from "astro/config"; | ||
import UnoCSS from "unocss/astro"; | ||
import preact from "@astrojs/preact"; | ||
import mdx from "@astrojs/mdx"; | ||
import { transformerNotationDiff } from 'shikiji-transformers'; | ||
import { transformerNotationDiff } from "shikiji-transformers"; | ||
import vercel from "@astrojs/vercel/serverless"; | ||
import sitemap from "@astrojs/sitemap"; | ||
|
||
import partytown from "@astrojs/partytown"; | ||
|
||
import db from "@astrojs/db"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
redirects: { | ||
'/docs': { | ||
"/docs": { | ||
status: 302, | ||
destination: '/docs/getting-started' | ||
} | ||
destination: "/docs/getting-started", | ||
}, | ||
}, | ||
site: 'https://flexilla-docs.vercel.app', | ||
site: "https://flexilla-docs.vercel.app", | ||
markdown: { | ||
shikiConfig: { | ||
theme: "css-variables", | ||
transformers: [transformerNotationDiff()] | ||
} | ||
transformers: [transformerNotationDiff()], | ||
}, | ||
}, | ||
integrations: [UnoCSS({ | ||
injectReset: true | ||
}), preact(), mdx(), sitemap(), | ||
partytown( | ||
{ | ||
integrations: [ | ||
UnoCSS({ | ||
injectReset: true, | ||
}), | ||
preact(), | ||
mdx(), | ||
partytown({ | ||
config: { | ||
forward: ["dataLayer.push"], | ||
}, | ||
} | ||
) | ||
], | ||
forward: ["dataLayer.push"], | ||
}, | ||
}), | ||
db(), | ||
], | ||
output: "server", | ||
adapter: vercel() | ||
}); | ||
adapter: vercel(), | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { column, defineDb, defineTable } from 'astro:db'; | ||
|
||
|
||
const NewsLetter = defineTable({ | ||
columns: { | ||
id: column.number({ primaryKey: true }), | ||
email: column.text({ unique: true }), | ||
appSubsribed: column.text() | ||
} | ||
}) | ||
|
||
// https://astro.build/db/config | ||
export default defineDb({ | ||
tables: { NewsLetter } | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { db } from 'astro:db'; | ||
|
||
// https://astro.build/db/seed | ||
export default async function seed() { | ||
// TODO | ||
} |
Oops, something went wrong.