Use MUI, structure change, fix API

This commit is contained in:
William Bouzourène 2025-03-05 11:11:39 +01:00
parent ef9f05e031
commit 8db8781f06
15 changed files with 831 additions and 350 deletions

View file

@ -44,7 +44,10 @@ if (isset($json->zips) && !empty($json->zips)) {
continue;
}
$zips[(int)$zip->zip] = $zip->city27;
$zips[] = [
"zip" => (int)$zip->zip,
"city" => $zip->city27
];
}
}

View file

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Codes postaux | Suisse</title>
<title>Chercher un code postal en Suisse</title>
<link rel="stylesheet" href="/assets/main.css">
</head>
<body>