From 4f9e7451e331e87eb9e0ba729a2ad718d9710fcd Mon Sep 17 00:00:00 2001 From: Sahil Dahekar Date: Mon, 16 Dec 2024 16:34:32 +0530 Subject: [PATCH 1/2] refactor: removed unnecessary state use for hover effect (#3419) Co-authored-by: asyncapi-bot --- pages/community/tsc.tsx | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/pages/community/tsc.tsx b/pages/community/tsc.tsx index 755652736f1b..03040adfa4b6 100644 --- a/pages/community/tsc.tsx +++ b/pages/community/tsc.tsx @@ -1,5 +1,4 @@ import { sortBy } from 'lodash'; -import React, { useState } from 'react'; import type { Tsc } from '@/types/pages/community/Community'; @@ -66,11 +65,9 @@ function addAdditionalUserInfo(user: Tsc) { * @returns The Twitter SVG component. */ function TwitterSVG() { - const [isHovered, setIsHovered] = useState(false); - return ( -
setIsHovered(true)} onMouseLeave={() => setIsHovered(false)}> - +
+
); } @@ -81,11 +78,9 @@ function TwitterSVG() { * @returns The GitHub SVG component. */ function GitHubSVG() { - const [isHovered, setIsHovered] = useState(false); - return ( -
setIsHovered(true)} onMouseLeave={() => setIsHovered(false)}> - +
+
); } @@ -96,12 +91,9 @@ function GitHubSVG() { * @returns The LinkedIn SVG component. */ function LinkedInSVG() { - const [isHovered, setIsHovered] = useState(false); - return ( -
setIsHovered(true)} onMouseLeave={() => setIsHovered(false)}> - {/* Use the imported SVG icon component */} - +
+
); } From dc7d0d34265f3327fb12e2f2702b8252709eb8c6 Mon Sep 17 00:00:00 2001 From: Harsh <114167394+hkv24@users.noreply.github.com> Date: Mon, 16 Dec 2024 17:09:36 +0530 Subject: [PATCH 2/2] docs: broken link to generator github actions (Fixes #3190) (#3217) Co-authored-by: Ansh Goyal %0ACo-authored-by: asyncapi-bot --- markdown/blog/asyncapi-github-actions.md | 4 ++-- markdown/blog/status-update-47-20.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/markdown/blog/asyncapi-github-actions.md b/markdown/blog/asyncapi-github-actions.md index 54d0c3655082..1af6c08c183a 100644 --- a/markdown/blog/asyncapi-github-actions.md +++ b/markdown/blog/asyncapi-github-actions.md @@ -16,7 +16,7 @@ excerpt: AsyncAPI community got rich with two GitHub Actions that you can use fo --- > tl;dr -> AsyncAPI community got rich with two GitHub Actions that you can use for [validation](https://github.com/marketplace/actions/asyncapi-github-action) and [generation](https://github.com/marketplace/actions/generator-for-asyncapi-documents). +> AsyncAPI community got rich with two GitHub Actions that you can use for [validation](https://github.com/marketplace/actions/asyncapi-github-action) and [generation](https://github.com/marketplace/actions/generator-validator-converter-and-others-all-in-one-for-your-asyncapi-docs). GitHub organized a [hackathon for GitHub Actions](https://githubhackathon.com/#hackathon). There is no better reason to work on a solution if there is a bag of swags waiting for you @@ -25,7 +25,7 @@ The hackathon was only a trigger, the right moment to decide that we should enga Two AsyncAPI related actions we crafted in March are: - Our community member, [Waleed Ashraf](https://twitter.com/WaleedAshraf01/) created [an action](https://github.com/marketplace/actions/asyncapi-github-action) to validate AsyncAPI documents with our [parser](https://github.com/asyncapi/parser-js/) -- We also created [official AsyncAPI action](https://github.com/marketplace/actions/generator-for-asyncapi-documents) for our [generator](https://github.com/asyncapi/generator/). +- We also created [official AsyncAPI action](https://github.com/marketplace/actions/generator-validator-converter-and-others-all-in-one-for-your-asyncapi-docs) for our [generator](https://github.com/asyncapi/generator/). ## Writing a GitHub Action diff --git a/markdown/blog/status-update-47-20.md b/markdown/blog/status-update-47-20.md index 0f8edc497c17..1265e9b470b1 100644 --- a/markdown/blog/status-update-47-20.md +++ b/markdown/blog/status-update-47-20.md @@ -39,7 +39,7 @@ Try out the project by following :point_down: instructions: ### Generator GitHub Action 1.0 -Yes, our official [GitHub Action for Generator](https://github.com/marketplace/actions/generator-for-asyncapi-documents) already uses the latest Generator and is released under v1. +Yes, our official [GitHub Action for Generator](https://github.com/marketplace/actions/generator-validator-converter-and-others-all-in-one-for-your-asyncapi-docs) already uses the latest Generator and is released under v1. ```yaml - name: Generating HTML from my AsyncAPI document