feat: add contributors section

This commit is contained in:
thomas
2024-03-09 21:22:54 +01:00
parent 62a91c5767
commit 62b0def9ab
138 changed files with 436 additions and 10 deletions

View File

@@ -5,6 +5,7 @@ import { getEntry } from 'astro:content';
import Author from './Author.astro';
import ChallengeFooter from './ChallengeFooter.astro';
import CommentSection from './CommentSection.astro';
import ContributorsFooter from './ContributorsFooter.astro';
const { lang } = Astro.props;
const { data } = await getEntry('i18n', lang);
@@ -26,6 +27,8 @@ const renderCommentSection = !Astro.props.entry.data.noCommentSection;
{ renderCommentSection &&
<CommentSection {...Astro.props} /> }
<ContributorsFooter {...Astro.props} />
<style>
.author {
margin-top: -1rem;