Skip to content

Commit f4e31b2

Browse files
committed
chore: remove agent case
1 parent d39ce08 commit f4e31b2

13 files changed

Lines changed: 100 additions & 924 deletions

File tree

public/agent.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ The guide stays focused on Codex desktop beginner workflows and agent-task promp
2626
- Seven-day sprint: https://codex.ifq.ai/zh/lessons or https://codex.ifq.ai/en/lessons
2727
- Scenario cookbook: https://codex.ifq.ai/zh/cookbook or https://codex.ifq.ai/en/cookbook
2828
- Department cases: https://codex.ifq.ai/zh/cases or https://codex.ifq.ai/en/cases
29-
- Agent task cases: https://codex.ifq.ai/zh/agent-cases or https://codex.ifq.ai/en/agent-cases
3029
- Pro tips: https://codex.ifq.ai/zh/tips or https://codex.ifq.ai/en/tips
3130
- FAQ: https://codex.ifq.ai/zh/faq or https://codex.ifq.ai/en/faq
3231

public/agents.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ Canonical agent guide: `/agent.md`. This `/agents.md` file remains available for
66

77
## What this guide is
88

9-
A bilingual (Chinese + English) tutorial for OpenAI's Codex desktop application, aimed at business roles. The core focus is local desktop apps for Windows and macOS, with an added agent-cases section showing how to use Codex for e-commerce sales briefs, order follow-up, support issue analysis, product launch checks, inventory, procurement, ads, and review insights.
9+
A bilingual (Chinese + English) tutorial for OpenAI's Codex desktop application, aimed at business roles. The core focus is local desktop apps for Windows and macOS, with ready-made department cases, scenario cookbook recipes, a guided 7-day sprint, and pro tips.
1010

1111
## Canonical paths
1212

1313
- Homepage: `/` auto-detects language from the browser; direct locale paths are `/zh` and `/en`
1414
- Prompt Generator: `/zh/generator`, `/en/generator`
1515
- Beginner Guide: `/zh/guide`, `/en/guide`
1616
- Department Cases: `/zh/cases`, `/en/cases`
17-
- Agent Task Cases: `/zh/agent-cases`, `/en/agent-cases`
1817
- Individual cases: `/{locale}/cases/{slug}` where slug is one of:
1918
- `finance-order-reconciliation`
2019
- `operations-campaign-tracker`

public/llms.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ The root URL redirects to Chinese or English based on the visitor's browser lang
1212
- [Prompt Generator](https://codex.ifq.ai/en/generator): An interactive fill-in-the-blank form that produces a fully-formed Codex prompt. Inputs: platform (Windows / macOS / both), preset, UI style, data storage approach, complexity tier (Starter MVP / Standard business / Team-ready), goal, needs, and optional extras. Output: a ready-to-paste prompt in Chinese or English with one-click copy, plus a separate recovery prompt for launch or packaging failures.
1313
- [Beginner Guide](https://codex.ifq.ai/en/guide): A seven-chapter plain-language walkthrough covering what Codex is, what to prepare, first launch, core actions, five rules for good prompts, common pitfalls, and how to share the resulting app with teammates.
1414
- [Department Cases](https://codex.ifq.ai/en/cases): 40+ real-world scenarios from an e-commerce company with ready-to-use prompts.
15-
- [Agent Task Cases](https://codex.ifq.ai/en/agent-cases): 20 copy-ready prompts for using Codex as an e-commerce business agent for sales briefs, order follow-up, support analysis, product launch checks, inventory, procurement, ads, competitor pricing, member segmentation, coupon risk, live recaps, category reviews, and review insights.
1615
- [Scenario Cookbook](https://codex.ifq.ai/en/cookbook): 20+ copy-ready desktop-tool prompts, including order merging, product image packaging, shipment exceptions, product labels, bill reconciliation, campaign calendars, support macros, creator samples, live timers, listing audits, and inventory transfer planning.
1716
- [Pro Tips](https://codex.ifq.ai/en/tips): Eight productivity tips plus four common misconceptions.
1817
- [FAQ](https://codex.ifq.ai/en/faq): Ten questions beginners most frequently ask.

src/app/[locale]/agent-cases/page.tsx

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

src/app/[locale]/page.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
HomeFlow,
77
HomeFeatures,
88
HomeCasesTeaser,
9-
HomeAgentTeaser,
109
HomeTrust,
1110
HomeCTA,
1211
} from '@/components/home/HomeSections';
@@ -59,12 +58,11 @@ export default async function HomePage({ params }: Props) {
5958
inLanguage: [locale === 'zh' ? 'zh-CN' : 'en-US'],
6059
isAccessibleForFree: true,
6160
license: 'https://opensource.org/license/mit',
62-
learningResourceType: ['Tutorial', 'Guide', 'Prompt generator', 'Case study', 'Agent task prompt'],
61+
learningResourceType: ['Tutorial', 'Guide', 'Prompt generator'],
6362
teaches: [
6463
'OpenAI Codex desktop app basics',
6564
'Prompt writing for non-developers',
6665
'Local Windows and macOS desktop app workflows',
67-
'Using Codex as an agent for practical work tasks',
6866
],
6967
audience: {
7068
'@type': 'Audience',
@@ -87,7 +85,6 @@ export default async function HomePage({ params }: Props) {
8785
<HomeFlow locale={locale} dict={dict} />
8886
<HomeFeatures locale={locale} dict={dict} />
8987
<HomeCasesTeaser locale={locale} dict={dict} />
90-
<HomeAgentTeaser locale={locale} dict={dict} />
9188
<HomeTrust locale={locale} dict={dict} />
9289
<HomeCTA locale={locale} dict={dict} />
9390
</>

src/app/sitemap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { AI_RESOURCE_PATHS, SITE_URL } from '@/lib/routes';
55
export const dynamic = 'force-static';
66

77
export default function sitemap(): MetadataRoute.Sitemap {
8-
const staticPaths = ['', 'generator', 'guide', 'lessons', 'cases', 'agent-cases', 'cookbook', 'tips', 'faq'];
8+
const staticPaths = ['', 'generator', 'guide', 'lessons', 'cases', 'cookbook', 'tips', 'faq'];
99
const entries: MetadataRoute.Sitemap = [];
1010
const now = new Date();
1111

src/components/Footer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export function Footer({ locale, dict }: Props) {
1919
{ href: localePath(locale, 'guide'), label: dict.nav.guide },
2020
{ href: localePath(locale, 'lessons'), label: dict.nav.lessons },
2121
{ href: localePath(locale, 'cases'), label: dict.nav.cases },
22-
{ href: localePath(locale, 'agent-cases'), label: dict.nav.agentCases },
2322
{ href: localePath(locale, 'cookbook'), label: dict.nav.cookbook },
2423
{ href: localePath(locale, 'tips'), label: dict.nav.tips },
2524
{ href: localePath(locale, 'faq'), label: dict.nav.faq },

src/components/NavBar.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ export function NavBar({ locale, dict }: Props) {
3737
{ href: localePath(locale, 'guide'), label: dict.nav.guide },
3838
{ href: localePath(locale, 'lessons'), label: dict.nav.lessons },
3939
{ href: localePath(locale, 'cases'), label: dict.nav.cases },
40-
{ href: localePath(locale, 'agent-cases'), label: dict.nav.agentCases },
4140
{ href: localePath(locale, 'cookbook'), label: dict.nav.cookbook },
4241
{ href: localePath(locale, 'tips'), label: dict.nav.tips },
4342
{ href: localePath(locale, 'faq'), label: dict.nav.faq },

src/components/home/HomeSections.tsx

Lines changed: 3 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import Link from 'next/link';
22
import type { Locale } from '@/i18n/config';
33
import type { Dictionary } from '@/i18n';
4-
import { localePath, caseUrl } from '@/lib/routes';
4+
import { caseUrl, localePath } from '@/lib/routes';
5+
import { caseBundles } from '@/data/cases';
6+
import { deptIcons } from '@/components/cases/deptIcons';
57
import { GlassCard } from '@/components/GlassCard';
68
import { LinkButton } from '@/components/Button';
79
import {
@@ -17,9 +19,6 @@ import {
1719
RocketIcon,
1820
LightBulbIcon,
1921
} from '@/components/icons';
20-
import { caseBundles } from '@/data/cases';
21-
import { agentCases } from '@/data/agentCases';
22-
import { deptIcons } from '@/components/cases/deptIcons';
2322

2423
type Props = { locale: Locale; dict: Dictionary };
2524

@@ -382,42 +381,6 @@ export function HomeCasesTeaser({ locale, dict }: Props) {
382381
);
383382
}
384383

385-
export function HomeAgentTeaser({ locale, dict }: Props) {
386-
const items = agentCases.slice(0, 4);
387-
return (
388-
<section className="relative mx-auto max-w-6xl px-4 py-20 sm:px-6 lg:px-8">
389-
<header className="mx-auto max-w-2xl text-center">
390-
<h2 className="section-heading">{dict.home.agentTeaserTitle}</h2>
391-
<p className="section-subheading mx-auto">{dict.home.agentTeaserSubtitle}</p>
392-
</header>
393-
<div className="mt-12 grid gap-3 sm:grid-cols-2 lg:grid-cols-4">
394-
{items.map((item) => (
395-
<GlassCard key={item.id} variant="subtle" className="p-5">
396-
<div className="flex h-9 w-9 items-center justify-center rounded-xl border border-[color:var(--line)] bg-white/85 text-ink">
397-
<RocketIcon size={18} />
398-
</div>
399-
<span className="mt-4 inline-flex chip">
400-
{locale === 'zh' ? item.categoryZh : item.categoryEn}
401-
</span>
402-
<h3 className="mt-3 text-[14px] font-semibold leading-snug text-ink">
403-
{locale === 'zh' ? item.titleZh : item.titleEn}
404-
</h3>
405-
<p className="mt-2 text-[12.5px] leading-relaxed text-ink-soft">
406-
{locale === 'zh' ? item.deliverableZh : item.deliverableEn}
407-
</p>
408-
</GlassCard>
409-
))}
410-
</div>
411-
<div className="mt-10 flex justify-center">
412-
<LinkButton href={localePath(locale, 'agent-cases')} variant="glass" size="md">
413-
{dict.home.agentTeaserMore}
414-
<ArrowRightIcon size={14} />
415-
</LinkButton>
416-
</div>
417-
</section>
418-
);
419-
}
420-
421384
export function HomeTrust({ locale, dict }: Props) {
422385
const lines = [dict.home.trustLine1, dict.home.trustLine2, dict.home.trustLine3];
423386
return (

0 commit comments

Comments
 (0)