formatting, full migration to svelte-french-toast

This commit is contained in:
2023-04-26 22:47:42 +02:00
parent 38a665024e
commit 46d076af9d
137 changed files with 11984 additions and 9212 deletions

View File

@@ -7,14 +7,14 @@
</div>
</div>
</div>
<div
class="w-full p-4 mb-4 rounded-lg bg-white border border-grey-100">
<div class="w-full p-4 mb-4 rounded-lg bg-white border border-grey-100">
<div class="flex flex-row items-center justify-start p-4">
<div class="flex-shrink-0 w-24">
<img
src="/images/faces/m1.png"
alt="media"
class="shadow rounded-full h-20 w-20 shadow-outline mb-2" />
class="shadow rounded-full h-20 w-20 shadow-outline mb-2"
/>
</div>
<div class="py-2 px-2">
<p class="text-base font-bold whitespace-no-wrap">Lucas Smith</p>
@@ -22,7 +22,8 @@
Vital Database Dude
</p>
<div
class="flex flex-row items-center justify-start w-full py-1 space-x-2">
class="flex flex-row items-center justify-start w-full py-1 space-x-2"
>
<svg
stroke="currentColor"
fill="none"
@@ -33,8 +34,11 @@
class="stroke-current text-xl text-twitter"
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"><path
d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z" /></svg><svg
xmlns="http://www.w3.org/2000/svg"
><path
d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"
/></svg
><svg
stroke="currentColor"
fill="none"
stroke-width="2"
@@ -44,8 +48,11 @@
class="stroke-current text-xl text-facebook"
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"><path
d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z" /></svg><svg
xmlns="http://www.w3.org/2000/svg"
><path
d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"
/></svg
><svg
stroke="currentColor"
fill="none"
stroke-width="2"
@@ -55,21 +62,21 @@
class="stroke-current text-xl text-instagram"
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"><rect
x="2"
y="2"
width="20"
height="20"
rx="5"
ry="5" />
xmlns="http://www.w3.org/2000/svg"
><rect x="2" y="2" width="20" height="20" rx="5" ry="5" />
<path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z" />
<line x1="17.5" y1="6.5" x2="17.5" y2="6.5" /></svg>
<line x1="17.5" y1="6.5" x2="17.5" y2="6.5" /></svg
>
</div>
</div>
<div class="ml-auto flex-shrink-0 space-x-2 hidden lg:flex">
<button
class="btn btn-default btn-rounded bg-blue-500 hover:bg-blue-600 text-white">Subscribe</button><button
class="btn btn-default btn-rounded bg-blue-500 hover:bg-blue-600 text-white">Follow</button>
class="btn btn-default btn-rounded bg-blue-500 hover:bg-blue-600 text-white"
>Subscribe</button
><button
class="btn btn-default btn-rounded bg-blue-500 hover:bg-blue-600 text-white"
>Follow</button
>
</div>
</div>
<div class="flex flex-wrap">
@@ -77,14 +84,19 @@
<div class="flex flex-wrap flex-col w-full tabs">
<div class="flex lg:flex-wrap flex-row lg:space-x-2">
<div class="flex-none">
<button class="tab tab-underline tab-active" type="button">Account
settings</button>
<button class="tab tab-underline tab-active" type="button"
>Account settings</button
>
</div>
<div class="flex-none">
<button class="tab tab-underline" type="button">Email preferences</button>
<button class="tab tab-underline" type="button"
>Email preferences</button
>
</div>
<div class="flex-none">
<button class="tab tab-underline" type="button">Security settings</button>
<button class="tab tab-underline" type="button"
>Security settings</button
>
</div>
</div>
<div class="tab-content block">
@@ -93,51 +105,64 @@
<form class="form flex flex-wrap w-full">
<div class="w-full">
<div class="form-element">
<div class="form-label">First name</div><input
<div class="form-label">First name</div>
<input
name="first-name"
type="text"
class="form-input "
placeholder="Enter you first name" />
class="form-input"
placeholder="Enter you first name"
/>
</div>
<div class="form-element">
<div class="form-label">Last name</div><input
<div class="form-label">Last name</div>
<input
name="last-name"
type="text"
class="form-input "
placeholder="Enter you last name" />
class="form-input"
placeholder="Enter you last name"
/>
</div>
<div class="form-element">
<div class="form-label">Email address</div><input
<div class="form-label">Email address</div>
<input
name="email"
type="email"
class="form-input "
placeholder="Enter you email address" />
class="form-input"
placeholder="Enter you email address"
/>
</div>
<div class="form-element">
<div class="form-label">Company</div><input
<div class="form-label">Company</div>
<input
name="company"
type="text"
class="form-input "
placeholder="Enter you company" />
class="form-input"
placeholder="Enter you company"
/>
</div>
<div class="form-element">
<div class="form-label">Position</div><input
<div class="form-label">Position</div>
<input
name="position"
type="text"
class="form-input "
placeholder="Enter you position" />
class="form-input"
placeholder="Enter you position"
/>
</div>
<div class="form-element">
<div class="form-label">Language</div><select
name="language"
class="form-select "><option>Select language</option>
<div class="form-label">Language</div>
<select name="language" class="form-select"
><option>Select language</option>
<option value="english">English</option>
<option value="spanish">Spanish</option>
<option value="portuguese">Portuguese</option></select>
<option value="portuguese">Portuguese</option></select
>
</div>
</div><input
</div>
<input
type="submit"
class="btn btn-default bg-blue-500 hover:bg-blue-600 text-white btn-rounded" />
class="btn btn-default bg-blue-500 hover:bg-blue-600 text-white btn-rounded"
/>
</form>
</div>
</div>
@@ -148,56 +173,70 @@
<form class="form flex flex-wrap w-full">
<div class="w-full">
<div class="form-element">
<div class="form-label">Current email</div><input
<div class="form-label">Current email</div>
<input
name="email"
type="email"
class="form-input "
placeholder="Enter you current email address" />
class="form-input"
placeholder="Enter you current email address"
/>
</div>
<div class="form-element">
<div class="form-label">New email</div><input
<div class="form-label">New email</div>
<input
name="email"
type="email"
class="form-input "
placeholder="Enter you new email address" />
class="form-input"
placeholder="Enter you new email address"
/>
</div>
<div class="form-element">
<div class="form-label">Daily updates</div>
<div class="flex items-center justify-start space-x-2">
<label
class="flex items-center justify-start space-x-2"><input
<label class="flex items-center justify-start space-x-2"
><input
type="radio"
name="daily-updates"
class="form-radio h-4 w-4 "
value="yes" /><span
class="">Yes</span></label><label
class="flex items-center justify-start space-x-2"><input
class="form-radio h-4 w-4"
value="yes"
/><span class="">Yes</span></label
><label
class="flex items-center justify-start space-x-2"
><input
type="radio"
name="daily-updates"
class="form-radio h-4 w-4 "
value="no" /><span class="">No</span></label>
class="form-radio h-4 w-4"
value="no"
/><span class="">No</span></label
>
</div>
</div>
<div class="form-element">
<div class="form-label">Weekly updates</div>
<div class="flex items-center justify-start space-x-2">
<label
class="flex items-center justify-start space-x-2"><input
<label class="flex items-center justify-start space-x-2"
><input
type="radio"
name="weekle-updates"
class="form-radio h-4 w-4 "
value="yes" /><span
class="">Yes</span></label><label
class="flex items-center justify-start space-x-2"><input
class="form-radio h-4 w-4"
value="yes"
/><span class="">Yes</span></label
><label
class="flex items-center justify-start space-x-2"
><input
type="radio"
name="weekle-updates"
class="form-radio h-4 w-4 "
value="no" /><span class="">No</span></label>
class="form-radio h-4 w-4"
value="no"
/><span class="">No</span></label
>
</div>
</div>
</div><input
</div>
<input
type="submit"
class="btn btn-default bg-blue-500 hover:bg-blue-600 text-white btn-rounded" />
class="btn btn-default bg-blue-500 hover:bg-blue-600 text-white btn-rounded"
/>
</form>
</div>
</div>
@@ -208,29 +247,37 @@
<form class="form flex flex-wrap w-full">
<div class="w-full">
<div class="form-element">
<div class="form-label">Current password</div><input
<div class="form-label">Current password</div>
<input
name="current-password"
type="password"
class="form-input "
placeholder="Enter your current password" />
class="form-input"
placeholder="Enter your current password"
/>
</div>
<div class="form-element">
<div class="form-label">New password</div><input
<div class="form-label">New password</div>
<input
name="new-password"
type="password"
class="form-input "
placeholder="Enter your new password" />
class="form-input"
placeholder="Enter your new password"
/>
</div>
<div class="form-element">
<div class="form-label">Confirm new password</div><input
<div class="form-label">Confirm new password</div>
<input
name="confirm-new-password"
type="password"
class="form-input "
placeholder="Enter your new password confirmation" />
class="form-input"
placeholder="Enter your new password confirmation"
/>
</div>
</div><input
</div>
<input
type="submit"
class="btn btn-default bg-blue-500 hover:bg-blue-600 text-white btn-rounded" />
class="btn btn-default bg-blue-500 hover:bg-blue-600 text-white btn-rounded"
/>
</form>
</div>
</div>