chore: update document titles, metadata, and copy to Revanios
This commit is contained in:
@@ -3,7 +3,7 @@ import { AnalyticsClient } from "./analytics-client";
|
|||||||
import { redirect } from "next/navigation";
|
import { redirect } from "next/navigation";
|
||||||
|
|
||||||
export const metadata = {
|
export const metadata = {
|
||||||
title: "Analizler - Cognis",
|
title: "Analizler - Revanios",
|
||||||
};
|
};
|
||||||
|
|
||||||
export default async function AnalyticsPage() {
|
export default async function AnalyticsPage() {
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ const documents = [
|
|||||||
date: "May 08, 2026",
|
date: "May 08, 2026",
|
||||||
category: "Design",
|
category: "Design",
|
||||||
starred: false,
|
starred: false,
|
||||||
summary: "Core design tokens, typography, and color palette for the Cognis rebrand.",
|
summary: "Core design tokens, typography, and color palette for the Revanios rebrand.",
|
||||||
owner: "Alex R.",
|
owner: "Alex R.",
|
||||||
tags: ["Design", "UI", "Branding"],
|
tags: ["Design", "UI", "Branding"],
|
||||||
aiAnalysis: "Identifies 'Cyber-Lavender' as the primary action color. Typography is set to Geist Sans."
|
aiAnalysis: "Identifies 'Cyber-Lavender' as the primary action color. Typography is set to Geist Sans."
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ const goals = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 2,
|
id: 2,
|
||||||
title: "Launch Cognis AI Mobile App",
|
title: "Launch Revanios AI Mobile App",
|
||||||
category: "Product",
|
category: "Product",
|
||||||
progress: 85,
|
progress: 85,
|
||||||
deadline: "May 25, 2026",
|
deadline: "May 25, 2026",
|
||||||
@@ -238,7 +238,7 @@ export default function GoalsPage() {
|
|||||||
<div className="flex items-center gap-3">
|
<div className="flex items-center gap-3">
|
||||||
<div className="p-2 bg-blue-500/10 rounded-sm"><Briefcase className="h-4 w-4 text-blue-400" /></div>
|
<div className="p-2 bg-blue-500/10 rounded-sm"><Briefcase className="h-4 w-4 text-blue-400" /></div>
|
||||||
<div>
|
<div>
|
||||||
<div className="text-xs font-bold">Project: Cognis App</div>
|
<div className="text-xs font-bold">Project: Revanios App</div>
|
||||||
<div className="text-[9px] text-muted-foreground uppercase mt-1">Core Requirement</div>
|
<div className="text-[9px] text-muted-foreground uppercase mt-1">Core Requirement</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ export default async function DashboardLayout({
|
|||||||
redirect("/portal");
|
redirect("/portal");
|
||||||
}
|
}
|
||||||
|
|
||||||
const fallbackName = user?.email?.split("@")[0] ?? "Cognis Kullanıcısı";
|
const fallbackName = user?.email?.split("@")[0] ?? "Revanios Kullanıcısı";
|
||||||
const displayName =
|
const displayName =
|
||||||
[profile?.first_name, profile?.last_name].filter(Boolean).join(" ") ||
|
[profile?.first_name, profile?.last_name].filter(Boolean).join(" ") ||
|
||||||
fallbackName;
|
fallbackName;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { DashboardClient } from "./dashboard-client";
|
|||||||
import { redirect } from "next/navigation";
|
import { redirect } from "next/navigation";
|
||||||
|
|
||||||
export const metadata = {
|
export const metadata = {
|
||||||
title: "Dashboard - Cognis",
|
title: "Dashboard - Revanios",
|
||||||
};
|
};
|
||||||
|
|
||||||
export default async function DashboardPage() {
|
export default async function DashboardPage() {
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ export async function POST(request: Request) {
|
|||||||
|
|
||||||
const result = streamText({
|
const result = streamText({
|
||||||
model,
|
model,
|
||||||
system: `Sen Cognis içindeki kişisel Freelancer OS asistanısın.
|
system: `Sen Revanios içindeki kişisel Freelancer OS asistanısın.
|
||||||
Kullanıcının kayıtlı verileri hakkında kısa, net ve Türkçe cevap ver.
|
Kullanıcının kayıtlı verileri hakkında kısa, net ve Türkçe cevap ver.
|
||||||
Veri yoksa bunu açıkça söyle. Klinik, finansal veya hukuki kesin hüküm verme.
|
Veri yoksa bunu açıkça söyle. Klinik, finansal veya hukuki kesin hüküm verme.
|
||||||
|
|
||||||
|
|||||||
+7
-4
@@ -1,4 +1,4 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata, Viewport } from "next";
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { Geist } from "next/font/google";
|
import { Geist } from "next/font/google";
|
||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
@@ -8,17 +8,20 @@ import { OfflineIndicator } from "@/components/ui/offline-indicator";
|
|||||||
const geist = Geist({ subsets: ["latin"], variable: "--font-sans" });
|
const geist = Geist({ subsets: ["latin"], variable: "--font-sans" });
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Cognis",
|
title: "Revanios",
|
||||||
description: "Self-hosted freelancer operating dashboard",
|
description: "Self-hosted freelancer operating dashboard",
|
||||||
manifest: "/manifest.json",
|
manifest: "/manifest.json",
|
||||||
themeColor: "#ffffff",
|
|
||||||
appleWebApp: {
|
appleWebApp: {
|
||||||
capable: true,
|
capable: true,
|
||||||
statusBarStyle: "default",
|
statusBarStyle: "default",
|
||||||
title: "Cognis",
|
title: "Revanios",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const viewport: Viewport = {
|
||||||
|
themeColor: "#ffffff",
|
||||||
|
};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: Readonly<{
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ export default async function LoginPage({
|
|||||||
{error && message && <ErrorToaster message={String(message)} />}
|
{error && message && <ErrorToaster message={String(message)} />}
|
||||||
<AuthPageShell
|
<AuthPageShell
|
||||||
title="Giriş yap"
|
title="Giriş yap"
|
||||||
description="Cognis çalışma alanına erişmek için hesabına giriş yap."
|
description="Revanios çalışma alanına erişmek için hesabına giriş yap."
|
||||||
form={
|
form={
|
||||||
<form className="space-y-6">
|
<form className="space-y-6">
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ export default async function RegisterPage({
|
|||||||
{error && message && <ErrorToaster message={String(message)} />}
|
{error && message && <ErrorToaster message={String(message)} />}
|
||||||
<AuthPageShell
|
<AuthPageShell
|
||||||
title="İlk admin hesabını oluştur"
|
title="İlk admin hesabını oluştur"
|
||||||
description="Bu self-host kurulumu için Cognis çalışma alanının ilk yönetici hesabını oluştur."
|
description="Bu self-host kurulumu için Revanios çalışma alanının ilk yönetici hesabını oluştur."
|
||||||
form={
|
form={
|
||||||
<form className="space-y-6">
|
<form className="space-y-6">
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
|
|||||||
Reference in New Issue
Block a user