AOSSIE-Org / website

AOSSIE Offical Website
https://aossie-org.github.io/website/
MIT License
25 stars 144 forks source link

Issue: Invalid <Link> Usage with <a> Child #176

Open isid555 opened 3 months ago

isid555 commented 3 months ago

Description

I encountered an error related to the usage of the component in my Next.js project. The error message is as follows: Screenshot 2024-08-06 111236

Problem

The error occurs when using the component with an tag as a child. According to the latest Next.js documentation, the component now internally handles the tag, and using an tag inside is no longer supported.

Solution

To resolve this issue, the tag should be removed from inside the component. The component should directly handle the styling and attributes.

Impact

This change is necessary to adhere to the latest Next.js guidelines, which streamline the link handling process and prevent issues related to duplicate elements and styling conflicts.

YashSherla commented 3 months ago

can i attempt

Vegadjay commented 3 months ago

@isid555 Remove anchor tag from this link componant image

isid555 commented 3 months ago

@Vegadjay

My commit is working ,but it's not merged with the actual repo yet image

Vegadjay commented 3 months ago

@isid555 Great, I think it's unsolved.

Tanushmaurya018 commented 2 months ago

Hey @Vegadjay,

Summary of Changes

Please review, and let me know if further adjustments are needed.

Tanushmaurya018 commented 2 months ago

Hey @Vegadjay , I’m currently working on additional fixes that depend on this PR being merged. It would be great if you could review and merge it when you have a moment. I believe it will streamline the ongoing work. Thanks for your attention to this!

Vegadjay commented 2 months ago

@Tanushmaurya018 Is your pr merged ?

Tanushmaurya018 commented 2 months ago

@Vegadjay nope

Vegadjay commented 2 months ago

@Tanushmaurya018 Why this repo is not merge any one pr ???