feat: add doc page
CI / CI - Validation Technique (push) Failing after 37s

This commit is contained in:
2026-04-20 22:57:57 +02:00
parent af3fada37a
commit 45b64991eb
5 changed files with 36 additions and 11 deletions
+33
View File
@@ -0,0 +1,33 @@
// 'use client'
// import { useEffect, useState } from 'react'
// export default function AboutPage() {
// const [data, setData] = useState<any>(null)
// const [loading, setLoading] = useState(true)
// useEffect(() => {
// fetch((process.env.NEXT_PUBLIC_API_URL as string) + "/docs.json")
// .then((res) => res.json())
// .then((result) => {
// setData(result)
// setLoading(false)
// })
// .catch((err) => {
// console.error(err)
// setLoading(false)
// })
// }, [])
// return (
// <div className="p-6">
// <h1>About</h1>
// {loading && <p>Loading...</p>}
// {!loading && data && (
// <pre>{JSON.stringify(data, null, 2)}</pre>
// )}
// </div>
// )
// }