mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-12 13:53:03 -05:00
feat: add contributors section
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user