Skip to content

Commit

Permalink
Documentation component
Browse files Browse the repository at this point in the history
  • Loading branch information
tacheraSasi committed Dec 1, 2024
1 parent 38268e8 commit ff762eb
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
Binary file added binaries/vintLang_mac_amd64_v0.1.0.tar.gz
Binary file not shown.
Binary file removed vint.upx
Binary file not shown.
18 changes: 18 additions & 0 deletions website/components/docs/Documentation.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import React from "react";
import { fetchMarkdown } from "@/lib/utils";
import SectionHeader from "./SectionHeader";
// import MarkdownRenderer from "../MarkdownRender";
import { Markdown } from "../Markdown";

export const revalidate = 60; // Revalidate every 60 seconds (ISR)

export default async function Documentation() {
const markdown = await fetchMarkdown("get-started.md");

return (
<div className="p-6" id="installation">
<SectionHeader title="Installation" />
<Markdown>{markdown}</Markdown>
</div>
);
}

0 comments on commit ff762eb

Please sign in to comment.