Skip to content

Commit

Permalink
fix: improve login page style
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinKolarik committed Aug 17, 2024
1 parent 54fb54c commit 6b3c3d4
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 140 deletions.
194 changes: 98 additions & 96 deletions assets/images/login-bg-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 28 additions & 40 deletions assets/images/login-bg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions pages/login.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<section class="grid grid-cols-[480px_auto] max-md:grid-cols-1">
<div class="flex flex-col px-20 py-12" style="box-shadow: 0 20px 25px -5px rgba(0 0 0 / .1), 0 8px 10px -6px rgba(0 0 0 / .1); z-index: 2;">
<section class="grid grid-cols-[480px_auto] max-md:grid-cols-1 dark:bg-dark-800">
<div class="flex flex-col px-20 py-12 max-[480px]:px-10 shadow-xl dark:shadow-dark-800" style="z-index: 2;">

Check warning on line 3 in pages/login.vue

View workflow job for this annotation

GitHub Actions / build

Invalid Tailwind CSS classnames order
<div class="mb-auto flex flex-col">
<div class="flex items-center">
<picture class="inline-flex">
Expand All @@ -17,7 +17,7 @@
</div>

<div class="mb-auto">
<h2 class="text-4xl font-bold">Sign in</h2>
<h2 class="text-4xl font-bold">Sign In</h2>
<Divider class="h-2 before:border-t-2"/>
<Button
class="h-12 w-full bg-black !text-left"
Expand All @@ -34,7 +34,7 @@
</NuxtLink>
</div>

<div class="rounded-xl bg-[url('~/assets/images/login-bg.svg')] bg-cover max-md:hidden dark:bg-[url('~/assets/images/login-bg-dark.svg')]"/>
<div class="bg-[url('~/assets/images/login-bg.svg')] bg-cover max-md:hidden dark:bg-[url('~/assets/images/login-bg-dark.svg')]"/>
</section>
</template>

Expand Down

0 comments on commit 6b3c3d4

Please sign in to comment.