Skip to content

Commit d8f3b6d

Browse files
committed
fix: social twitter
1 parent 0cff6f9 commit d8f3b6d

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

app/metadata.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export const metadataSEO: Metadata = {
2626
locale: "en_US"
2727
},
2828
twitter: {
29-
site: '@thedaviddias'
29+
card: 'summary_large_image',
30+
creator: '@thedaviddias'
3031
},
3132
appleWebApp: {
3233
title: 'UX Patterns for Devs'

app/twitter-image.png

53.5 KB
Loading

content/en/docs/forms/button.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ These design tokens follow the [Design Tokens Format](https://design-tokens.gith
300300

301301
### Button Tokens in DTF Format
302302

303-
```json:button.json
303+
```json
304304
{
305305
"$schema": "https://design-tokens.org/schema.json",
306306
"button": {

content/en/docs/getting-started.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ Each pattern in our documentation follows a consistent structure to help you qui
2424
5. **Best Practices** - Guidelines for implementation, including do's and don'ts
2525
6. **Code Examples** - Code examples and technical considerations
2626
7. **SEO** - Search engine optimization considerations and best practices
27-
8. **Testing** - Guidelines for unit, integration, and accessibility testing
28-
9. **Resources** - Additional documentation, articles, libraries...
27+
8. **Browser Support** - Information on browser support for the pattern
28+
9. **Testing** - Guidelines for unit, integration, and accessibility testing
29+
10. **Resources** - Additional documentation, articles, libraries...
2930

3031
## Getting Started
3132

middleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ export { middleware } from 'nextra/locales'
33
export const config = {
44
// Matcher ignoring `/_next/` and `/api/`
55
matcher: [
6-
'/((?!api|_next/static|_next/image|favicon.ico|opengraph-image.png|sitemap.xml|apple-icon.png|manifest|_pagefind).*)'
6+
'/((?!api|_next/static|_next/image|favicon.ico|opengraph-image.png|twitter-image.png|sitemap.xml|apple-icon.png|manifest|_pagefind).*)'
77
]
88
}

0 commit comments

Comments
 (0)