Skip to content

Commit bf9dfe7

Browse files
authored
Merge pull request #655 from polkadot-fellows/nik-replace-rfc-dashboard-link
replace RFC dashboard link
2 parents a3c92e5 + f4c1793 commit bf9dfe7

File tree

3 files changed

+31
-23
lines changed

3 files changed

+31
-23
lines changed

src/pages/Membership/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export const Membership = () => {
168168
variant="default"
169169
onClick={() =>
170170
openInNewTab(
171-
'https://spiced-longship-f1a.notion.site/e16a241b7b924addaf6d761932a44584?v=c33adcf51bc5424ab6afb29d1f101048&pvs=4',
171+
'https://polkadottechnicalfellowship.notion.site/13d96f88d0a780748a8ec307db640fee?v=13d96f88d0a78134816b000c673faeaf',
172172
)
173173
}
174174
>

src/pages/Rfc/RFCText.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const RFCText = () => {
4444
<p>
4545
A list of all RFCs with their latest status can be found in the{' '}
4646
<ThemedLink
47-
to="https://spiced-longship-f1a.notion.site/abbeb769972f4aa0afbfe41cac4544f1?v=0e62d5198aa443d0a816165387b6ede9"
47+
to="https://polkadottechnicalfellowship.notion.site/RFC-Dashboard-13396f88d0a7805c9827c7f3026fbb5e"
4848
target="_blank"
4949
>
5050
RFC Dashboard

src/pages/Rfc/index.tsx

Lines changed: 29 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -28,46 +28,54 @@ export const Rfc = () => {
2828
{data ? (
2929
data.length ? (
3030
data!.map((d: any) => {
31+
if (d.number === 130) {
32+
console.log('d', d)
33+
}
3134
return (
3235
<div className="flex w-full justify-between">
33-
<div className="w-[65%] rounded-bl-lg rounded-tl-lg border-2 p-2">
34-
<Link
35-
to={`https://www.github.com/${GithubOwner}/${GithubRfc}/pull/${d.number}`}
36-
target="_blank"
37-
rel="noreferrer"
38-
className="word-break my-10 mb-2 h-10 font-semibold text-primary"
39-
>
40-
#{d.number} - {d.title}
41-
</Link>
42-
</div>
43-
<div className="flex w-[35%] items-center justify-between rounded-br-lg rounded-tr-lg border-2 border-l-0 bg-gray-100 p-2 dark:bg-gray-800">
44-
<div className="w-[70%]">
36+
<div className="flex w-[35%] items-center justify-between rounded-bl-lg rounded-tl-lg border-2 bg-gray-100 p-2 dark:bg-gray-800">
37+
<div className="w-[30%]">
4538
<Link
4639
to={d.user.html_url}
4740
target="_blank"
4841
rel="noreferrer"
4942
className="text-sm font-bold"
5043
>
51-
{d.user.login}
44+
<img
45+
style={{ borderRadius: '10rem', width: '4rem' }}
46+
src={`${d.user.avatar_url}`}
47+
/>
5248
</Link>
53-
<p className="text-xs font-bold text-primary">
54-
{new Date(d.created_at).toDateString()}
55-
</p>
5649
</div>
57-
<div className="w-[30%]">
50+
<div className="w-[70%]">
5851
<Link
5952
to={d.user.html_url}
6053
target="_blank"
6154
rel="noreferrer"
6255
className="text-sm font-bold"
6356
>
64-
<img
65-
style={{ borderRadius: '10rem', width: '4rem' }}
66-
src={`${d.user.avatar_url}`}
67-
/>
57+
{d.user.login}
6858
</Link>
59+
<p className="text-xs font-bold text-primary">
60+
{new Date(d.created_at).toDateString()}
61+
</p>
6962
</div>
7063
</div>
64+
<div className="flex w-[10%] items-center border-2 border-l-0 border-r-0 p-2">
65+
<p className="text-xs">
66+
{(d?.labels && d?.labels[0]?.name) || '-'}
67+
</p>
68+
</div>
69+
<div className="w-[55%] rounded-br-lg rounded-tr-lg border-2 p-2">
70+
<Link
71+
to={`https://www.github.com/${GithubOwner}/${GithubRfc}/pull/${d.number}`}
72+
target="_blank"
73+
rel="noreferrer"
74+
className="word-break my-10 mb-2 h-10 font-semibold text-primary"
75+
>
76+
#{d.number} - {d.title}
77+
</Link>
78+
</div>
7179
</div>
7280
)
7381
})

0 commit comments

Comments
 (0)