update branding from Lovable to Financen Mizera, replace favicon, set document title in App component, adjust mobile action bar button sizes #deploy
This commit is contained in:
parent
c618d80099
commit
eacfbf019e
12
index.html
12
index.html
@ -5,18 +5,16 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<!-- TODO: Set the document title to the name of your application -->
|
||||
<title>Lovable App</title>
|
||||
<meta name="description" content="Lovable Generated Project" />
|
||||
<meta name="author" content="Lovable" />
|
||||
<meta name="description" content="Financen Mizera" />
|
||||
<meta name="author" content="Marian Mizera" />
|
||||
|
||||
<!-- TODO: Update og:title to match your application name -->
|
||||
<meta property="og:title" content="Lovable App" />
|
||||
<meta property="og:description" content="Lovable Generated Project" />
|
||||
<meta property="og:title" content="Financen Mizera" />
|
||||
<meta property="og:description" content="Financen Mizera Finanzen und Versicherungs Beratung" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:image" content="https://lovable.dev/opengraph-image-p98pqg.png" />
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:site" content="@Lovable" />
|
||||
<meta name="twitter:image" content="https://lovable.dev/opengraph-image-p98pqg.png" />
|
||||
|
||||
|
||||
<!-- Facebook SDK -->
|
||||
<div id="fb-root"></div>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 1.1 KiB |
13
src/App.tsx
13
src/App.tsx
@ -1,4 +1,4 @@
|
||||
import React from "react";
|
||||
import React, { useEffect } from "react";
|
||||
import { Toaster } from "@/components/ui/toaster";
|
||||
import { Toaster as Sonner } from "@/components/ui/sonner";
|
||||
import { TooltipProvider } from "@/components/ui/tooltip";
|
||||
@ -82,7 +82,13 @@ class ErrorBoundary extends React.Component<
|
||||
}
|
||||
}
|
||||
|
||||
const App = () => (
|
||||
const App = () => {
|
||||
// Set document title
|
||||
useEffect(() => {
|
||||
document.title = "Financen Mizera";
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<I18nextProvider i18n={i18n}>
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<TooltipProvider>
|
||||
@ -143,6 +149,7 @@ const App = () => (
|
||||
</TooltipProvider>
|
||||
</QueryClientProvider>
|
||||
</I18nextProvider>
|
||||
);
|
||||
);
|
||||
};
|
||||
|
||||
export default App;
|
||||
|
||||
@ -109,17 +109,17 @@ const Layout = ({ children }: LayoutProps) => {
|
||||
variant="outline"
|
||||
size="icon"
|
||||
aria-label="Nach oben"
|
||||
className="h-12 w-12 rounded-full bg-white/95 border border-blue-200 shadow-md hover:bg-blue-50"
|
||||
className="h-12 w-12 rounded-full bg-white/95 border border-blue-200 shadow-md hover:bg-blue-50 sm:h-9 sm:w-9"
|
||||
onClick={() => window.scrollTo({ top: 0, behavior: 'smooth' })}
|
||||
>
|
||||
<ArrowUp className="h-5 w-5 text-blue-700" />
|
||||
<ArrowUp className="h-5 w-5 text-blue-700 sm:h-4 sm:w-4" />
|
||||
</Button>
|
||||
)}
|
||||
|
||||
<Button asChild className="h-12 rounded-full px-6 bg-blue-600 hover:bg-blue-700 shadow-lg">
|
||||
<Button asChild className="h-12 rounded-full px-6 bg-blue-600 hover:bg-blue-700 shadow-lg sm:h-9 sm:px-4 sm:text-xs">
|
||||
<Link to="/contact#contact">
|
||||
<Phone className="h-5 w-5 mr-2" />
|
||||
{tNav('contact', 'Kontakt')}
|
||||
<Phone className="h-5 w-5 mr-2 sm:h-4 sm:w-4 sm:mr-1" />
|
||||
<span className="sm:hidden">{tNav('contact', 'Kontakt')}</span>
|
||||
</Link>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user