This commit is contained in:
@@ -8,5 +8,11 @@ const t = useTranslations(Astro.url);
|
||||
---
|
||||
|
||||
<Layout title="Max Richter">
|
||||
{resources.map((resource) => <HeroCard post={{...resource, body: t(`${resource.id}.description`), data: {cover:{src:resource.cover}, title: t(resource.id)}}} />)}
|
||||
{resources.map((resource) =>
|
||||
<HeroCard post={{
|
||||
...resource,
|
||||
body: t(`${resource.id}.description`),
|
||||
data: {
|
||||
cover:{src:resource.cover}, title: t(resource.id)}}} />
|
||||
)}
|
||||
</Layout>
|
||||
|
||||
@@ -6,16 +6,6 @@ export type ResourceType = {
|
||||
cover: string;
|
||||
};
|
||||
|
||||
// const wiki = {
|
||||
// id: "wiki",
|
||||
// collection,
|
||||
// body: "My knowledge base",
|
||||
// data: {
|
||||
// title: "Wiki",
|
||||
// icon: "🧠",
|
||||
// },
|
||||
// };
|
||||
|
||||
const articles = {
|
||||
id: "articles",
|
||||
collection,
|
||||
|
||||
Reference in New Issue
Block a user