feat: add AI Prompts section, database model, public pages, and admin CRUD
This commit is contained in:
@@ -57,6 +57,7 @@ export function Footer({ locale }: { locale: string }) {
|
||||
<ul className="space-y-2 text-xs">
|
||||
<li><Link href={`/${locale}/lessons`} className="hover:text-red-400 transition-colors">All YouTube Lessons</Link></li>
|
||||
<li><Link href={`/${locale}/cheatsheets`} className="hover:text-red-400 transition-colors">Quick Cheatsheets</Link></li>
|
||||
<li><Link href={`/${locale}/prompts`} className="hover:text-red-400 transition-colors">AI Prompts & Templates</Link></li>
|
||||
<li><Link href={`/${locale}/contact`} className="hover:text-red-400 transition-colors">Contact & Suggestions</Link></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import Link from 'next/link';
|
||||
import { usePathname } from 'next/navigation';
|
||||
import { useTranslations } from 'next-intl';
|
||||
import { Code2, BookOpen, Mail, Sparkles } from 'lucide-react';
|
||||
import { Code2, BookOpen, Mail, Sparkles, Terminal } from 'lucide-react';
|
||||
|
||||
export function Navbar({ locale }: { locale: string }) {
|
||||
const t = useTranslations('nav');
|
||||
@@ -13,6 +13,7 @@ export function Navbar({ locale }: { locale: string }) {
|
||||
{ href: `/${locale}`, label: t('home'), icon: Sparkles },
|
||||
{ href: `/${locale}/lessons`, label: t('lessons'), icon: Code2 },
|
||||
{ href: `/${locale}/cheatsheets`, label: t('cheatsheets'), icon: BookOpen },
|
||||
{ href: `/${locale}/prompts`, label: 'Prompts', icon: Terminal },
|
||||
{ href: `/${locale}/contact`, label: t('contact'), icon: Mail },
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user