57 lines
1.2 KiB
Markdown
57 lines
1.2 KiB
Markdown
# Agent 3 — Batch 10: Homepage Bot Link Fix
|
|
|
|
## Task
|
|
Implement the homepage bot link fix in `frontend/src/routes/Home.svelte`.
|
|
|
|
## Changes Made
|
|
|
|
### File: `frontend/src/routes/Home.svelte`
|
|
|
|
#### 1. Reordered panel DOM
|
|
**Old order:**
|
|
```svelte
|
|
<div class="panel">
|
|
<p class="cg-subtitle">-- cannibal girls --</p>
|
|
<p class="bot-link"> ... </p>
|
|
<p class="share-text">Share & submit your own media</p>
|
|
<label for="cxid">Content ID</label>
|
|
<input id="cxid" ... />
|
|
```
|
|
|
|
**New order:**
|
|
```svelte
|
|
<div class="panel">
|
|
<label for="cxid">Content ID</label>
|
|
<input id="cxid" ... />
|
|
|
|
<p class="bot-link"> ... </p>
|
|
<p class="share-text">Share & submit your own media</p>
|
|
<p class="cg-subtitle">-- cannibal girls --</p>
|
|
```
|
|
|
|
#### 2. Updated bot link color
|
|
**Old CSS:**
|
|
```css
|
|
.bot-link a {
|
|
color: var(--retro-green);
|
|
...
|
|
}
|
|
```
|
|
|
|
**New CSS:**
|
|
```css
|
|
.bot-link a {
|
|
color: var(--retro-accent);
|
|
...
|
|
}
|
|
```
|
|
|
|
## Validation
|
|
- `cd frontend && npm run build` completed successfully.
|
|
- No build errors or new warnings introduced.
|
|
- `BOT_USERNAME` remains dynamically imported from `api.js`.
|
|
- Link URL remains `https://t.me/{BOT_USERNAME}?start=submit`.
|
|
|
|
## Risks/Issues
|
|
None identified.
|