Skip to content

Commit

Permalink
removed individual contributor page
Browse files Browse the repository at this point in the history
  • Loading branch information
AceTheCreator committed Dec 5, 2022
1 parent 8e96934 commit e80c68b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 132 deletions.
127 changes: 0 additions & 127 deletions pages/community/contributors/[id].js

This file was deleted.

9 changes: 4 additions & 5 deletions pages/community/contributors/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import Link from 'next/link';
import React, { useState } from 'react';
import GenericLayout from '../../../components/layout/GenericLayout';
import Filter from '../../../components/navigation/Filter';
Expand All @@ -25,10 +24,10 @@ function Index() {
<div className="mt-10 grid grid-cols-1 gap-2 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5">
{posts.map((contributor, i) => {
return (
<Link
<a
key={i}
href={`/community/contributors/${contributor.github}`}
as={`/community/contributors/${contributor.github}`}
href={`https://github.com/${contributor.github}`}
target="_blank" rel="noreferrer"
>
<div className="rounded-md border cursor-pointer text-left mt-4 pb-2 hover:bg-primary-600 hover:text-white transition hover:ease-in-out duration:300">
<div className="flex justify-between p-2">
Expand All @@ -51,7 +50,7 @@ function Index() {
</div>
</div>
</div>
</Link>
</a>
);
})}
</div>
Expand Down

0 comments on commit e80c68b

Please sign in to comment.