Compare commits

...

2 Commits

Author SHA1 Message Date
Oleg Proskurin afefb43ce5 tasks: add homepage placeholders 2026-01-02 21:27:34 +07:00
Oleg Proskurin b60a97c73f fix: sidebar 2026-01-02 21:27:07 +07:00
2 changed files with 76 additions and 1 deletions

View File

@ -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 === href; const isActive = (href: string) => normalizedCurrentPath === normalizePath(href);
const isExpanded = (label: string) => expandedSections.includes(label); const isExpanded = (label: string) => expandedSections.includes(label);
return ( return (

View File

@ -0,0 +1,75 @@
# 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