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

fix: #3597 removed swags and goodies card #3598

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

anmolyadav-dev
Copy link
Contributor

@anmolyadav-dev anmolyadav-dev commented Jan 22, 2025

Description

commented the swag store link
added an additional prop to card to add addtional styles in card
fixed the allignment of left card

attached output :

Screenshot from 2025-01-22 16-23-37

Related issue(s)
<Fixes: #3597

Summary by CodeRabbit

  • New Features

    • Added optional customClasses property to Card component for enhanced styling flexibility.
  • Style

    • Replaced single quotes with double quotes in JSX attributes for consistency.
    • Improved code formatting and readability in the CommunityIndexPage component.

Copy link
Contributor

coderabbitai bot commented Jan 22, 2025

Walkthrough

The pull request introduces a new optional property customClasses to the CardProps interface in the Card component, enhancing its styling capabilities. Additionally, there are formatting changes in the pages/community/index.tsx file, primarily focused on converting single quotes to double quotes and improving readability. The core functionality of the components remains unchanged, with the primary focus on stylistic updates.

Changes

File Change Summary
components/community/Card.tsx - Added optional customClasses property to CardProps interface
- Updated component to use customClasses in className
- Replaced single quotes with double quotes
- Minor formatting adjustments
pages/community/index.tsx - Converted single quotes to double quotes
- Reformatted some JSX elements for readability

Assessment against linked issues

Objective Addressed Explanation
Hide AsyncAPI swag store link [#3597] The provided changes do not address the removal of the swag store link.

Possibly related PRs

Suggested labels

ready-to-merge

Suggested reviewers

  • derberg
  • magicmatatjahu
  • devilkiller-ag
  • akshatnema
  • sambhavgupta0705
  • Mayaleeeee
  • anshgoyalevil

Poem

🐰 A card with classes so neat,
Styling flexibility, what a treat!
Quotes aligned, code looking fine,
A rabbit's touch, simply divine!
Hop along, code's looking bright! 🎨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

netlify bot commented Jan 22, 2025

Deploy Preview for asyncapi-website ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit f498446
🔍 Latest deploy log https://app.netlify.com/sites/asyncapi-website/deploys/6790d030ae4b8b0008fb6477
😎 Deploy Preview https://deploy-preview-3598--asyncapi-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@asyncapi-bot
Copy link
Contributor

asyncapi-bot commented Jan 22, 2025

⚡️ Lighthouse report for the changes in this PR:

Category Score
🔴 Performance 36
🟢 Accessibility 98
🟢 Best practices 92
🟢 SEO 100
🔴 PWA 33

Lighthouse ran on https://deploy-preview-3598--asyncapi-website.netlify.app/

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
pages/community/index.tsx (1)

209-209: Remove trailing space in customClasses value.

The padding class has an unnecessary trailing space.

-            customClasses="p-8 "
+            customClasses="p-8"
🧰 Tools
🪛 eslint

[error] 209-209: Replace "p-8·" with 'p-8·'

(prettier/prettier)


[error] 209-209: Unexpected usage of doublequote.

(jsx-quotes)

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a817f85 and 563ca79.

📒 Files selected for processing (2)
  • components/community/Card.tsx (3 hunks)
  • pages/community/index.tsx (2 hunks)
🧰 Additional context used
🪛 eslint
components/community/Card.tsx

[error] 50-50: Delete ,

(prettier/prettier)


[error] 50-50: Unexpected trailing comma.

(comma-dangle)


[error] 57-57: Replace "Card-small-bg" with 'Card-small-bg'

(prettier/prettier)


[error] 57-57: Unexpected usage of doublequote.

(jsx-quotes)


[error] 59-59: Replace "flex·w-min·justify-between·rounded-xl·bg-gray-100·p-2·text-center·text-xs" with 'flex·w-min·justify-between·rounded-xl·bg-gray-100·p-2·text-center·text-xs'

(prettier/prettier)


[error] 59-59: Unexpected usage of doublequote.

(jsx-quotes)


[error] 60-60: Replace "ml-[5px]" with 'ml-[5px]'

(prettier/prettier)


[error] 60-60: Unexpected usage of doublequote.

(jsx-quotes)


[error] 62-62: Replace "mt-3"·data-testid="Card-heading" with 'mt-3'·data-testid='Card-heading'

(prettier/prettier)


[error] 62-62: Unexpected usage of doublequote.

(jsx-quotes)


[error] 62-62: Unexpected usage of doublequote.

(jsx-quotes)


[error] 67-67: Replace "mt-2"·data-testid="Card-desc" with 'mt-2'·data-testid='Card-desc'

(prettier/prettier)


[error] 67-67: Unexpected usage of doublequote.

(jsx-quotes)


[error] 67-67: Unexpected usage of doublequote.

(jsx-quotes)


[error] 68-71: Replace ⏎··············textColor={bg·===·'bg-white'·?·'text-gray-600'·:·'text-black'}⏎··············typeStyle={ParagraphTypeStyle.sm}⏎············ with ·textColor={bg·===·'bg-white'·?·'text-gray-600'·:·'text-black'}·typeStyle={ParagraphTypeStyle.sm}

(prettier/prettier)


[error] 75-78: Replace ⏎············className="flex·w-full·justify-end·text-right"⏎············data-testid="Card-icon"⏎·········· with ·className='flex·w-full·justify-end·text-right'·data-testid='Card-icon'

(prettier/prettier)


[error] 76-76: Unexpected usage of doublequote.

(jsx-quotes)


[error] 77-77: Unexpected usage of doublequote.

(jsx-quotes)


[error] 79-79: Replace "w-[20px]" with 'w-[20px]'

(prettier/prettier)


[error] 79-79: Unexpected usage of doublequote.

(jsx-quotes)


[error] 89-89: Replace "Card-lg-bg" with 'Card-lg-bg'

(prettier/prettier)


[error] 89-89: Unexpected usage of doublequote.

(jsx-quotes)


[error] 93-93: Replace "Card-lg-tagline" with 'Card-lg-tagline'

(prettier/prettier)


[error] 93-93: Unexpected usage of doublequote.

(jsx-quotes)


[error] 95-95: Replace "ml-[5px]" with 'ml-[5px]'

(prettier/prettier)


[error] 95-95: Unexpected usage of doublequote.

(jsx-quotes)


[error] 98-98: Replace "mt-10"·data-testid="Card-heading-lg" with 'mt-10'·data-testid='Card-heading-lg'

(prettier/prettier)


[error] 98-98: Unexpected usage of doublequote.

(jsx-quotes)


[error] 98-98: Unexpected usage of doublequote.

(jsx-quotes)


[error] 99-103: Replace ⏎··········level={HeadingLevel.h1}⏎··········typeStyle={HeadingTypeStyle.lg}⏎··········textColor={bg·&&·'text-white'}⏎········ with ·level={HeadingLevel.h1}·typeStyle={HeadingTypeStyle.lg}·textColor={bg·&&·'text-white'}

(prettier/prettier)


[error] 107-107: Replace "mt-6"·data-testid="Card-desc-lg" with 'mt-6'·data-testid='Card-desc-lg'

(prettier/prettier)


[error] 107-107: Unexpected usage of doublequote.

(jsx-quotes)


[error] 107-107: Unexpected usage of doublequote.

(jsx-quotes)


[error] 110-110: Replace "mt-10" with 'mt-10'

(prettier/prettier)


[error] 110-110: Unexpected usage of doublequote.

(jsx-quotes)


[error] 111-111: Replace "Card-link-lg" with 'Card-link-lg'

(prettier/prettier)


[error] 111-111: Unexpected usage of doublequote.

(jsx-quotes)


[error] 113-114: Replace {'·'}⏎············<span·className="ml-2·text-sm" with ·<span·className='ml-2·text-sm'

(prettier/prettier)


[error] 114-114: Unexpected usage of doublequote.

(jsx-quotes)

pages/community/index.tsx

[error] 31-31: Replace "AsyncAPI·Community·Meetings" with 'AsyncAPI·Community·Meetings'

(prettier/prettier)


[error] 31-31: Unexpected usage of doublequote.

(jsx-quotes)


[error] 32-32: Replace "The·home·for·developer·communities" with 'The·home·for·developer·communities'

(prettier/prettier)


[error] 32-32: Unexpected usage of doublequote.

(jsx-quotes)


[error] 36-36: Replace "mt-15·md:hidden" with 'mt-15·md:hidden'

(prettier/prettier)


[error] 36-36: Unexpected usage of doublequote.

(jsx-quotes)


[error] 40-40: Replace "gh-img·mt-10·h-auto·w-full·object-contain·md:mt-0" with 'gh-img·mt-10·h-auto·w-full·object-contain·md:mt-0'

(prettier/prettier)


[error] 40-40: Unexpected usage of doublequote.

(jsx-quotes)


[error] 41-45: Replace ⏎··········className="gh-img·object-contain"⏎··········src="/img/homepage/discuss-page.webp"⏎··········alt="github-discussion"⏎······· with ·className='gh-img·object-contain'·src='/img/homepage/discuss-page.webp'·alt='github-discussion'

(prettier/prettier)


[error] 42-42: Unexpected usage of doublequote.

(jsx-quotes)


[error] 43-43: Unexpected usage of doublequote.

(jsx-quotes)


[error] 44-44: Unexpected usage of doublequote.

(jsx-quotes)


[error] 47-47: Replace "mt-20·flex·flex-col·items-center·justify-center·text-center" with 'mt-20·flex·flex-col·items-center·justify-center·text-center'

(prettier/prettier)


[error] 47-47: Unexpected usage of doublequote.

(jsx-quotes)


[error] 55-55: Replace "text-gray-700" with 'text-gray-700'

(prettier/prettier)


[error] 55-55: Unexpected usage of doublequote.

(jsx-quotes)


[error] 56-56: Replace "text-slate-500" with 'text-slate-500'

(prettier/prettier)


[error] 56-56: Unexpected usage of doublequote.

(jsx-quotes)


[error] 58-59: Delete ⏎···········

(prettier/prettier)


[error] 63-63: Replace "CommunityIndex-HomeCard" with 'CommunityIndex-HomeCard'

(prettier/prettier)


[error] 63-63: Unexpected usage of doublequote.

(jsx-quotes)


[error] 65-65: Replace "Thanking·our·AsyncAPI·Ambassadors" with 'Thanking·our·AsyncAPI·Ambassadors'

(prettier/prettier)


[error] 65-65: Unexpected usage of doublequote.

(jsx-quotes)


[error] 66-66: Replace "Ambassador·Programs" with 'Ambassador·Programs'

(prettier/prettier)


[error] 66-66: Unexpected usage of doublequote.

(jsx-quotes)


[error] 69-69: Replace "Become·an·ambassador" with 'Become·an·ambassador'

(prettier/prettier)


[error] 69-69: Unexpected usage of doublequote.

(jsx-quotes)


[error] 70-70: Replace "/community/ambassadors" with '/community/ambassadors'

(prettier/prettier)


[error] 70-70: Unexpected usage of doublequote.

(jsx-quotes)


[error] 71-71: Replace "bg-ambassador" with 'bg-ambassador'

(prettier/prettier)


[error] 71-71: Unexpected usage of doublequote.

(jsx-quotes)


[error] 74-74: Replace "mt-20·w-full·md:flex·md:justify-between" with 'mt-20·w-full·md:flex·md:justify-between'

(prettier/prettier)


[error] 74-74: Unexpected usage of doublequote.

(jsx-quotes)


[error] 75-78: Replace ⏎··········className="text-white·md:w-1/2"⏎··········data-testid="CommunityIndex-IssuesCard"⏎········ with ·className='text-white·md:w-1/2'·data-testid='CommunityIndex-IssuesCard'

(prettier/prettier)


[error] 76-76: Unexpected usage of doublequote.

(jsx-quotes)


[error] 77-77: Unexpected usage of doublequote.

(jsx-quotes)


[error] 80-80: Replace "bg-pink-100" with 'bg-pink-100'

(prettier/prettier)


[error] 80-80: Unexpected usage of doublequote.

(jsx-quotes)


[error] 81-81: Replace "bg-code-editor-dark" with 'bg-code-editor-dark'

(prettier/prettier)


[error] 81-81: Unexpected usage of doublequote.

(jsx-quotes)


[error] 82-82: Replace "Explore·and·Contribute·to·Hot·Issues" with 'Explore·and·Contribute·to·Hot·Issues'

(prettier/prettier)


[error] 82-82: Unexpected usage of doublequote.

(jsx-quotes)


[error] 83-83: Replace "Discover·over·100s·of·interesting·issues,·suitable·for·new·and·existing·contributors." with 'Discover·over·100s·of·interesting·issues,·suitable·for·new·and·existing·contributors.'

(prettier/prettier)


[error] 83-83: Unexpected usage of doublequote.

(jsx-quotes)


[error] 84-84: Replace "Issues" with 'Issues'

(prettier/prettier)


[error] 84-84: Unexpected usage of doublequote.

(jsx-quotes)


[error] 85-85: Replace "🔥" with '🔥'

(prettier/prettier)


[error] 85-85: Unexpected usage of doublequote.

(jsx-quotes)


[error] 86-86: Replace "Explore·issues" with 'Explore·issues'

(prettier/prettier)


[error] 86-86: Unexpected usage of doublequote.

(jsx-quotes)


[error] 87-87: Replace "fill-pink-200·text-pink-200" with 'fill-pink-200·text-pink-200'

(prettier/prettier)


[error] 87-87: Unexpected usage of doublequote.

(jsx-quotes)


[error] 88-88: Replace "/community/dashboard" with '/community/dashboard'

(prettier/prettier)


[error] 88-88: Unexpected usage of doublequote.

(jsx-quotes)


[error] 92-92: Replace "mt-10·flex·flex-col·justify-between·md:mt-0·md:w-[45%]" with 'mt-10·flex·flex-col·justify-between·md:mt-0·md:w-[45%]'

(prettier/prettier)


[error] 92-92: Unexpected usage of doublequote.

(jsx-quotes)


[error] 93-93: Replace "CommunityIndex-SmallsCards" with 'CommunityIndex-SmallsCards'

(prettier/prettier)


[error] 93-93: Unexpected usage of doublequote.

(jsx-quotes)


[error] 95-95: Replace "CommunityIndex-Newsroom-Card" with 'CommunityIndex-Newsroom-Card'

(prettier/prettier)


[error] 95-95: Unexpected usage of doublequote.

(jsx-quotes)


[error] 97-97: Replace "📣" with '📣'

(prettier/prettier)


[error] 97-97: Unexpected usage of doublequote.

(jsx-quotes)


[error] 98-98: Replace "Newsroom" with 'Newsroom'

(prettier/prettier)


[error] 98-98: Unexpected usage of doublequote.

(jsx-quotes)


[error] 100-100: Replace "Never·Get·Left·Behind" with 'Never·Get·Left·Behind'

(prettier/prettier)


[error] 100-100: Unexpected usage of doublequote.

(jsx-quotes)


[error] 101-101: Replace "Do·you·want·to·get·the·latest·news·with·recent·activities·happening·in·the·community?" with 'Do·you·want·to·get·the·latest·news·with·recent·activities·happening·in·the·community?'

(prettier/prettier)


[error] 101-101: Unexpected usage of doublequote.

(jsx-quotes)


[error] 102-102: Replace "bg-white" with 'bg-white'

(prettier/prettier)


[error] 102-102: Unexpected usage of doublequote.

(jsx-quotes)


[error] 103-103: Replace "/community/newsroom" with '/community/newsroom'

(prettier/prettier)


[error] 103-103: Unexpected usage of doublequote.

(jsx-quotes)


[error] 106-109: Replace ⏎············className="mt-10·md:mt-0"⏎············data-testid="CommunityIndex-Toolings-Card"⏎·········· with ·className='mt-10·md:mt-0'·data-testid='CommunityIndex-Toolings-Card'

(prettier/prettier)


[error] 107-107: Unexpected usage of doublequote.

(jsx-quotes)


[error] 108-108: Unexpected usage of doublequote.

(jsx-quotes)


[error] 111-111: Replace "🧰" with '🧰'

(prettier/prettier)


[error] 111-111: Unexpected usage of doublequote.

(jsx-quotes)


[error] 112-112: Replace "Toolings" with 'Toolings'

(prettier/prettier)


[error] 112-112: Unexpected usage of doublequote.

(jsx-quotes)


[error] 114-114: Replace "Check·out·our·collection·of·Toolings" with 'Check·out·our·collection·of·Toolings'

(prettier/prettier)


[error] 114-114: Unexpected usage of doublequote.

(jsx-quotes)


[error] 115-115: Replace "Discover·various·AsyncAPI·tools·to·optimize·your·journey!·These·tools·are·made·by·the·community,·for·the·community." with 'Discover·various·AsyncAPI·tools·to·optimize·your·journey!·These·tools·are·made·by·the·community,·for·the·community.'

(prettier/prettier)


[error] 115-115: Unexpected usage of doublequote.

(jsx-quotes)


[error] 116-116: Replace "bg-pink-200" with 'bg-pink-200'

(prettier/prettier)


[error] 116-116: Unexpected usage of doublequote.

(jsx-quotes)


[error] 117-117: Replace "/tools" with '/tools'

(prettier/prettier)


[error] 117-117: Unexpected usage of doublequote.

(jsx-quotes)


[error] 122-122: Replace "relative·size-full" with 'relative·size-full'

(prettier/prettier)


[error] 122-122: Unexpected usage of doublequote.

(jsx-quotes)


[error] 124-124: Replace "Community·heartbeat" with 'Community·heartbeat'

(prettier/prettier)


[error] 124-124: Unexpected usage of doublequote.

(jsx-quotes)


[error] 125-125: Replace "AsyncAPI·Community·Meetings·&·Events" with 'AsyncAPI·Community·Meetings·&·Events'

(prettier/prettier)


[error] 125-125: Unexpected usage of doublequote.

(jsx-quotes)


[error] 126-126: Replace " with '

(prettier/prettier)


[error] 126-129: Unexpected usage of doublequote.

(jsx-quotes)


[error] 129-129: Replace " with '

(prettier/prettier)


[error] 130-130: Replace "bg-eventCover" with 'bg-eventCover'

(prettier/prettier)


[error] 130-130: Unexpected usage of doublequote.

(jsx-quotes)


[error] 131-131: Replace "Explore·more·events" with 'Explore·more·events'

(prettier/prettier)


[error] 131-131: Unexpected usage of doublequote.

(jsx-quotes)


[error] 132-132: Replace "/community/events" with '/community/events'

(prettier/prettier)


[error] 132-132: Unexpected usage of doublequote.

(jsx-quotes)


[error] 134-134: Replace "absolute·right-0·top-0·mt-[100px]·hidden·w-[500px]·justify-end·md:block" with 'absolute·right-0·top-0·mt-[100px]·hidden·w-[500px]·justify-end·md:block'

(prettier/prettier)


[error] 134-134: Unexpected usage of doublequote.

(jsx-quotes)


[error] 138-141: Replace ⏎··················key={index}⏎··················className="mt-2·w-full·rounded-l-md·bg-white·p-2·md:p-10"⏎················ with ·key={index}·className='mt-2·w-full·rounded-l-md·bg-white·p-2·md:p-10'

(prettier/prettier)


[error] 140-140: Unexpected usage of doublequote.

(jsx-quotes)


[error] 142-142: Replace "flex" with 'flex'

(prettier/prettier)


[error] 142-142: Unexpected usage of doublequote.

(jsx-quotes)


[error] 143-143: Replace "inline-flex·h-12·min-w-12·flex-row·rounded-full·bg-pink-500·font-bold·text-white" with 'inline-flex·h-12·min-w-12·flex-row·rounded-full·bg-pink-500·font-bold·text-white'

(prettier/prettier)


[error] 143-143: Unexpected usage of doublequote.

(jsx-quotes)


[error] 144-146: Replace "flex-1·self-center·text-center">⏎························{event.date.format('D')}⏎······················ with 'flex-1·self-center·text-center'>{event.date.format('D')}

(prettier/prettier)


[error] 144-144: Unexpected usage of doublequote.

(jsx-quotes)


[error] 148-148: Replace "ml-4·text-left" with 'ml-4·text-left'

(prettier/prettier)


[error] 148-148: Unexpected usage of doublequote.

(jsx-quotes)


[error] 149-149: Replace "text-md·md:text-lg" with 'text-md·md:text-lg'

(prettier/prettier)


[error] 149-149: Unexpected usage of doublequote.

(jsx-quotes)


[error] 150-150: Replace "text-xs·text-gray-500·md:text-sm" with 'text-xs·text-gray-500·md:text-sm'

(prettier/prettier)


[error] 150-150: Unexpected usage of doublequote.

(jsx-quotes)


[error] 162-162: Replace "mt-10·flex·flex-col·sm:flex-row" with 'mt-10·flex·flex-col·sm:flex-row'

(prettier/prettier)


[error] 162-162: Unexpected usage of doublequote.

(jsx-quotes)


[error] 163-163: Replace "m-5"·data-testid="CommunityCards-Goals" with 'm-5'·data-testid='CommunityCards-Goals'

(prettier/prettier)


[error] 163-163: Unexpected usage of doublequote.

(jsx-quotes)


[error] 163-163: Unexpected usage of doublequote.

(jsx-quotes)


[error] 166-166: Replace "Goals" with 'Goals'

(prettier/prettier)


[error] 166-166: Unexpected usage of doublequote.

(jsx-quotes)


[error] 167-167: Replace "🎯" with '🎯'

(prettier/prettier)


[error] 167-167: Unexpected usage of doublequote.

(jsx-quotes)


[error] 168-168: Replace "2024·AsyncAPI·Community·Goals" with '2024·AsyncAPI·Community·Goals'

(prettier/prettier)


[error] 168-168: Unexpected usage of doublequote.

(jsx-quotes)


[error] 169-169: Replace "Help·us·improve·our·2024·AsyncAPI·community·building·and·maintenance·goals." with 'Help·us·improve·our·2024·AsyncAPI·community·building·and·maintenance·goals.'

(prettier/prettier)


[error] 169-169: Unexpected usage of doublequote.

(jsx-quotes)


[error] 170-170: Replace "bg-white" with 'bg-white'

(prettier/prettier)


[error] 170-170: Unexpected usage of doublequote.

(jsx-quotes)


[error] 171-171: Replace "https://github.com/orgs/asyncapi/discussions/948" with 'https://github.com/orgs/asyncapi/discussions/948'

(prettier/prettier)


[error] 171-171: Unexpected usage of doublequote.

(jsx-quotes)


[error] 174-174: Replace "m-5"·data-testid="CommunityCards-TSC" with 'm-5'·data-testid='CommunityCards-TSC'

(prettier/prettier)


[error] 174-174: Unexpected usage of doublequote.

(jsx-quotes)


[error] 174-174: Unexpected usage of doublequote.

(jsx-quotes)


[error] 177-177: Replace "TSC" with 'TSC'

(prettier/prettier)


[error] 177-177: Unexpected usage of doublequote.

(jsx-quotes)


[error] 178-178: Replace "🚀" with '🚀'

(prettier/prettier)


[error] 178-178: Unexpected usage of doublequote.

(jsx-quotes)


[error] 179-179: Replace "Meet·Folks·Redefining·the·Initiative" with 'Meet·Folks·Redefining·the·Initiative'

(prettier/prettier)


[error] 179-179: Unexpected usage of doublequote.

(jsx-quotes)


[error] 180-180: Replace "Learn·how·to·become·a·Technical·Steering·Committee·(TSC)·member·and·see·our·current·members." with 'Learn·how·to·become·a·Technical·Steering·Committee·(TSC)·member·and·see·our·current·members.'

(prettier/prettier)


[error] 180-180: Unexpected usage of doublequote.

(jsx-quotes)


[error] 181-181: Replace "bg-white" with 'bg-white'

(prettier/prettier)


[error] 181-181: Unexpected usage of doublequote.

(jsx-quotes)


[error] 182-182: Replace "/community/tsc" with '/community/tsc'

(prettier/prettier)


[error] 182-182: Unexpected usage of doublequote.

(jsx-quotes)


[error] 186-186: Replace ""·data-testid="CommunityCards-Slack" with ''·data-testid='CommunityCards-Slack'

(prettier/prettier)


[error] 186-186: Unexpected usage of doublequote.

(jsx-quotes)


[error] 186-186: Unexpected usage of doublequote.

(jsx-quotes)


[error] 188-188: Replace "All·community·info,·tracked" with 'All·community·info,·tracked'

(prettier/prettier)


[error] 188-188: Unexpected usage of doublequote.

(jsx-quotes)


[error] 189-189: Replace "AsyncAPI·Slack" with 'AsyncAPI·Slack'

(prettier/prettier)


[error] 189-189: Unexpected usage of doublequote.

(jsx-quotes)


[error] 194-194: Replace "Join·AsyncAPI·slack" with 'Join·AsyncAPI·slack'

(prettier/prettier)


[error] 194-194: Unexpected usage of doublequote.

(jsx-quotes)


[error] 195-195: Replace "https://asyncapi.com/slack-invite" with 'https://asyncapi.com/slack-invite'

(prettier/prettier)


[error] 195-195: Unexpected usage of doublequote.

(jsx-quotes)


[error] 196-196: Replace "bg-channelCover" with 'bg-channelCover'

(prettier/prettier)


[error] 196-196: Unexpected usage of doublequote.

(jsx-quotes)


[error] 199-199: Replace "mt-10·flex·flex-col·items-center·justify-center·sm:flex-row" with 'mt-10·flex·flex-col·items-center·justify-center·sm:flex-row'

(prettier/prettier)


[error] 199-199: Unexpected usage of doublequote.

(jsx-quotes)


[error] 200-200: Replace "m-5·mr-2" with 'm-5·mr-2'

(prettier/prettier)


[error] 200-200: Unexpected usage of doublequote.

(jsx-quotes)


[error] 203-203: Replace "Finance" with 'Finance'

(prettier/prettier)


[error] 203-203: Unexpected usage of doublequote.

(jsx-quotes)


[error] 204-204: Replace "💰" with '💰'

(prettier/prettier)


[error] 204-204: Unexpected usage of doublequote.

(jsx-quotes)


[error] 205-205: Replace "Track·Initiative·Spending·with·Budget·Analysis" with 'Track·Initiative·Spending·with·Budget·Analysis'

(prettier/prettier)


[error] 205-205: Unexpected usage of doublequote.

(jsx-quotes)


[error] 207-207: Replace "bg-white" with 'bg-white'

(prettier/prettier)


[error] 207-207: Unexpected usage of doublequote.

(jsx-quotes)


[error] 208-208: Replace "/finance" with '/finance'

(prettier/prettier)


[error] 208-208: Unexpected usage of doublequote.

(jsx-quotes)


[error] 209-209: Replace "p-8·" with 'p-8·'

(prettier/prettier)


[error] 209-209: Unexpected usage of doublequote.

(jsx-quotes)


[error] 212-212: Replace "m-5" with 'm-5'

(prettier/prettier)


[error] 212-212: Unexpected usage of doublequote.

(jsx-quotes)


[error] 224-227: Replace ⏎········className="mt-8·rounded-lg·bg-dark·py-12·md:mt-20"⏎········data-testid="CommunityCard-subscribe"⏎······ with ·className='mt-8·rounded-lg·bg-dark·py-12·md:mt-20'·data-testid='CommunityCard-subscribe'

(prettier/prettier)


[error] 225-225: Unexpected usage of doublequote.

(jsx-quotes)


[error] 226-226: Unexpected usage of doublequote.

(jsx-quotes)

🪛 GitHub Actions: PR testing - if Node project
components/community/Card.tsx

[error] 50-114: Multiple ESLint and Prettier errors including unexpected trailing comma, double quote usage, and formatting issues

pages/community/index.tsx

[error] 31-224: Multiple ESLint and Prettier errors related to quote usage. Code uses double quotes instead of single quotes.

🔇 Additional comments (4)
components/community/Card.tsx (3)

23-23: LGTM! The customClasses prop is well-defined.

The optional string prop follows TypeScript best practices and component conventions.


49-50: LGTM! Parameter list is properly formatted.

🧰 Tools
🪛 eslint

[error] 50-50: Delete ,

(prettier/prettier)


[error] 50-50: Unexpected trailing comma.

(comma-dangle)


56-56: LGTM! The customClasses prop is properly applied.

The prop is correctly interpolated into the className string, allowing for flexible styling.

pages/community/index.tsx (1)

213-221: LGTM! Swags card is properly commented out.

Good practice to preserve the code with a "for future references" comment.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
pages/community/index.tsx (1)

213-221: Consider removing commented code.

Instead of keeping the commented code for future reference, consider removing it entirely and relying on version control history if needed in the future.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 563ca79 and f498446.

📒 Files selected for processing (1)
  • pages/community/index.tsx (2 hunks)
🧰 Additional context used
🪛 eslint
pages/community/index.tsx

[error] 31-31: Replace "AsyncAPI·Community·Meetings" with 'AsyncAPI·Community·Meetings'

(prettier/prettier)


[error] 31-31: Unexpected usage of doublequote.

(jsx-quotes)


[error] 32-32: Replace "The·home·for·developer·communities" with 'The·home·for·developer·communities'

(prettier/prettier)


[error] 32-32: Unexpected usage of doublequote.

(jsx-quotes)


[error] 36-36: Replace "mt-15·md:hidden" with 'mt-15·md:hidden'

(prettier/prettier)


[error] 36-36: Unexpected usage of doublequote.

(jsx-quotes)


[error] 40-40: Replace "gh-img·mt-10·h-auto·w-full·object-contain·md:mt-0" with 'gh-img·mt-10·h-auto·w-full·object-contain·md:mt-0'

(prettier/prettier)


[error] 40-40: Unexpected usage of doublequote.

(jsx-quotes)


[error] 41-45: Replace ⏎··········className="gh-img·object-contain"⏎··········src="/img/homepage/discuss-page.webp"⏎··········alt="github-discussion"⏎······· with ·className='gh-img·object-contain'·src='/img/homepage/discuss-page.webp'·alt='github-discussion'

(prettier/prettier)


[error] 42-42: Unexpected usage of doublequote.

(jsx-quotes)


[error] 43-43: Unexpected usage of doublequote.

(jsx-quotes)


[error] 44-44: Unexpected usage of doublequote.

(jsx-quotes)


[error] 47-47: Replace "mt-20·flex·flex-col·items-center·justify-center·text-center" with 'mt-20·flex·flex-col·items-center·justify-center·text-center'

(prettier/prettier)


[error] 47-47: Unexpected usage of doublequote.

(jsx-quotes)


[error] 55-55: Replace "text-gray-700" with 'text-gray-700'

(prettier/prettier)


[error] 55-55: Unexpected usage of doublequote.

(jsx-quotes)


[error] 56-56: Replace "text-slate-500" with 'text-slate-500'

(prettier/prettier)


[error] 56-56: Unexpected usage of doublequote.

(jsx-quotes)


[error] 58-59: Delete ⏎···········

(prettier/prettier)


[error] 63-63: Replace "CommunityIndex-HomeCard" with 'CommunityIndex-HomeCard'

(prettier/prettier)


[error] 63-63: Unexpected usage of doublequote.

(jsx-quotes)


[error] 65-65: Replace "Thanking·our·AsyncAPI·Ambassadors" with 'Thanking·our·AsyncAPI·Ambassadors'

(prettier/prettier)


[error] 65-65: Unexpected usage of doublequote.

(jsx-quotes)


[error] 66-66: Replace "Ambassador·Programs" with 'Ambassador·Programs'

(prettier/prettier)


[error] 66-66: Unexpected usage of doublequote.

(jsx-quotes)


[error] 69-69: Replace "Become·an·ambassador" with 'Become·an·ambassador'

(prettier/prettier)


[error] 69-69: Unexpected usage of doublequote.

(jsx-quotes)


[error] 70-70: Replace "/community/ambassadors" with '/community/ambassadors'

(prettier/prettier)


[error] 70-70: Unexpected usage of doublequote.

(jsx-quotes)


[error] 71-71: Replace "bg-ambassador" with 'bg-ambassador'

(prettier/prettier)


[error] 71-71: Unexpected usage of doublequote.

(jsx-quotes)


[error] 74-74: Replace "mt-20·w-full·md:flex·md:justify-between" with 'mt-20·w-full·md:flex·md:justify-between'

(prettier/prettier)


[error] 74-74: Unexpected usage of doublequote.

(jsx-quotes)


[error] 75-78: Replace ⏎··········className="text-white·md:w-1/2"⏎··········data-testid="CommunityIndex-IssuesCard"⏎········ with ·className='text-white·md:w-1/2'·data-testid='CommunityIndex-IssuesCard'

(prettier/prettier)


[error] 76-76: Unexpected usage of doublequote.

(jsx-quotes)


[error] 77-77: Unexpected usage of doublequote.

(jsx-quotes)


[error] 80-80: Replace "bg-pink-100" with 'bg-pink-100'

(prettier/prettier)


[error] 80-80: Unexpected usage of doublequote.

(jsx-quotes)


[error] 81-81: Replace "bg-code-editor-dark" with 'bg-code-editor-dark'

(prettier/prettier)


[error] 81-81: Unexpected usage of doublequote.

(jsx-quotes)


[error] 82-82: Replace "Explore·and·Contribute·to·Hot·Issues" with 'Explore·and·Contribute·to·Hot·Issues'

(prettier/prettier)


[error] 82-82: Unexpected usage of doublequote.

(jsx-quotes)


[error] 83-83: Replace "Discover·over·100s·of·interesting·issues,·suitable·for·new·and·existing·contributors." with 'Discover·over·100s·of·interesting·issues,·suitable·for·new·and·existing·contributors.'

(prettier/prettier)


[error] 83-83: Unexpected usage of doublequote.

(jsx-quotes)


[error] 84-84: Replace "Issues" with 'Issues'

(prettier/prettier)


[error] 84-84: Unexpected usage of doublequote.

(jsx-quotes)


[error] 85-85: Replace "🔥" with '🔥'

(prettier/prettier)


[error] 85-85: Unexpected usage of doublequote.

(jsx-quotes)


[error] 86-86: Replace "Explore·issues" with 'Explore·issues'

(prettier/prettier)


[error] 86-86: Unexpected usage of doublequote.

(jsx-quotes)


[error] 87-87: Replace "fill-pink-200·text-pink-200" with 'fill-pink-200·text-pink-200'

(prettier/prettier)


[error] 87-87: Unexpected usage of doublequote.

(jsx-quotes)


[error] 88-88: Replace "/community/dashboard" with '/community/dashboard'

(prettier/prettier)


[error] 88-88: Unexpected usage of doublequote.

(jsx-quotes)


[error] 92-92: Replace "mt-10·flex·flex-col·justify-between·md:mt-0·md:w-[45%]" with 'mt-10·flex·flex-col·justify-between·md:mt-0·md:w-[45%]'

(prettier/prettier)


[error] 92-92: Unexpected usage of doublequote.

(jsx-quotes)


[error] 93-93: Replace "CommunityIndex-SmallsCards" with 'CommunityIndex-SmallsCards'

(prettier/prettier)


[error] 93-93: Unexpected usage of doublequote.

(jsx-quotes)


[error] 95-95: Replace "CommunityIndex-Newsroom-Card" with 'CommunityIndex-Newsroom-Card'

(prettier/prettier)


[error] 95-95: Unexpected usage of doublequote.

(jsx-quotes)


[error] 97-97: Replace "📣" with '📣'

(prettier/prettier)


[error] 97-97: Unexpected usage of doublequote.

(jsx-quotes)


[error] 98-98: Replace "Newsroom" with 'Newsroom'

(prettier/prettier)


[error] 98-98: Unexpected usage of doublequote.

(jsx-quotes)


[error] 100-100: Replace "Never·Get·Left·Behind" with 'Never·Get·Left·Behind'

(prettier/prettier)


[error] 100-100: Unexpected usage of doublequote.

(jsx-quotes)


[error] 101-101: Replace "Do·you·want·to·get·the·latest·news·with·recent·activities·happening·in·the·community?" with 'Do·you·want·to·get·the·latest·news·with·recent·activities·happening·in·the·community?'

(prettier/prettier)


[error] 101-101: Unexpected usage of doublequote.

(jsx-quotes)


[error] 102-102: Replace "bg-white" with 'bg-white'

(prettier/prettier)


[error] 102-102: Unexpected usage of doublequote.

(jsx-quotes)


[error] 103-103: Replace "/community/newsroom" with '/community/newsroom'

(prettier/prettier)


[error] 103-103: Unexpected usage of doublequote.

(jsx-quotes)


[error] 106-109: Replace ⏎············className="mt-10·md:mt-0"⏎············data-testid="CommunityIndex-Toolings-Card"⏎·········· with ·className='mt-10·md:mt-0'·data-testid='CommunityIndex-Toolings-Card'

(prettier/prettier)


[error] 107-107: Unexpected usage of doublequote.

(jsx-quotes)


[error] 108-108: Unexpected usage of doublequote.

(jsx-quotes)


[error] 111-111: Replace "🧰" with '🧰'

(prettier/prettier)


[error] 111-111: Unexpected usage of doublequote.

(jsx-quotes)


[error] 112-112: Replace "Toolings" with 'Toolings'

(prettier/prettier)


[error] 112-112: Unexpected usage of doublequote.

(jsx-quotes)


[error] 114-114: Replace "Check·out·our·collection·of·Toolings" with 'Check·out·our·collection·of·Toolings'

(prettier/prettier)


[error] 114-114: Unexpected usage of doublequote.

(jsx-quotes)


[error] 115-115: Replace "Discover·various·AsyncAPI·tools·to·optimize·your·journey!·These·tools·are·made·by·the·community,·for·the·community." with 'Discover·various·AsyncAPI·tools·to·optimize·your·journey!·These·tools·are·made·by·the·community,·for·the·community.'

(prettier/prettier)


[error] 115-115: Unexpected usage of doublequote.

(jsx-quotes)


[error] 116-116: Replace "bg-pink-200" with 'bg-pink-200'

(prettier/prettier)


[error] 116-116: Unexpected usage of doublequote.

(jsx-quotes)


[error] 117-117: Replace "/tools" with '/tools'

(prettier/prettier)


[error] 117-117: Unexpected usage of doublequote.

(jsx-quotes)


[error] 122-122: Replace "relative·size-full" with 'relative·size-full'

(prettier/prettier)


[error] 122-122: Unexpected usage of doublequote.

(jsx-quotes)


[error] 124-124: Replace "Community·heartbeat" with 'Community·heartbeat'

(prettier/prettier)


[error] 124-124: Unexpected usage of doublequote.

(jsx-quotes)


[error] 125-125: Replace "AsyncAPI·Community·Meetings·&·Events" with 'AsyncAPI·Community·Meetings·&·Events'

(prettier/prettier)


[error] 125-125: Unexpected usage of doublequote.

(jsx-quotes)


[error] 126-126: Replace " with '

(prettier/prettier)


[error] 126-129: Unexpected usage of doublequote.

(jsx-quotes)


[error] 129-129: Replace " with '

(prettier/prettier)


[error] 130-130: Replace "bg-eventCover" with 'bg-eventCover'

(prettier/prettier)


[error] 130-130: Unexpected usage of doublequote.

(jsx-quotes)


[error] 131-131: Replace "Explore·more·events" with 'Explore·more·events'

(prettier/prettier)


[error] 131-131: Unexpected usage of doublequote.

(jsx-quotes)


[error] 132-132: Replace "/community/events" with '/community/events'

(prettier/prettier)


[error] 132-132: Unexpected usage of doublequote.

(jsx-quotes)


[error] 134-134: Replace "absolute·right-0·top-0·mt-[100px]·hidden·w-[500px]·justify-end·md:block" with 'absolute·right-0·top-0·mt-[100px]·hidden·w-[500px]·justify-end·md:block'

(prettier/prettier)


[error] 134-134: Unexpected usage of doublequote.

(jsx-quotes)


[error] 138-141: Replace ⏎··················key={index}⏎··················className="mt-2·w-full·rounded-l-md·bg-white·p-2·md:p-10"⏎················ with ·key={index}·className='mt-2·w-full·rounded-l-md·bg-white·p-2·md:p-10'

(prettier/prettier)


[error] 140-140: Unexpected usage of doublequote.

(jsx-quotes)


[error] 142-142: Replace "flex" with 'flex'

(prettier/prettier)


[error] 142-142: Unexpected usage of doublequote.

(jsx-quotes)


[error] 143-143: Replace "inline-flex·h-12·min-w-12·flex-row·rounded-full·bg-pink-500·font-bold·text-white" with 'inline-flex·h-12·min-w-12·flex-row·rounded-full·bg-pink-500·font-bold·text-white'

(prettier/prettier)


[error] 143-143: Unexpected usage of doublequote.

(jsx-quotes)


[error] 144-146: Replace "flex-1·self-center·text-center">⏎························{event.date.format('D')}⏎······················ with 'flex-1·self-center·text-center'>{event.date.format('D')}

(prettier/prettier)


[error] 144-144: Unexpected usage of doublequote.

(jsx-quotes)


[error] 148-148: Replace "ml-4·text-left" with 'ml-4·text-left'

(prettier/prettier)


[error] 148-148: Unexpected usage of doublequote.

(jsx-quotes)


[error] 149-149: Replace "text-md·md:text-lg" with 'text-md·md:text-lg'

(prettier/prettier)


[error] 149-149: Unexpected usage of doublequote.

(jsx-quotes)


[error] 150-150: Replace "text-xs·text-gray-500·md:text-sm" with 'text-xs·text-gray-500·md:text-sm'

(prettier/prettier)


[error] 150-150: Unexpected usage of doublequote.

(jsx-quotes)


[error] 162-162: Replace "mt-10·flex·flex-col·sm:flex-row" with 'mt-10·flex·flex-col·sm:flex-row'

(prettier/prettier)


[error] 162-162: Unexpected usage of doublequote.

(jsx-quotes)


[error] 163-163: Replace "m-5"·data-testid="CommunityCards-Goals" with 'm-5'·data-testid='CommunityCards-Goals'

(prettier/prettier)


[error] 163-163: Unexpected usage of doublequote.

(jsx-quotes)


[error] 163-163: Unexpected usage of doublequote.

(jsx-quotes)


[error] 166-166: Replace "Goals" with 'Goals'

(prettier/prettier)


[error] 166-166: Unexpected usage of doublequote.

(jsx-quotes)


[error] 167-167: Replace "🎯" with '🎯'

(prettier/prettier)


[error] 167-167: Unexpected usage of doublequote.

(jsx-quotes)


[error] 168-168: Replace "2024·AsyncAPI·Community·Goals" with '2024·AsyncAPI·Community·Goals'

(prettier/prettier)


[error] 168-168: Unexpected usage of doublequote.

(jsx-quotes)


[error] 169-169: Replace "Help·us·improve·our·2024·AsyncAPI·community·building·and·maintenance·goals." with 'Help·us·improve·our·2024·AsyncAPI·community·building·and·maintenance·goals.'

(prettier/prettier)


[error] 169-169: Unexpected usage of doublequote.

(jsx-quotes)


[error] 170-170: Replace "bg-white" with 'bg-white'

(prettier/prettier)


[error] 170-170: Unexpected usage of doublequote.

(jsx-quotes)


[error] 171-171: Replace "https://github.com/orgs/asyncapi/discussions/948" with 'https://github.com/orgs/asyncapi/discussions/948'

(prettier/prettier)


[error] 171-171: Unexpected usage of doublequote.

(jsx-quotes)


[error] 174-174: Replace "m-5"·data-testid="CommunityCards-TSC" with 'm-5'·data-testid='CommunityCards-TSC'

(prettier/prettier)


[error] 174-174: Unexpected usage of doublequote.

(jsx-quotes)


[error] 174-174: Unexpected usage of doublequote.

(jsx-quotes)


[error] 177-177: Replace "TSC" with 'TSC'

(prettier/prettier)


[error] 177-177: Unexpected usage of doublequote.

(jsx-quotes)


[error] 178-178: Replace "🚀" with '🚀'

(prettier/prettier)


[error] 178-178: Unexpected usage of doublequote.

(jsx-quotes)


[error] 179-179: Replace "Meet·Folks·Redefining·the·Initiative" with 'Meet·Folks·Redefining·the·Initiative'

(prettier/prettier)


[error] 179-179: Unexpected usage of doublequote.

(jsx-quotes)


[error] 180-180: Replace "Learn·how·to·become·a·Technical·Steering·Committee·(TSC)·member·and·see·our·current·members." with 'Learn·how·to·become·a·Technical·Steering·Committee·(TSC)·member·and·see·our·current·members.'

(prettier/prettier)


[error] 180-180: Unexpected usage of doublequote.

(jsx-quotes)


[error] 181-181: Replace "bg-white" with 'bg-white'

(prettier/prettier)


[error] 181-181: Unexpected usage of doublequote.

(jsx-quotes)


[error] 182-182: Replace "/community/tsc" with '/community/tsc'

(prettier/prettier)


[error] 182-182: Unexpected usage of doublequote.

(jsx-quotes)


[error] 186-186: Replace ""·data-testid="CommunityCards-Slack" with ''·data-testid='CommunityCards-Slack'

(prettier/prettier)


[error] 186-186: Unexpected usage of doublequote.

(jsx-quotes)


[error] 186-186: Unexpected usage of doublequote.

(jsx-quotes)


[error] 188-188: Replace "All·community·info,·tracked" with 'All·community·info,·tracked'

(prettier/prettier)


[error] 188-188: Unexpected usage of doublequote.

(jsx-quotes)


[error] 189-189: Replace "AsyncAPI·Slack" with 'AsyncAPI·Slack'

(prettier/prettier)


[error] 189-189: Unexpected usage of doublequote.

(jsx-quotes)


[error] 194-194: Replace "Join·AsyncAPI·slack" with 'Join·AsyncAPI·slack'

(prettier/prettier)


[error] 194-194: Unexpected usage of doublequote.

(jsx-quotes)


[error] 195-195: Replace "https://asyncapi.com/slack-invite" with 'https://asyncapi.com/slack-invite'

(prettier/prettier)


[error] 195-195: Unexpected usage of doublequote.

(jsx-quotes)


[error] 196-196: Replace "bg-channelCover" with 'bg-channelCover'

(prettier/prettier)


[error] 196-196: Unexpected usage of doublequote.

(jsx-quotes)


[error] 199-199: Replace "mt-10·flex·flex-col·items-center·justify-center·sm:flex-row" with 'mt-10·flex·flex-col·items-center·justify-center·sm:flex-row'

(prettier/prettier)


[error] 199-199: Unexpected usage of doublequote.

(jsx-quotes)


[error] 200-200: Replace "m-5·mr-2" with 'm-5·mr-2'

(prettier/prettier)


[error] 200-200: Unexpected usage of doublequote.

(jsx-quotes)


[error] 203-203: Replace "Finance" with 'Finance'

(prettier/prettier)


[error] 203-203: Unexpected usage of doublequote.

(jsx-quotes)


[error] 204-204: Replace "💰" with '💰'

(prettier/prettier)


[error] 204-204: Unexpected usage of doublequote.

(jsx-quotes)


[error] 205-205: Replace "Track·Initiative·Spending·with·Budget·Analysis" with 'Track·Initiative·Spending·with·Budget·Analysis'

(prettier/prettier)


[error] 205-205: Unexpected usage of doublequote.

(jsx-quotes)


[error] 207-207: Replace "bg-white" with 'bg-white'

(prettier/prettier)


[error] 207-207: Unexpected usage of doublequote.

(jsx-quotes)


[error] 208-208: Replace "/finance" with '/finance'

(prettier/prettier)


[error] 208-208: Unexpected usage of doublequote.

(jsx-quotes)


[error] 209-209: Replace "p-8" with 'p-8'

(prettier/prettier)


[error] 209-209: Unexpected usage of doublequote.

(jsx-quotes)


[error] 212-212: Replace "m-5" with 'm-5'

(prettier/prettier)


[error] 212-212: Unexpected usage of doublequote.

(jsx-quotes)


[error] 224-227: Replace ⏎········className="mt-8·rounded-lg·bg-dark·py-12·md:mt-20"⏎········data-testid="CommunityCard-subscribe"⏎······ with ·className='mt-8·rounded-lg·bg-dark·py-12·md:mt-20'·data-testid='CommunityCard-subscribe'

(prettier/prettier)


[error] 225-225: Unexpected usage of doublequote.

(jsx-quotes)


[error] 226-226: Unexpected usage of doublequote.

(jsx-quotes)

🪛 GitHub Actions: PR testing - if Node project
pages/community/index.tsx

[error] 31-199: Multiple ESLint and Prettier errors related to double quotes usage. Use single quotes instead of double quotes throughout the file.

🔇 Additional comments (1)
pages/community/index.tsx (1)

209-209: LGTM! New customClasses property implementation.

The customClasses property is correctly implemented, allowing for additional styling customization of the card component.

🧰 Tools
🪛 eslint

[error] 209-209: Replace "p-8" with 'p-8'

(prettier/prettier)


[error] 209-209: Unexpected usage of doublequote.

(jsx-quotes)

Comment on lines +31 to 62
title="AsyncAPI Community Meetings"
description="The home for developer communities"
image={image}
wide
>
<div className='mt-15 md:hidden'>
<div className="mt-15 md:hidden">
<Header />
</div>
<Hero />
<div className='gh-img mt-10 h-auto w-full object-contain md:mt-0'>
<img className='gh-img object-contain' src='/img/homepage/discuss-page.webp' alt='github-discussion' />
<div className="gh-img mt-10 h-auto w-full object-contain md:mt-0">
<img
className="gh-img object-contain"
src="/img/homepage/discuss-page.webp"
alt="github-discussion"
/>
</div>
<div className='mt-20 flex flex-col items-center justify-center text-center'>
<div className="mt-20 flex flex-col items-center justify-center text-center">
<Heading level={HeadingLevel.h1} typeStyle={HeadingTypeStyle.xl}>
Home of #CommunityOps
</Heading>
<div>
<Heading
level={HeadingLevel.h2}
typeStyle={HeadingTypeStyle.bodyLg}
textColor='text-gray-700'
className='text-slate-500'
textColor="text-gray-700"
className="text-slate-500"
>
Join the conversation with over 10k+ developers from literally everywhere.
Join the conversation with over 10k+ developers from literally
everywhere.
</Heading>
</div>
</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Fix quote style to match project conventions.

The codebase appears to use single quotes for string literals, but this section uses double quotes. This is causing pipeline failures.

Apply this pattern throughout the file:

-      title="AsyncAPI Community Meetings"
+      title='AsyncAPI Community Meetings'
-      description="The home for developer communities"
+      description='The home for developer communities'
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
title="AsyncAPI Community Meetings"
description="The home for developer communities"
image={image}
wide
>
<div className='mt-15 md:hidden'>
<div className="mt-15 md:hidden">
<Header />
</div>
<Hero />
<div className='gh-img mt-10 h-auto w-full object-contain md:mt-0'>
<img className='gh-img object-contain' src='/img/homepage/discuss-page.webp' alt='github-discussion' />
<div className="gh-img mt-10 h-auto w-full object-contain md:mt-0">
<img
className="gh-img object-contain"
src="/img/homepage/discuss-page.webp"
alt="github-discussion"
/>
</div>
<div className='mt-20 flex flex-col items-center justify-center text-center'>
<div className="mt-20 flex flex-col items-center justify-center text-center">
<Heading level={HeadingLevel.h1} typeStyle={HeadingTypeStyle.xl}>
Home of #CommunityOps
</Heading>
<div>
<Heading
level={HeadingLevel.h2}
typeStyle={HeadingTypeStyle.bodyLg}
textColor='text-gray-700'
className='text-slate-500'
textColor="text-gray-700"
className="text-slate-500"
>
Join the conversation with over 10k+ developers from literally everywhere.
Join the conversation with over 10k+ developers from literally
everywhere.
</Heading>
</div>
</div>
title='AsyncAPI Community Meetings'
description='The home for developer communities'
image={image}
wide
>
<div className='mt-15 md:hidden'>
<Header />
</div>
<Hero />
<div className='gh-img mt-10 h-auto w-full object-contain md:mt-0'>
<img
className='gh-img object-contain'
src='/img/homepage/discuss-page.webp'
alt='github-discussion'
/>
</div>
<div className='mt-20 flex flex-col items-center justify-center text-center'>
<Heading level={HeadingLevel.h1} typeStyle={HeadingTypeStyle.xl}>
Home of #CommunityOps
</Heading>
<div>
<Heading
level={HeadingLevel.h2}
typeStyle={HeadingTypeStyle.bodyLg}
textColor='text-gray-700'
className='text-slate-500'
>
Join the conversation with over 10k+ developers from literally
everywhere.
</Heading>
</div>
</div>
🧰 Tools
🪛 eslint

[error] 31-31: Replace "AsyncAPI·Community·Meetings" with 'AsyncAPI·Community·Meetings'

(prettier/prettier)


[error] 31-31: Unexpected usage of doublequote.

(jsx-quotes)


[error] 32-32: Replace "The·home·for·developer·communities" with 'The·home·for·developer·communities'

(prettier/prettier)


[error] 32-32: Unexpected usage of doublequote.

(jsx-quotes)


[error] 36-36: Replace "mt-15·md:hidden" with 'mt-15·md:hidden'

(prettier/prettier)


[error] 36-36: Unexpected usage of doublequote.

(jsx-quotes)


[error] 40-40: Replace "gh-img·mt-10·h-auto·w-full·object-contain·md:mt-0" with 'gh-img·mt-10·h-auto·w-full·object-contain·md:mt-0'

(prettier/prettier)


[error] 40-40: Unexpected usage of doublequote.

(jsx-quotes)


[error] 41-45: Replace ⏎··········className="gh-img·object-contain"⏎··········src="/img/homepage/discuss-page.webp"⏎··········alt="github-discussion"⏎······· with ·className='gh-img·object-contain'·src='/img/homepage/discuss-page.webp'·alt='github-discussion'

(prettier/prettier)


[error] 42-42: Unexpected usage of doublequote.

(jsx-quotes)


[error] 43-43: Unexpected usage of doublequote.

(jsx-quotes)


[error] 44-44: Unexpected usage of doublequote.

(jsx-quotes)


[error] 47-47: Replace "mt-20·flex·flex-col·items-center·justify-center·text-center" with 'mt-20·flex·flex-col·items-center·justify-center·text-center'

(prettier/prettier)


[error] 47-47: Unexpected usage of doublequote.

(jsx-quotes)


[error] 55-55: Replace "text-gray-700" with 'text-gray-700'

(prettier/prettier)


[error] 55-55: Unexpected usage of doublequote.

(jsx-quotes)


[error] 56-56: Replace "text-slate-500" with 'text-slate-500'

(prettier/prettier)


[error] 56-56: Unexpected usage of doublequote.

(jsx-quotes)


[error] 58-59: Delete ⏎···········

(prettier/prettier)

🪛 GitHub Actions: PR testing - if Node project

[error] 31-199: Multiple ESLint and Prettier errors related to double quotes usage. Use single quotes instead of double quotes throughout the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hide the AsyncAPI swag store link on the website.
2 participants