Skip to content

Commit 3466196

Browse files
catomeanclaude
andcommitted
chore: Remove swiss-german-teacher waitlist and update nav
- Remove WaitlistForm component and useWaitlistForm hook - Remove waitlist types from types/index.ts - Update buttons to link to demo section instead of removed waitlist - Update nav menu items to match actual page sections Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4faae52 commit 3466196

7 files changed

Lines changed: 10 additions & 230 deletions

File tree

app/bots/swiss-german-teacher/components/content/SwissContentSection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ const SwissContentSection: React.FC = () => {
5252

5353
<div className="text-center">
5454
<button
55-
onClick={() => document.getElementById('waitlist-form')?.scrollIntoView({ behavior: 'smooth' })}
55+
onClick={() => document.getElementById('demo')?.scrollIntoView({ behavior: 'smooth' })}
5656
className={btnSecondary}
57-
aria-label="Join waitlist for Swiss content"
57+
aria-label="Try Heidi now"
5858
>
59-
Join Waitlist for Early Access
59+
Try Heidi Now
6060
</button>
6161
</div>
6262
</div>

app/bots/swiss-german-teacher/components/shared/WaitlistForm.tsx

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

app/bots/swiss-german-teacher/components/social/SocialSection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,11 @@ const SocialSection = ({ getTryLink }: SocialSectionProps) => {
156156

157157
<div className="mt-6 text-center md:col-span-2">
158158
<button
159-
onClick={() => document.getElementById('waitlist-form')?.scrollIntoView({ behavior: 'smooth' })}
159+
onClick={() => document.getElementById('demo')?.scrollIntoView({ behavior: 'smooth' })}
160160
className={btnSecondary}
161-
aria-label="Get notified when cultural insights are available"
161+
aria-label="Try Heidi to learn about Swiss culture"
162162
>
163-
Get Notified When Available
163+
Ask Heidi About Swiss Culture
164164
</button>
165165
</div>
166166
</div>

app/bots/swiss-german-teacher/hooks/useWaitlistForm.ts

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

app/bots/swiss-german-teacher/page.tsx

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import CommunicationSection from './components/communication/CommunicationSectio
88
import SocialSection from './components/social/SocialSection';
99
import SwissContentSection from './components/content/SwissContentSection';
1010
import FutureVisionSection from './components/future/FutureVisionSection';
11-
import WaitlistForm from './components/shared/WaitlistForm';
1211

1312
export default function SwissGermanTeacher() {
1413
const heroConfig = getBotHeroConfig('swiss-german-teacher');
@@ -62,24 +61,9 @@ export default function SwissGermanTeacher() {
6261
<SwissContentSection />
6362
</BotSection>
6463

65-
<BotSection id="future">
64+
<BotSection id="future" isLast>
6665
<FutureVisionSection />
6766
</BotSection>
68-
69-
<BotSection id="waitlist" isLast>
70-
<div className="bg-gradient-to-r from-green-50 to-blue-50 rounded-xl shadow-sm overflow-hidden">
71-
<div className="px-6 py-12 max-w-3xl mx-auto">
72-
<h2 className="text-3xl font-semibold text-gray-900 text-center mb-2">
73-
Join Our Beta Program
74-
</h2>
75-
<p className="text-lg text-gray-600 text-center mb-8">
76-
Be one of the first to experience our upcoming features and help shape the
77-
future of Swiss German learning.
78-
</p>
79-
<WaitlistForm />
80-
</div>
81-
</div>
82-
</BotSection>
8367
</>
8468
);
8569
}}

app/bots/swiss-german-teacher/types/index.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,6 @@ export interface ConversationExample {
2626
translation: string;
2727
}
2828

29-
// Waitlist form types
30-
export interface WaitlistPreferences {
31-
learningTools: boolean;
32-
communityFeatures: boolean;
33-
authenticContent: boolean;
34-
culturalInsights: boolean;
35-
earlyAccess: boolean;
36-
emailUpdates: boolean;
37-
}
38-
39-
export interface WaitlistFormState {
40-
email: string;
41-
preferences: WaitlistPreferences;
42-
isSubmitting: boolean;
43-
isSubmitted: boolean;
44-
error: string | null;
45-
}
46-
4729
// Demo mode types
4830
export interface DemoState {
4931
isActive: boolean;

data/bots.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ const bots: Bot[] = [
4141
accentColor: 'red',
4242
menuItems: [
4343
{ id: 'demo', label: 'Demo', icon: '💬', section: 'demo' },
44-
{ id: 'features', label: 'Features', icon: '', section: 'features' },
44+
{ id: 'language-learning', label: 'Learning', icon: '📚', section: 'language-learning' },
4545
{ id: 'communication', label: 'Communication', icon: '✉️', section: 'communication' },
46-
{ id: 'culture', label: 'Culture', icon: '🏔️', section: 'culture' },
47-
{ id: 'waitlist', label: 'Join Waitlist', icon: '📝', section: 'waitlist' }
46+
{ id: 'integration', label: 'Social', icon: '🏔️', section: 'integration' },
47+
{ id: 'future', label: 'Vision', icon: '🚀', section: 'future' }
4848
]
4949
}
5050
},

0 commit comments

Comments
 (0)