Skip to content

Commit ed2d458

Browse files
committed
feat: blog announcement ux patterns gpt
1 parent 768fad6 commit ed2d458

File tree

6 files changed

+47
-2
lines changed

6 files changed

+47
-2
lines changed

app/[lang]/layout.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ import {
66
LocaleSwitch,
77
Navbar
88
} from 'nextra-theme-docs';
9-
import { Head } from 'nextra/components';
9+
import { Banner, Head } from 'nextra/components';
1010
import { getPageMap } from 'nextra/page-map';
1111
import { getDictionary } from '../_dictionaries/get-dictionary';
1212

1313
import PlausibleProvider from 'next-plausible';
1414
import { DiscordIcon } from "nextra/icons";
1515
import '../../styles/globals.css';
1616
import { Footer } from "../_components/footer";
17+
import { LinkCustom } from "../_components/link-custom";
1718
import { Stars } from "../_components/stars";
1819
import { GITHUB_REPO_URL, PROJECT_URL } from "../_constants/project";
1920
import { metadataSEO } from "../metadata";
@@ -39,6 +40,12 @@ export default async function RootLayout({ children, params }) {
3940

4041
const pageMap = await getPageMap(`/${lang}`)
4142

43+
const banner = (
44+
<Banner storageKey="swr-2">
45+
UX Patterns for Devs GPT is now available! <LinkCustom href="/blog/ux-patterns-gpt" variant="primary" className="text-sm">Read more →</LinkCustom>
46+
</Banner>
47+
)
48+
4249
const navbar = (
4350
<Navbar
4451
logo={
@@ -75,6 +82,7 @@ export default async function RootLayout({ children, params }) {
7582
navbar={navbar}
7683
footer={footer}
7784
docsRepositoryBase={GITHUB_REPO_URL}
85+
banner={banner}
7886
sidebar={{
7987
defaultMenuCollapseLevel: 1,
8088
autoCollapse: true

content/en/blog/announcing-ux-patterns-launch.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Launching "UX Patterns for Devs"
3-
image: https://assets.vercel.com/image/upload/v1630059453/swr/v1.png
3+
image: ../../../public/img/opengraph-image.png
44
description: "Introducing today my new open-source resource filled with proven UX patterns, practical code snippets, and actionable tips - empowering developers to build more accessible and user-friendly interfaces."
55
date: 2024-12-11
66
authors:

content/en/blog/ux-patterns-gpt.mdx

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: UX Patterns for Devs GPT
3+
image: ../../../public/blog/ux-patterns-gpt.jpg
4+
description: "I'm excited to announce the launch of UX Patterns for Devs GPT, a new AI-powered tool connected to the UX Patterns for Devs project."
5+
date: 2024-12-13
6+
authors:
7+
- name: David Dias
8+
link: https://x.com/thedaviddias
9+
---
10+
11+
import { TopContent } from "@app/_components/authors";
12+
13+
<TopContent lang={props.params.lang} {...metadata} />
14+
15+
![Screenshot of the GPT homepage](../../../public/blog/ux-patterns-gpt.jpg)
16+
17+
Having all the UX Patterns documented is nice, but it's not enough. Special in the days we live in.
18+
19+
That's why I'm excited to announce the launch of UX Patterns for Devs GPT, a new AI-powered tool that uses primarly the content of the "UX Patterns for Devs" project then add some intelligence to it.
20+
21+
## How does it work?
22+
23+
You can simply to access the [UX Patterns for Devs GPT](https://chatgpt.com/g/g-675ae465d96c8191a19b66ef7b4133a3-ux-patterns-for-devs) and start typing. The AI will analyze your input and provide you with a list of suggestions based on the content of the UX Patterns for Devs repository.
24+
25+
More content will be added to the repository, more the answers will be accurate.
26+
27+
## How can I help?
28+
29+
If you want to help to support this project, you can always leave a review of the GPT, this will help give some visibility.
30+
31+
![Leave Feedback, How would you rate this GPT](../../../public/blog/gpt-dropdown-menu.jpg)
32+
33+
![Leave Feedback, How would you rate this GPT](../../../public/blog/leave-review-gpt.jpg)
34+
35+
## What's Next?
36+
37+
There is a lot that can be done to improve this project, but I'm excited to see what can be created based on the content of the UX Patterns for Devs project.

public/blog/gpt-dropdown-menu.jpg

13.8 KB
Loading

public/blog/leave-review-gpt.jpg

11.3 KB
Loading

public/blog/ux-patterns-gpt.jpg

43.8 KB
Loading

0 commit comments

Comments
 (0)