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

Migrate from React to Next.js #471

Open
martinheppner opened this issue Sep 8, 2024 · 0 comments
Open

Migrate from React to Next.js #471

martinheppner opened this issue Sep 8, 2024 · 0 comments

Comments

@martinheppner
Copy link
Contributor

First goal: Migrate https://github.com/bahnzumberg/zuugle-suchseite/tree/uat from React to Next.js.

Second goal:

DetailReworked.js

(!!tour && validTour && !!tour.canonical && tour.canonical.length > 0)  && tour.canonical.map((entry)=>{
    if (entry.canonical_yn === 'y'){
      return <link rel="canonical" href={`https://${entry.zuugle_url}`} hreflang={`${entry.href_lang}`}/>
    }else{
      return <link rel="alternate" href={`https://${entry.zuugle_url}`} hreflang={`${entry.href_lang}`}/>
    }
    
  })

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

No branches or pull requests

1 participant