feat: move nav bar to the side (#6)

Co-authored-by: terraputix <terraputix@mailbox.org>
Reviewed-on: useweb/open-meteo-blue#6
This commit was merged in pull request #6.
This commit is contained in:
2026-02-16 01:23:52 +01:00
co-authored by terraputix
parent 7a6cca5dad
commit 381ffaf3f6
29 changed files with 831 additions and 975 deletions
+3 -4
View File
@@ -1,14 +1,13 @@
import { describe, expect, it } from 'vitest';
import { render } from 'vitest-browser-svelte';
import { page } from 'vitest/browser';
import Page from './+page.svelte';
describe('/+page.svelte', () => {
it('should render h1', async () => {
it('should render the redirect page with correct title', async () => {
render(Page);
const heading = page.getByRole('heading', { level: 1 });
await expect.element(heading).toBeInTheDocument();
const title = document.querySelector('title');
expect(title?.textContent).toBe('Open-Meteo Weather');
});
});