Compare commits
2 Commits
5d1309633d
...
afefb43ce5
| Author | SHA1 | Date |
|---|---|---|
|
|
afefb43ce5 | |
|
|
b60a97c73f |
|
|
@ -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 (
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
Loading…
Reference in New Issue