-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
26fc6c8
commit 3cc51dd
Showing
10 changed files
with
180 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
export const metadata = { | ||
title: 'Next.js', | ||
description: 'Generated by Next.js', | ||
} | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<html lang="en"> | ||
<body>{children}</body> | ||
</html> | ||
) | ||
} |
13 changes: 13 additions & 0 deletions
13
packages/ui/fontawesome-cdn/src/app/sharp-light/[icon]/route.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { library } from "@fortawesome/fontawesome-svg-core"; | ||
import { fasl } from "@fortawesome/sharp-light-svg-icons"; | ||
import { NextRequest, NextResponse } from "next/server"; | ||
import { svgResponse } from "../../../svgResponse"; | ||
|
||
const prefix = "fasl"; | ||
library.add(fasl); | ||
|
||
export const runtime = "edge"; | ||
|
||
export async function GET(_req: NextRequest, { params }: { params: { icon: string } }): Promise<NextResponse> { | ||
return svgResponse(prefix, params.icon); | ||
} |
13 changes: 13 additions & 0 deletions
13
packages/ui/fontawesome-cdn/src/app/sharp-regular/[icon]/route.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { library } from "@fortawesome/fontawesome-svg-core"; | ||
import { fasr } from "@fortawesome/sharp-regular-svg-icons"; | ||
import { NextRequest, NextResponse } from "next/server"; | ||
import { svgResponse } from "../../../svgResponse"; | ||
|
||
const prefix = "fasr"; | ||
library.add(fasr); | ||
|
||
export const runtime = "edge"; | ||
|
||
export async function GET(_req: NextRequest, { params }: { params: { icon: string } }): Promise<NextResponse> { | ||
return svgResponse(prefix, params.icon); | ||
} |
13 changes: 13 additions & 0 deletions
13
packages/ui/fontawesome-cdn/src/app/sharp-solid/[icon]/route.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { library } from "@fortawesome/fontawesome-svg-core"; | ||
import { fass } from "@fortawesome/sharp-solid-svg-icons"; | ||
import { NextRequest, NextResponse } from "next/server"; | ||
import { svgResponse } from "../../../svgResponse"; | ||
|
||
const prefix = "fass"; | ||
library.add(fass); | ||
|
||
export const runtime = "edge"; | ||
|
||
export async function GET(_req: NextRequest, { params }: { params: { icon: string } }): Promise<NextResponse> { | ||
return svgResponse(prefix, params.icon); | ||
} |
13 changes: 13 additions & 0 deletions
13
packages/ui/fontawesome-cdn/src/app/sharp-thin/[icon]/route.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { library } from "@fortawesome/fontawesome-svg-core"; | ||
import { fast } from "@fortawesome/sharp-thin-svg-icons"; | ||
import { NextRequest, NextResponse } from "next/server"; | ||
import { svgResponse } from "../../../svgResponse"; | ||
|
||
const prefix = "fast"; | ||
library.add(fast); | ||
|
||
export const runtime = "edge"; | ||
|
||
export async function GET(_req: NextRequest, { params }: { params: { icon: string } }): Promise<NextResponse> { | ||
return svgResponse(prefix, params.icon); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { library } from "@fortawesome/fontawesome-svg-core"; | ||
import { fat } from "@fortawesome/pro-thin-svg-icons"; | ||
import { NextRequest, NextResponse } from "next/server"; | ||
import { svgResponse } from "../../../svgResponse"; | ||
|
||
const prefix = "fat"; | ||
library.add(fat); | ||
|
||
export const runtime = "edge"; | ||
|
||
export async function GET(_req: NextRequest, { params }: { params: { icon: string } }): Promise<NextResponse> { | ||
return svgResponse(prefix, params.icon); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.