20 lines
458 B
TypeScript
20 lines
458 B
TypeScript
import { DbGraph } from './db_graph.tsx'
|
|
import { siteDb } from './site_db_manual.ts'
|
|
// import { fetchDbFromSite } from './fetch_db_from_site.ts'
|
|
|
|
//! Blocked by server config, return empty content
|
|
//! Get datas manually (site_db_manual.ts)
|
|
// const siteDb = await fetchDbFromSite('https://www.pierregrangepraderas.net/')
|
|
|
|
/**
|
|
* Main content
|
|
*/
|
|
export function App() {
|
|
return (
|
|
<main>
|
|
<h1>Live example</h1>
|
|
<DbGraph db={siteDb} />
|
|
</main>
|
|
)
|
|
}
|