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

feat: added link to YT video to TSC page #1141

Merged
merged 10 commits into from
Dec 6, 2022
10 changes: 9 additions & 1 deletion pages/community/tsc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import GenericLayout from "../../components/layout/GenericLayout";
import TSCMembersList from "../../config/TSC_MEMBERS.json";
import {sortBy} from 'lodash';
import NewsletterSubscribe from "../../components/NewsletterSubscribe";
import Link from 'next/link'

function addAdditionalUserInfo(user) {
const userData = {
Expand Down Expand Up @@ -225,7 +226,14 @@ function QuestionCard() {
src="/img/avatars/questionmark.webp"
className="mx-auto rounded-full h-20 w-20 xl:w-28 xl:h-28"
/>
<div className="my-4">Become a member!</div>
<div className="my-4">
Want to become a member?
Follow this
<Link href='https://www.youtube.com/watch?v=uG_aLF9Z1F0'>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, use TextLink component https://github.com/asyncapi/website/blob/master/components/typography/TextLink.js, along with target="blank" to open the video in new tab.

<span className="text-sky-600 cursor-pointer"> Link </span>
</Link>
to know more!
</div>
</li>
);
}
Expand Down