feat: add AI Prompts section, database model, public pages, and admin CRUD

This commit is contained in:
AyrisAI
2026-07-23 17:38:06 +03:00
parent bd543c3bda
commit bf4e0da112
8 changed files with 762 additions and 7 deletions
+2 -1
View File
@@ -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 },
];