File tree Expand file tree Collapse file tree 8 files changed +9
-8
lines changed
ai-coding-landscape/components Expand file tree Collapse file tree 8 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 11'use client' ;
22
3+ import { Link } from '@/i18n/navigation' ;
34import LandscapeViewTabs from './LandscapeViewTabs' ;
45import { BackToNavigation } from '@/components/controls/BackToNavigation' ;
56import type {
Original file line number Diff line number Diff line change 11import { getTranslations } from 'next-intl/server' ;
2- import Link from 'next/link ' ;
2+ import { Link } from '@/i18n/navigation ' ;
33import Header from '@/components/Header' ;
44import Footer from '@/components/Footer' ;
55import StackSidebar from '@/components/sidebar/StackSidebar' ;
@@ -89,7 +89,7 @@ export default async function AICodingStackPage({ params }: Props) {
8989 ] . map ( ( stack ) => (
9090 < Link
9191 key = { stack . key }
92- href = { `/${ locale } / ${ stack . path } ` }
92+ href = { `/${ stack . path } ` }
9393 className = "block border border-[var(--color-border)] p-[var(--spacing-md)] hover:border-[var(--color-border-strong)] transition-all hover:-translate-y-0.5 group"
9494 >
9595 < div className = "flex justify-between items-start mb-[var(--spacing-md)]" >
Original file line number Diff line number Diff line change 1- import Link from 'next/link ' ;
1+ import { Link } from '@/i18n/navigation ' ;
22import { notFound } from 'next/navigation' ;
33import Header from '@/components/Header' ;
44import Footer from '@/components/Footer' ;
Original file line number Diff line number Diff line change 1- import Link from 'next/link ' ;
1+ import { Link } from '@/i18n/navigation ' ;
22import Header from '@/components/Header' ;
33import Footer from '@/components/Footer' ;
44import { JsonLd } from '@/components/JsonLd' ;
Original file line number Diff line number Diff line change 11'use client' ;
22
33import { memo , useCallback } from 'react' ;
4- import Link from 'next/link ' ;
4+ import { Link } from '@/i18n/navigation ' ;
55import { useTheme } from './ThemeProvider' ;
66import LanguageSwitcher from './controls/LanguageSwitcher' ;
77import { useTranslations } from 'next-intl' ;
Original file line number Diff line number Diff line change 11'use client' ;
22
33import { useState , memo } from 'react' ;
4- import Link from 'next/link ' ;
4+ import { Link } from '@/i18n/navigation ' ;
55import Image from 'next/image' ;
66import { useTranslations } from 'next-intl' ;
77import { MegaMenu } from './MegaMenu' ;
Original file line number Diff line number Diff line change 11'use client' ;
22
3- import Link from 'next/link ' ;
3+ import { Link } from '@/i18n/navigation ' ;
44import { useTranslations } from 'next-intl' ;
55
66interface MegaMenuProps {
Original file line number Diff line number Diff line change 1- import Link from 'next/link ' ;
1+ import { Link } from '@/i18n/navigation ' ;
22import { useTranslations } from 'next-intl' ;
33
44interface BackToNavigationProps {
You can’t perform that action at this time.
0 commit comments