2024-01-23 14:13:26 +01:00
|
|
|
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/')
|
|
|
|
|
2024-01-23 14:30:10 +01:00
|
|
|
/**
|
|
|
|
* Main content
|
|
|
|
*/
|
2024-01-23 14:13:26 +01:00
|
|
|
export function App() {
|
|
|
|
return (
|
|
|
|
<main>
|
2024-01-23 14:34:49 +01:00
|
|
|
<h1>Live example</h1>
|
2024-01-23 14:13:26 +01:00
|
|
|
<DbGraph db={siteDb} />
|
|
|
|
</main>
|
|
|
|
)
|
|
|
|
}
|