diff --git a/examples/nextjs-conributing/src/app/[[...path]]/robindoc.ts b/examples/nextjs-conributing/src/app/[[...path]]/robindoc.ts index 5f6f6ff9..52659e7b 100644 --- a/examples/nextjs-conributing/src/app/[[...path]]/robindoc.ts +++ b/examples/nextjs-conributing/src/app/[[...path]]/robindoc.ts @@ -11,7 +11,7 @@ export const { Page, Sidebar, getPages, getMeta, getPageContent, getPageData } = type: "heading", href: "/", configuration: { - sourceRoot: "https://github.com/vercel/next.js/blob/canary/readme.md", + sourceRoot: "https://github.com/vercel/next.js/blob/canary/contributing.md", }, }, { diff --git a/site/src/components/sections/showcases/images/nextjs-dev.png b/site/src/components/sections/showcases/images/nextjs-dev.png new file mode 100644 index 00000000..30ed3890 Binary files /dev/null and b/site/src/components/sections/showcases/images/nextjs-dev.png differ diff --git a/site/src/components/sections/showcases/images/nimpl-tech.png b/site/src/components/sections/showcases/images/nimpl-tech.png new file mode 100644 index 00000000..cea953e5 Binary files /dev/null and b/site/src/components/sections/showcases/images/nimpl-tech.png differ diff --git a/site/src/components/sections/showcases/images/nimpl.png b/site/src/components/sections/showcases/images/nimpl.png deleted file mode 100644 index fd4dbc3c..00000000 Binary files a/site/src/components/sections/showcases/images/nimpl.png and /dev/null differ diff --git a/site/src/components/sections/showcases/index.tsx b/site/src/components/sections/showcases/index.tsx index 596d428d..24fb8ec5 100644 --- a/site/src/components/sections/showcases/index.tsx +++ b/site/src/components/sections/showcases/index.tsx @@ -24,11 +24,18 @@ const Showcases = () => (
) diff --git a/site/src/components/sections/showcases/showcases.scss b/site/src/components/sections/showcases/showcases.scss index af17de0f..002824e7 100644 --- a/site/src/components/sections/showcases/showcases.scss +++ b/site/src/components/sections/showcases/showcases.scss @@ -87,12 +87,14 @@ } .showcases-card { + position: relative; display: block; border-radius: 12px; text-decoration: none; background-color: var(--neutral50); padding: 16px; color: inherit; + text-align: left; filter: grayscale(0.5); transition: background-color 0.2s; @@ -109,7 +111,18 @@ } .showcases-product { - text-align: left; - line-height: 1; margin: 24px 12px 12px; + line-height: 1; + font-size: 1.25em; +} + +.showcases-product-badge { + position: absolute; + top: 16px; + right: 16px; + padding: 6px 10px; + background-color: var(--neutral100); + backdrop-filter: opacity(0.4); + border-top-right-radius: 8px; + border-bottom-left-radius: 8px; }