Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[add] GitHub contributors page #22

Merged
merged 9 commits into from
Aug 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
401 error
luojiyin1987 committed Aug 6, 2024
commit f1e54aa7dc8aa7632de3dd51c77341a1978226ec
4 changes: 2 additions & 2 deletions pages/volunteer.tsx
Original file line number Diff line number Diff line change
@@ -7,12 +7,12 @@ import { Container, Row } from 'react-bootstrap';
import { PageHead } from '../components/PageHead';
import { PersonCard } from '../components/PersonCard';
import { SectionTitle } from '../components/SectionTitle';
import { GitRepositoryModel } from '../models/Repository';
import { repositoryStore } from '../models/Repository';

export const getServerSideProps = compose(cache(), errorLogger, async () => {
const contributors: Contributor[] =
// @ts-ignore
await new GitRepositoryModel().getAllContributors();
await new repositoryStore('kaiyuanshe').getAllContributors();

return { props: { contributors } };
});