Skip to content

Commit 0c620c0

Browse files
authored
Merge pull request #63 from aicodingstack/develop
refactor: components and i18n
2 parents dafe09f + ef481b9 commit 0c620c0

File tree

79 files changed

+2172
-1781
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+2172
-1781
lines changed

.github/workflows/deploy-production.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,10 @@ jobs:
4141
BUILD_TIME: ${{ github.event.head_commit.timestamp }}
4242

4343
- name: Deploy to Production
44-
uses: cloudflare/wrangler-action@v3
45-
with:
46-
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
47-
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
48-
command: deploy --env production
44+
run: npx --no-install opennextjs-cloudflare deploy --env production
45+
env:
46+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
47+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
4948

5049
- name: Deployment summary
5150
run: |

.github/workflows/deploy-staging.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,10 @@ jobs:
4141
BUILD_TIME: ${{ github.event.head_commit.timestamp }}
4242

4343
- name: Deploy to Staging
44-
uses: cloudflare/wrangler-action@v3
45-
with:
46-
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
47-
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
48-
command: deploy --env staging
44+
run: npx --no-install opennextjs-cloudflare deploy --env staging
45+
env:
46+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
47+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
4948

5049
- name: Deployment summary
5150
run: |

.husky/pre-commit

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
npm i
22
npx lint-staged
3-
npm run check
43
npm run test:ci
4+
npm run check
5+
npm run type-check

.husky/pre-push

Lines changed: 0 additions & 4 deletions
This file was deleted.

cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@
194194
"modalli",
195195
"modlu",
196196
"modu",
197+
"Modları",
197198
"odakli",
198199
"optimizasyon",
199200
"orkestrasyonu",

docs/COMPONENT-RELATIONSHIP-DIAGRAM.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ src/
2929
├── product/ [Product-related components]
3030
│ ├── ProductHero.tsx [Product header info]
3131
│ ├── ProductPricing.tsx [Pricing section]
32-
│ ├── ProductLinks.tsx [Resource/community links]
32+
│ ├── ResourceLinks.tsx [Resource links (download, changelog, pricing, mcp, issue)]
33+
│ ├── CommunityLinks.tsx [Community links (linkedin, twitter, github, youtube, discord, reddit, blog)]
3334
│ ├── ProductCommands.tsx[Install/launch commands]
3435
│ ├── RelatedProducts.tsx[Related products grid]
3536
│ ├── LinkCard.tsx [Link card component]
@@ -61,7 +62,6 @@ src/
6162
├── ComparisonTable.tsx [Comparison data table]
6263
├── CollectionScrollbar.tsx [Horizontal scroll for collections]
6364
├── CollectionSection.tsx [Collection section wrapper]
64-
├── CommunityLinks.tsx [Community links (Twitter, Discord, etc.)]
6565
├── MarkdownContent.tsx [Markdown content renderer]
6666
├── MDXComponents.tsx [MDX component mappings]
6767
├── ModelBenchmarks.tsx [Model benchmark scores]
@@ -114,7 +114,8 @@ src/
114114
<ProductHero {...product} />
115115
<RelatedProducts products={...} />
116116
<ProductPricing pricing={...} />
117-
<ProductLinks links={...} />
117+
<ResourceLinks resourceUrls={...} title="Resources" links={...} />
118+
<CommunityLinks communityUrls={...} title="Community" links={...} />
118119
<ProductCommands commands={...} />
119120
<BackToNavigation href="/ides" title="All IDEs" />
120121
</PageLayout>
@@ -172,10 +173,10 @@ src/
172173
│ │ └── PlatformIcons │
173174
│ ├── RelatedProducts → LinkCard │
174175
│ ├── ProductPricing │
175-
│ ├── ProductLinks │
176+
│ ├── ResourceLinks → LinkCardGrid → LinkCard │
177+
│ ├── CommunityLinks → LinkCardGrid → LinkCard → PlatformIcons │
176178
│ ├── ProductCommands → CopyButton │
177179
│ ├── PlatformLinks → PlatformIcons │
178-
│ ├── CommunityLinks → PlatformIcons │
179180
│ ├── ModelSpecifications │
180181
│ ├── ModelBenchmarks │
181182
│ ├── VendorProducts → LinkCard │
@@ -199,9 +200,9 @@ src/
199200

200201
| Page Type | Layout | Components Used |
201202
|-----------|--------|-----------------|
202-
| IDE Detail | PageLayout | Breadcrumb, ProductHero, RelatedProducts, ProductPricing, ProductLinks, ProductCommands, BackToNavigation |
203-
| CLI Detail | PageLayout | Breadcrumb, ProductHero, RelatedProducts, ProductPricing, ProductLinks, ProductCommands, BackToNavigation |
204-
| Extension Detail | PageLayout | Breadcrumb, ProductHero, RelatedProducts, ProductPricing, ProductLinks, ProductCommands, BackToNavigation |
203+
| IDE Detail | PageLayout | Breadcrumb, ProductHero, RelatedProducts, ProductPricing, ResourceLinks, CommunityLinks, ProductCommands, BackToNavigation |
204+
| CLI Detail | PageLayout | Breadcrumb, ProductHero, RelatedProducts, ProductPricing, ResourceLinks, CommunityLinks, ProductCommands, BackToNavigation |
205+
| Extension Detail | PageLayout | Breadcrumb, ProductHero, RelatedProducts, ProductPricing, ResourceLinks, CommunityLinks, ProductCommands, BackToNavigation |
205206
| Model Detail | PageLayout | Breadcrumb, ProductHero, PlatformLinks, ModelSpecifications, ModelBenchmarks, BackToNavigation |
206207
| Vendor Detail | PageLayout | Breadcrumb, ProductHero, CommunityLinks, VendorProducts, VendorModels, BackToNavigation |
207208
| Provider Detail | PageLayout | Breadcrumb, ProductHero, PlatformLinks, CommunityLinks, BackToNavigation |

manifests/models/claude-opus-4-1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
"terminalBench": 0.631,
5959
"sciCode": null,
6060
"liveCodeBench": 46.9,
61-
"mmmu": null,
61+
"mmmu": 77.1,
6262
"mmmuPro": null,
63-
"webDevArena": null
63+
"webDevArena": 147.9
6464
},
6565
"platformUrls": {
6666
"huggingface": null,

manifests/models/claude-opus-4.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@
5555
"capabilities": ["function-calling", "tool-choice", "structured-outputs"],
5656
"benchmarks": {
5757
"sweBench": 67.6,
58-
"terminalBench": 0.578,
59-
"sciCode": null,
60-
"liveCodeBench": 56.6,
61-
"mmmu": null,
58+
"terminalBench": 0.351,
59+
"sciCode": 1.5,
60+
"liveCodeBench": 46.9,
61+
"mmmu": 76.5,
6262
"mmmuPro": null,
6363
"webDevArena": null
6464
},

manifests/models/claude-sonnet-4-5.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@
5555
"capabilities": ["function-calling", "tool-choice", "structured-outputs"],
5656
"benchmarks": {
5757
"sweBench": 70.6,
58-
"terminalBench": 0.428,
58+
"terminalBench": 0.42,
5959
"sciCode": null,
60-
"liveCodeBench": 47.1,
61-
"mmmu": null,
60+
"liveCodeBench": 46.9,
61+
"mmmu": 77.8,
6262
"mmmuPro": null,
6363
"webDevArena": null
6464
},

manifests/models/claude-sonnet-4.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"terminalBench": 0.428,
5959
"sciCode": null,
6060
"liveCodeBench": 55.9,
61-
"mmmu": null,
61+
"mmmu": 74.4,
6262
"mmmuPro": null,
6363
"webDevArena": null
6464
},

0 commit comments

Comments
 (0)