+
diff --git a/website/components/docs/Installation.tsx b/website/components/docs/Installation.tsx
new file mode 100644
index 0000000..44dc402
--- /dev/null
+++ b/website/components/docs/Installation.tsx
@@ -0,0 +1,12 @@
+import React from 'react'
+import SectionHeader from './SectionHeader'
+
+const Installation = () => {
+ return (
+
+
+
+ )
+}
+
+export default Installation
\ No newline at end of file
diff --git a/website/components/docs/Introduction.tsx b/website/components/docs/Introduction.tsx
new file mode 100644
index 0000000..81d6260
--- /dev/null
+++ b/website/components/docs/Introduction.tsx
@@ -0,0 +1,18 @@
+import SectionHeader from "./SectionHeader";
+
+export function Introduction() {
+ return (
+
+
+
+ VintLang is a lightweight, expressive programming language designed to simplify modern development.
+ With its clean syntax and powerful core features, VintLang empowers developers to build anything from quick scripts
+ to robust enterprise-grade systems effortlessly.
+
+
+ Whether you're automating tasks, developing APIs, or crafting interactive applications, VintLang's modular and atomic
+ principles ensure scalability and maintainability for projects of any size.
+
+
+ );
+}
diff --git a/website/components/docs/SectionHeader.tsx b/website/components/docs/SectionHeader.tsx
new file mode 100644
index 0000000..2a691b2
--- /dev/null
+++ b/website/components/docs/SectionHeader.tsx
@@ -0,0 +1,15 @@
+import React from "react";
+
+interface SectionHeaderProps{
+ title:string
+}
+
+const SectionHeader = ({title}:SectionHeaderProps) => {
+ return (
+
+ {title}
+
+ );
+};
+
+export default SectionHeader;
diff --git a/website/components/docs/docs-header.tsx b/website/components/docs/docs-header.tsx
index 8417d7e..66be7a0 100644
--- a/website/components/docs/docs-header.tsx
+++ b/website/components/docs/docs-header.tsx
@@ -1,7 +1,9 @@
+import SectionHeader from "./SectionHeader";
+
export function DocsHeader() {
return (
-
-
Documentation
+
+
Welcome to the VintLang v2 documentation! VintLang's atomic approach to programming
scales from a simple useState
replacement
@@ -9,6 +11,6 @@ export function DocsHeader() {
)
- }
+}
\ No newline at end of file
diff --git a/website/components/docs/sidebar.tsx b/website/components/docs/sidebar.tsx
index 0b168a6..88bf70b 100644
--- a/website/components/docs/sidebar.tsx
+++ b/website/components/docs/sidebar.tsx
@@ -5,9 +5,14 @@ import { usePathname } from "next/navigation"
import { cn } from "@/lib/utils"
import { Button } from "@/components/ui/button"
import { Search } from "@/components/docs/search"
-import { FileText, BookOpen, HelpCircle, Github,ArrowDownToLine } from 'lucide-react'
+import { Hand,FileText, BookOpen, HelpCircle, Github,ArrowDownToLine } from 'lucide-react'
const navigation = [
+ {
+ name: "Introduction",
+ href: "#",
+ icon: Hand,
+ },
{
name: "Installation",
href: "#installation",
@@ -28,24 +33,24 @@ const navigation = [
href: "#sponsor",
icon: HelpCircle,
},
- {
- name: "Repository",
- href: "https://github.com/ekilie/vint-lang",
- icon: Github,
- },
+ // {
+ // name: "Repository",
+ // href: "https://github.com/ekilie/vint-lang",
+ // icon: Github,
+ // },
]
export function Sidebar() {
const pathname = usePathname()
return (
-
-
+
+
-
Vint
+
Vint
- Primitive and flexible state management for React
+ Modern Programming made simple
{/*
*/}
@@ -57,7 +62,7 @@ export function Sidebar() {
key={item.name}
variant={isActive ? "secondary" : "ghost"}
className={cn(
- "mb-1 w-full justify-start shadow-lg",
+ "mb-2 w-full p-6 justify-start shadow-lg rounded-lg border-2",
isActive ? "bg-accent" : "hover:bg-accent/50"
)}
asChild
@@ -71,18 +76,18 @@ export function Sidebar() {
})}
-
library by Daishi Kato
-
art by Jessie Waters
-
+
Language by Tachera Sasi
+
From ekilie
+ {/*
site by{" "}
- c
- o
- d
- y
- code
+ T
+ a
+ c
+ h
+ era
-
+ */}
)