Update src/lib/data.ts

This commit is contained in:
Cossale 2025-08-09 16:47:38 +00:00
parent 5a513f2551
commit 9cb9913353

View file

@ -3,54 +3,10 @@ import type { Prompt } from './types';
// This data is now only used to seed the database on its first run.
export const initialPrompts: Omit<Prompt, 'id'>[] = [
{
title: 'Blog Post Ideas Generator',
title: 'Example - Blog Post Ideas Generator',
content: 'Generate 10 blog post ideas for a blog about AI development. The ideas should be catchy, relevant to current trends, and suitable for a technical audience. For each idea, provide a brief description and a potential headline.',
tags: ['writing', 'ai', 'content-creation'],
createdAt: new Date(new Date().setDate(new Date().getDate()-1)).toISOString(),
notes: 'Great for weekly content planning.'
},
{
title: 'Python Code Refactoring',
content: 'Act as a senior Python developer. Take the following code snippet and refactor it for better readability, performance, and adherence to PEP 8 standards. Explain the changes you made and why.',
tags: ['python', 'code', 'development', 'refactoring'],
createdAt: new Date(new Date().setDate(new Date().getDate()-2)).toISOString(),
},
{
title: 'Marketing Campaign Slogans',
content: 'Create 5 compelling slogans for a new brand of eco-friendly coffee. The slogans should be short, memorable, and highlight the brand\'s commitment to sustainability.',
tags: ['marketing', 'copywriting', 'branding'],
createdAt: new Date(new Date().setDate(new Date().getDate()-3)).toISOString(),
},
{
title: 'Explain Quantum Computing',
content: 'Explain the concept of quantum computing to a 12-year-old. Use simple analogies and avoid technical jargon as much as possible. Cover the ideas of qubits, superposition, and entanglement.',
tags: ['education', 'science', 'complex-topics'],
createdAt: new Date(new Date().setDate(new Date().getDate()-4)).toISOString(),
notes: 'Useful for breaking down difficult concepts for presentations.'
},
{
title: 'Generate SQL Query',
content: 'Given a database schema with two tables, `users` (id, name, email, signup_date) and `orders` (id, user_id, amount, order_date), write a SQL query to find the total order amount for each user in the last 30 days.',
tags: ['sql', 'database', 'code'],
createdAt: new Date(new Date().setDate(new Date().getDate()-5)).toISOString(),
},
{
title: 'Social Media Post for Product Launch',
content: 'Write a social media post for Twitter announcing the launch of a new productivity app called "Zenith". The tone should be exciting and engaging. Include relevant hashtags.',
tags: ['social-media', 'marketing', 'launch'],
createdAt: new Date(new Date().setDate(new Date().getDate()-6)).toISOString(),
},
{
title: 'Midjourney Prompt for a Spaceship',
content: 'Generate a detailed Midjourney prompt to create a photorealistic image of a sleek, futuristic exploration spaceship floating in front of a nebula. The design should be minimalist, with glowing blue accents. Include parameters for aspect ratio and style.',
tags: ['midjourney', 'image-generation', 'art'],
createdAt: new Date(new Date().setDate(new Date().getDate()-7)).toISOString(),
},
{
title: 'Recipe from Ingredients',
content: 'I have chicken breasts, broccoli, garlic, and lemon in my fridge. Create a simple and healthy recipe I can make for dinner tonight. Provide step-by-step instructions.',
tags: ['food', 'recipe', 'lifestyle'],
createdAt: new Date(new Date().setDate(new Date().getDate()-8)).toISOString(),
notes: 'A practical prompt for everyday use.'
}
];