alpha
Login
or
Join now
atpota.to
/
cred.blue
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
fix login styling
author
damedotblog
date
1 year ago
(Apr 21, 2025, 1:04 PM -0400)
commit
e8f0c6da
e8f0c6dac90892fd6a9ee1775fe17072ee50ed9e
parent
8d0670d7
8d0670d7bd61f47e06bb332c6c88312ad99c54a4
+21
-80
3 changed files
Expand all
Collapse all
Unified
Split
src
components
Admin
AdminPanel.css
Login
Login.css
Login.js
-14
src/components/Admin/AdminPanel.css
Reviewed
···
808
808
color: var(--text);
809
809
}
810
810
811
811
-
.login-button {
812
812
-
background-color: var(--button-bg);
813
813
-
color: var(--button-text);
814
814
-
padding: 10px 0;
815
815
-
width: 100%;
816
816
-
font-size: 16px;
817
817
-
margin-top: 10px;
818
818
-
font-weight: 700;
819
819
-
}
820
820
-
821
811
.admin-container form {
822
812
border: 0px;
823
813
padding: 0px;
824
824
-
}
825
825
-
826
826
-
.login-button:hover {
827
827
-
background-color: #004F84;
828
814
}
829
815
830
816
.auth-error {
+12
-54
src/components/Login/Login.css
Reviewed
···
7
7
}
8
8
9
9
.login-card {
10
10
-
background-color: var(--background-color);
11
11
-
border-radius: 8px;
12
12
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
13
13
-
padding: 2rem;
10
10
+
background-color: var(--navbar-bg);
11
11
+
border: 5px solid var(--card-border);
12
12
+
border-radius: 12px;
13
13
+
box-shadow: none;
14
14
+
padding: 40px;
14
15
width: 100%;
15
15
-
max-width: 480px;
16
16
+
max-width: 450px;
16
17
text-align: center;
18
18
+
display: flex;
19
19
+
flex-direction: column;
20
20
+
transition: background-color 0.3s ease, border-color 0.3s ease;
17
21
}
18
22
19
23
.login-card h2 {
20
24
color: var(--text-color);
21
21
-
margin-bottom: 1rem;
25
25
+
margin-bottom: 1.5rem;
22
26
font-size: 1.8rem;
27
27
+
gap: 15px;
28
28
+
align-items: center;
23
29
}
24
30
25
31
.login-card p {
···
40
46
flex-direction: column;
41
47
gap: 1.5rem;
42
48
margin-bottom: 1.5rem;
43
43
-
}
44
44
-
45
45
-
.form-group {
46
46
-
display: flex;
47
47
-
flex-direction: column;
48
48
-
text-align: left;
49
49
-
}
50
50
-
51
51
-
.form-group label {
52
52
-
margin-bottom: 0.5rem;
53
53
-
color: var(--text-color);
54
54
-
font-weight: 500;
55
55
-
}
56
56
-
57
57
-
.form-group input {
58
58
-
padding: 0.75rem;
59
59
-
border: 1px solid var(--border-color);
60
60
-
border-radius: 4px;
61
61
-
background-color: var(--input-background-color, var(--background-color));
62
62
-
color: var(--text-color);
63
63
-
font-size: 1rem;
64
64
-
transition: border-color 0.2s;
65
65
-
}
66
66
-
67
67
-
.form-group input:focus {
68
68
-
border-color: #0070f3;
69
69
-
outline: none;
70
70
-
}
71
71
-
72
72
-
.login-button {
73
73
-
background-color: #0070f3;
74
74
-
color: white;
75
75
-
border: none;
76
76
-
border-radius: 4px;
77
77
-
padding: 0.75rem 1.5rem;
78
78
-
font-size: 1rem;
79
79
-
font-weight: 500;
80
80
-
cursor: pointer;
81
81
-
transition: background-color 0.2s;
82
82
-
}
83
83
-
84
84
-
.login-button:hover {
85
85
-
background-color: #0060df;
86
86
-
}
87
87
-
88
88
-
.login-button:disabled {
89
89
-
background-color: #8bb3f0;
90
90
-
cursor: not-allowed;
91
49
}
92
50
93
51
.login-info {
+9
-12
src/components/Login/Login.js
Reviewed
···
80
80
{error && <div className="login-error">{error}</div>}
81
81
82
82
<form onSubmit={handleSubmit} className="login-form">
83
83
-
<div className="form-group">
84
84
-
<label htmlFor="handle">Bluesky Handle</label>
85
85
-
<input
86
86
-
id="handle"
87
87
-
type="text"
88
88
-
value={handle}
89
89
-
onChange={(e) => setHandle(e.target.value)}
90
90
-
placeholder="yourhandle.bsky.social"
91
91
-
disabled={isLoading || isAuthenticated}
92
92
-
autoFocus
93
93
-
/>
94
94
-
</div>
83
83
+
<input
84
84
+
id="handle"
85
85
+
type="text"
86
86
+
value={handle}
87
87
+
onChange={(e) => setHandle(e.target.value)}
88
88
+
placeholder="yourhandle.bsky.social"
89
89
+
disabled={isLoading || isAuthenticated}
90
90
+
autoFocus
91
91
+
/>
95
92
96
93
<button
97
94
type="submit"