feat(aio): add advanced agent discovery assets
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 7s
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 7s
This commit is contained in:
@@ -13,8 +13,44 @@ export default async function TaskDetails({ params }: { params: Promise<{ id: st
|
||||
|
||||
if (!task) return notFound();
|
||||
|
||||
const jsonLd = {
|
||||
"@context": "https://schema.org",
|
||||
"@type": "JobPosting",
|
||||
"title": task.title,
|
||||
"description": task.description,
|
||||
"datePosted": task.created_at.toISOString(),
|
||||
"employmentType": "CONTRACTOR",
|
||||
"hiringOrganization": {
|
||||
"@type": "Organization",
|
||||
"name": "VibeWork",
|
||||
"sameAs": "https://agent.wooo.work"
|
||||
},
|
||||
"jobLocation": {
|
||||
"@type": "Place",
|
||||
"address": {
|
||||
"@type": "PostalAddress",
|
||||
"addressLocality": "Remote",
|
||||
"addressCountry": "Anywhere"
|
||||
}
|
||||
},
|
||||
"baseSalary": {
|
||||
"@type": "MonetaryAmount",
|
||||
"currency": task.reward_currency,
|
||||
"value": {
|
||||
"@type": "QuantitativeValue",
|
||||
"value": task.reward_amount / 100,
|
||||
"unitText": "TOTAL"
|
||||
}
|
||||
},
|
||||
"skills": task.required_stack.join(", ")
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-gray-950 text-gray-100 p-8 font-sans">
|
||||
<script
|
||||
type="application/ld+json"
|
||||
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}
|
||||
/>
|
||||
<div className="max-w-4xl mx-auto">
|
||||
<Link href="/" className="text-blue-400 hover:text-blue-300 transition-colors flex items-center mb-8">
|
||||
← 返回任務列表
|
||||
|
||||
Reference in New Issue
Block a user