refactor: restructure landing page with component extraction and fix Server Component hooks

- Extract reusable components: EnterOrSignInButton, paragraphFormatFactory, getProviders
- Fix React hooks usage: remove useMemo from async Server Components
- Update landing page content for Croatian and English translations
- Reorganize terms/policy pages into locale-aware directories
- Update PageFooter to use locale-aware links and make component async

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Knee Cola
2025-12-24 21:26:09 +01:00
parent 5da00abd4d
commit 68b2591f40
9 changed files with 126 additions and 128 deletions

View File

@@ -18,9 +18,7 @@
},
"login-page": {
"main-card": {
"title-1": "Which bills are due?",
"title-2": "Which are payed?",
"title-3": "How much are my expenses?",
"title": "Bill management made easy<indigo> for landlords</indigo>",
"text-1": "These are the questions this simple and free app will help you with ...",
"text-2": "... try it & use it completly free!",
"go-to-app": "Go to the App",