Skip to content

Commit f47789e

Browse files
committed
feat: enhance AuthForm with mobile logo and styling adjustments
1 parent 2b19cd1 commit f47789e

File tree

3 files changed

+26
-4
lines changed

3 files changed

+26
-4
lines changed

littleX_FULLSTACK/components/AuthForm.cl.jac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def:pub AuthForm(props: Any) -> Any {
1717
</div>
1818
<div className="lx-auth-right">
1919
<div className="lx-auth-box">
20+
<img src="/static/assets/littlex-logo.png" className="lx-auth-mobile-logo" alt="little-x" />
2021
<div className="lx-auth-heading">LITTLE-X</div>
2122
<div className="lx-auth-sub">
2223
{"Create your account and join the conversation" if isSignup else "Sign in to your account"}

littleX_FULLSTACK/global.css

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,6 +1142,10 @@ body::before {
11421142
animation: fadeUp 0.4s ease both;
11431143
}
11441144

1145+
.lx-auth-mobile-logo {
1146+
display: none;
1147+
}
1148+
11451149
.lx-auth-right {
11461150
display: flex;
11471151
align-items: center;
@@ -1747,8 +1751,24 @@ body::before {
17471751

17481752
.lx-auth-right {
17491753
padding: 2rem 1.25rem;
1750-
align-items: flex-start;
1751-
padding-top: 3rem;
1754+
align-items: center;
1755+
justify-content: center;
1756+
min-height: 100vh;
1757+
}
1758+
1759+
.lx-auth-box {
1760+
max-width: 100%;
1761+
padding-top: 0;
1762+
}
1763+
1764+
.lx-auth-mobile-logo {
1765+
display: block;
1766+
width: 64px;
1767+
height: 64px;
1768+
object-fit: contain;
1769+
filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.45));
1770+
animation: fadeUp 0.35s ease both;
1771+
margin-bottom: 0.25rem;
17521772
}
17531773

17541774
.lx-auth-heading {

littleX_FULLSTACK/little-x.jacpack

Lines changed: 3 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)