Import repositories from gitlab

This commit is contained in:
Julien Aldon
2026-01-19 11:43:59 +01:00
commit 68b7405c52
131 changed files with 17192 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import { BlocksRenderer } from "@strapi/blocks-react-renderer";
import Button from "../button";
import styles from "./style.module.scss";
export default function ArticleBlock({title, content, link, className, ...props}) {
return (
<article {...props} className={`${styles.articleBlock} ${className ?? ''}`}>
<h4>{title}</h4>
{content ? <BlocksRenderer content={content}/> : null}
<Button
type="secondary"
as="a"
href={link}
target="_blank"
>
Lire la suite
</Button>
</article>
);
}

View File

@@ -0,0 +1,17 @@
.articleBlock {
display: flex;
flex-direction: column;
h4 {
margin: 1rem 0;
}
p {
margin: 0;
}
a {
margin-top: 1rem;
align-self: flex-end;
}
}