Compare commits
No commits in common. "afefb43ce5b09b3006bdad2a15987cb652e1d2e1" and "5d1309633d35a33173ab3ec4072c5a66c2ae168f" have entirely different histories.
afefb43ce5
...
5d1309633d
|
|
@ -84,7 +84,7 @@ export const DocsSidebar = ({ currentPath }: DocsSidebarProps) => {
|
||||||
const normalizePath = (path: string) => (path.length > 1 && path.endsWith('/') ? path.slice(0, -1) : path);
|
const normalizePath = (path: string) => (path.length > 1 && path.endsWith('/') ? path.slice(0, -1) : path);
|
||||||
const normalizedCurrentPath = normalizePath(currentPath);
|
const normalizedCurrentPath = normalizePath(currentPath);
|
||||||
|
|
||||||
const isActive = (href: string) => normalizedCurrentPath === normalizePath(href);
|
const isActive = (href: string) => normalizedCurrentPath === href;
|
||||||
const isExpanded = (label: string) => expandedSections.includes(label);
|
const isExpanded = (label: string) => expandedSections.includes(label);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
|
|
@ -1,75 +0,0 @@
|
||||||
# Task: Homepage Placeholder SEO Keywords
|
|
||||||
|
|
||||||
**Priority:** High
|
|
||||||
**Estimated time:** 5 min
|
|
||||||
**Type:** SEO optimization
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Change 1: Update keywords in metadata
|
|
||||||
|
|
||||||
**File:** `apps/landing/src/app/(landings)/page.tsx`
|
|
||||||
|
|
||||||
**Find:**
|
|
||||||
```typescript
|
|
||||||
keywords: [
|
|
||||||
'API-first image generation',
|
|
||||||
'AI image API',
|
|
||||||
'image generation for developers',
|
|
||||||
'prompt to image API',
|
|
||||||
'CDN image delivery',
|
|
||||||
],
|
|
||||||
```
|
|
||||||
|
|
||||||
**Replace with:**
|
|
||||||
```typescript
|
|
||||||
keywords: [
|
|
||||||
'AI image API',
|
|
||||||
'image generation for developers',
|
|
||||||
'prompt to image API',
|
|
||||||
'CDN image delivery',
|
|
||||||
'placeholder images',
|
|
||||||
'ai placeholder generator',
|
|
||||||
'placeholder image url',
|
|
||||||
'image placeholder api',
|
|
||||||
],
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Change 2: Update PromptUrlsSection subtitle
|
|
||||||
|
|
||||||
**File:** `apps/landing/src/app/(landings)/_components/PromptUrlsSection.tsx`
|
|
||||||
|
|
||||||
**Find:**
|
|
||||||
```tsx
|
|
||||||
<p className="text-gray-500 text-sm mt-4">
|
|
||||||
Perfect for static sites, prototypes, and AI coding agents that generate HTML.
|
|
||||||
</p>
|
|
||||||
```
|
|
||||||
|
|
||||||
**Replace with:**
|
|
||||||
```tsx
|
|
||||||
<p className="text-gray-500 text-sm mt-4">
|
|
||||||
Perfect for placeholder images, prototypes, static sites, and AI coding agents.
|
|
||||||
</p>
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Verification
|
|
||||||
|
|
||||||
After changes:
|
|
||||||
1. Run `pnpm dev` in `apps/landing`
|
|
||||||
2. Check homepage loads without errors
|
|
||||||
3. Inspect page source — verify new keywords in meta tag
|
|
||||||
4. Scroll to Prompt URLs section — verify updated text
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Done criteria
|
|
||||||
|
|
||||||
- [ ] Keywords array updated with 8 items
|
|
||||||
- [ ] PromptUrlsSection shows "placeholder images" first in list
|
|
||||||
- [ ] No TypeScript/lint errors
|
|
||||||
- [ ] Page renders correctly
|
|
||||||
Loading…
Reference in New Issue