mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-21 05:18:44 +00:00
fix: formatting
This commit is contained in:
parent
acf6a8e456
commit
16d19367ef
4 changed files with 21 additions and 21 deletions
|
|
@ -12,7 +12,7 @@ export const handleFetch: HandleFetch = async ({ request, fetch, event }) => {
|
|||
|
||||
const url = new URL(request.url);
|
||||
|
||||
url.protocol = "http:";
|
||||
url.protocol = 'http:';
|
||||
|
||||
url.host = process.env.PORTFOLIO_API_HOST ?? '127.0.0.1:8000';
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
<tbody>
|
||||
{#each candidates as candidate}
|
||||
<tr class="border-b bg-white hover:cursor-pointer">
|
||||
<td class="text-gray-900 hover:text-sspsBlue hover:font-bold"
|
||||
<td class="hover:text-sspsBlue text-gray-900 hover:font-bold"
|
||||
><a
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
<svg
|
||||
class="h-10 w-10"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
viewBox="0 0 24 24"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
><path
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
stroke-width="2"
|
||||
d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"
|
||||
/></svg
|
||||
>
|
||||
class="h-10 w-10"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
viewBox="0 0 24 24"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
><path
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
stroke-width="2"
|
||||
d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"
|
||||
/></svg
|
||||
>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 302 B After Width: | Height: | Size: 302 B |
|
|
@ -122,15 +122,15 @@
|
|||
});
|
||||
|
||||
type FormErrorType = {
|
||||
[K in keyof typeof formInitialValues]: typeof formInitialValues[K] extends Record<
|
||||
[K in keyof typeof formInitialValues]: (typeof formInitialValues)[K] extends Record<
|
||||
string,
|
||||
unknown
|
||||
>
|
||||
? {
|
||||
[K2 in keyof typeof formInitialValues[K]]: string;
|
||||
[K2 in keyof (typeof formInitialValues)[K]]: string;
|
||||
}
|
||||
: typeof formInitialValues[K] extends Array<Record<string, unknown>>
|
||||
? Array<{ [K3 in keyof typeof formInitialValues[K][number]]: string }>
|
||||
: (typeof formInitialValues)[K] extends Array<Record<string, unknown>>
|
||||
? Array<{ [K3 in keyof (typeof formInitialValues)[K][number]]: string }>
|
||||
: string;
|
||||
};
|
||||
|
||||
|
|
@ -206,8 +206,8 @@
|
|||
'--toastColor': 'mintcream',
|
||||
'--toastBackground': '#b91c1c',
|
||||
'--toastBarBackground': '#7f1d1d'
|
||||
}
|
||||
})
|
||||
}
|
||||
});
|
||||
throw new Error('Rodné číslo neodpovídá datumu narození');
|
||||
}
|
||||
}
|
||||
|
|
@ -340,7 +340,7 @@
|
|||
</script>
|
||||
|
||||
<SplitLayout>
|
||||
<SvelteToast></SvelteToast>
|
||||
<SvelteToast />
|
||||
<div class="form relative">
|
||||
<div class="bottom-3/12 absolute flex w-full flex-col md:h-auto">
|
||||
<div class="<md:h-24 <md:w-24 mb-4 h-32 w-32 self-center">
|
||||
|
|
|
|||
Loading…
Reference in a new issue