Skip to content
Snippets Groups Projects
Commit b86fd756 authored by Julien MARGAIL's avatar Julien MARGAIL
Browse files

remove ref of gatsby-theme-news

parent 5fa1f09a
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,6 @@ import { graphql, PageProps, Link } from "gatsby";
import Layout from "../layouts/layout";
// import Cards from "../../../gatsby-theme-news/src/components/cards";
import { Cards } from "@onegeo/gatsby-theme-news";
function Index({ data }: PageProps): ReactElement {
// @ts-ignore
......@@ -37,22 +36,7 @@ function Index({ data }: PageProps): ReactElement {
</div>
</section>
<div className="max-w-7xl mx-auto mt-20 px-5 text-gray-800 pb-10">
<div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-12">
{sd.map((file: any) => {
return (
<Cards
id={file.id}
title={file.title}
content={file.content}
image={file.image}
image_url={file.image_url}
author={file.author}
creation={file.created_at}
template="mamba"
/>
);
})}
</div>
<div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-12"></div>
</div>
<div className="w-full text-center text-2xl mt-10">
Gatsby Theme pour le portail Onegeo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment