refactor: update UI components and page layouts
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -14,13 +14,13 @@ async function getSettings() {
|
||||
}, {} as Record<string, string>);
|
||||
|
||||
return {
|
||||
siteTitle: settingsObj.siteTitle || 'Wishlist',
|
||||
homepageSubtext: settingsObj.homepageSubtext || 'Browse and explore available wishlists',
|
||||
siteTitle: settingsObj.siteTitle || 'Chá de Bebê',
|
||||
homepageSubtext: settingsObj.homepageSubtext || 'Escolha um presente da lista!',
|
||||
};
|
||||
} catch (error) {
|
||||
return {
|
||||
siteTitle: 'Wishlist',
|
||||
homepageSubtext: 'Browse and explore available wishlists',
|
||||
siteTitle: 'Chá de Bebê',
|
||||
homepageSubtext: 'Escolha um presente da lista!',
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -29,7 +29,7 @@ export async function generateMetadata(): Promise<Metadata> {
|
||||
const settings = await getSettings();
|
||||
return {
|
||||
title: settings.siteTitle,
|
||||
description: "Self-hosted wishlist application for families",
|
||||
description: "Lista de presentes para o chá de bebê",
|
||||
icons: {
|
||||
icon: '/icon.svg',
|
||||
},
|
||||
@@ -42,7 +42,7 @@ export default function RootLayout({
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<html lang="pt-BR">
|
||||
<body className="font-sans antialiased bg-gray-50 dark:bg-gray-900">
|
||||
<AuthProvider>
|
||||
<ThemeProvider>{children}</ThemeProvider>
|
||||
|
||||
Reference in New Issue
Block a user