File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ const STATIC_ROUTES = [
3333 "/driverless/" ,
3434 "/drivers/" ,
3535 "/printers/" ,
36- "/foomatic/" ,
36+ "/foomatic/printers/" ,
37+ "/foomatic/drivers/" ,
3738 "/contact/" ,
3839 "/donations/" ,
3940 "/sponsors/" ,
@@ -86,7 +87,7 @@ export default function sitemap(): MetadataRoute.Sitemap {
8687}
8788
8889function foomaticRoutes ( ) : string [ ] {
89- const routes : string [ ] = [ "/foomatic/driver/" ] ;
90+ const routes : string [ ] = [ ] ;
9091 const fdb = path . join ( process . cwd ( ) , "public" , "foomatic-db" ) ;
9192
9293 const printersMap = path . join ( fdb , "printersMap.json" ) ;
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export default function DriverListClient() {
7474 </ p >
7575 < div className = "mt-6" >
7676 < Button asChild variant = "outline" size = "sm" >
77- < Link href = "/foomatic" > Browse printers instead</ Link >
77+ < Link href = "/foomatic/printers " > Browse printers instead</ Link >
7878 </ Button >
7979 </ div >
8080 </ FoomaticPageSection >
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ export default function DriverPageClient({ driverId }: DriverPageClientProps) {
116116 < main className = "min-h-screen bg-background pt-6 text-foreground" >
117117 < FoomaticPageSection className = "space-y-8 py-10 sm:py-12" >
118118 < Button asChild variant = "outline" size = "sm" className = "gap-2" aria-label = "Back to printer directory" >
119- < Link href = "/foomatic" >
119+ < Link href = "/foomatic/drivers " >
120120 < ArrowLeft className = "h-4 w-4" />
121121 Back to directory
122122 </ Link >
@@ -140,7 +140,7 @@ export default function DriverPageClient({ driverId }: DriverPageClientProps) {
140140 { error || "The requested driver entry could not be found in the OpenPrinting database." }
141141 </ p >
142142 < Button asChild className = "mt-8 gap-2" >
143- < Link href = "/foomatic" >
143+ < Link href = "/foomatic/drivers " >
144144 < ArrowLeft className = "h-4 w-4" />
145145 Return to directory
146146 </ Link >
@@ -158,7 +158,7 @@ export default function DriverPageClient({ driverId }: DriverPageClientProps) {
158158 < FoomaticPageSection className = "space-y-8 py-10 sm:py-12" >
159159 < div className = "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between" >
160160 < Button asChild variant = "outline" size = "sm" className = "gap-2" aria-label = "Back to printer directory" >
161- < Link href = "/foomatic" >
161+ < Link href = "/foomatic/drivers " >
162162 < ArrowLeft className = "h-4 w-4" />
163163 Back to directory
164164 </ Link >
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export default function PpdViewerClient() {
7171 < FoomaticPageSection className = "space-y-8 py-10 sm:py-12" >
7272 < div className = "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between" >
7373 < Button asChild variant = "outline" size = "sm" className = "gap-2" aria-label = "Back to printer directory" >
74- < Link href = "/foomatic" >
74+ < Link href = "/foomatic/printers " >
7575 < ArrowLeft className = "h-4 w-4" />
7676 Back to directory
7777 </ Link >
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export default function PrinterPageClient({ printerId }: PrinterPageClientProps)
8383 < main className = "min-h-screen bg-background pt-6 text-foreground" >
8484 < FoomaticPageSection className = "space-y-8 py-10 sm:py-12" >
8585 < Button asChild variant = "outline" size = "sm" className = "gap-2" aria-label = "Back to printer directory" >
86- < Link href = "/foomatic" >
86+ < Link href = "/foomatic/printers " >
8787 < ArrowLeft className = "h-4 w-4" />
8888 Back to directory
8989 </ Link >
@@ -107,7 +107,7 @@ export default function PrinterPageClient({ printerId }: PrinterPageClientProps)
107107 { error || "The requested printer entry could not be found in the OpenPrinting database." }
108108 </ p >
109109 < Button asChild className = "mt-8 gap-2" >
110- < Link href = "/foomatic" >
110+ < Link href = "/foomatic/printers " >
111111 < ArrowLeft className = "h-4 w-4" />
112112 Return to directory
113113 </ Link >
@@ -130,7 +130,7 @@ export default function PrinterPageClient({ printerId }: PrinterPageClientProps)
130130 < FoomaticPageSection className = "space-y-8 py-10 sm:py-12" >
131131 < div className = "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between" >
132132 < Button asChild variant = "outline" size = "sm" className = "gap-2" aria-label = "Back to printer directory" >
133- < Link href = "/foomatic" >
133+ < Link href = "/foomatic/printers " >
134134 < ArrowLeft className = "h-4 w-4" />
135135 Back to directory
136136 </ Link >
Original file line number Diff line number Diff line change @@ -118,8 +118,8 @@ export const siteConfig: SiteConfig = {
118118 secondary : [
119119 { name : "Upcoming Technologies" , href : "/upcoming-technologies" } ,
120120 { name : "Driverless Printing" , href : "/driverless" } ,
121- { name : "Printers" , href : "/foomatic" } ,
122- { name : "Printer Drivers" , href : "/foomatic/driver/ " } ,
121+ { name : "Printers" , href : "/foomatic/printers " } ,
122+ { name : "Printer Drivers" , href : "/foomatic/drivers " } ,
123123 { name : "Legacy Printers under Windows" , href : "/wsl-printer-app" } ,
124124 { name : "Contact Us" , href : "/contact" } ,
125125 { name : "Donations" , href : "/donations" } ,
You can’t perform that action at this time.
0 commit comments