Skip to content

Commit

Permalink
update sign-in page
Browse files Browse the repository at this point in the history
  • Loading branch information
koko37 committed Oct 31, 2024
1 parent 56d97b7 commit 3bc1cf8
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
14 changes: 14 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ const Footer = styled.footer`
color: ${({ theme }) => theme.colors.gray400};
}
${media.md`
p {
display: none;
}
`}
${media.sm`
flex-direction: column;
gap: ${({ theme }) => theme.sizes.xs};
Expand Down Expand Up @@ -140,6 +146,14 @@ function App() {

<Footer>
<h5>&copy; 2024 Mybucks.online MIT Licensed</h5>

<p>
Audited by{" "}
<a href="https://app.secure3.io/5c92d55acd" target="_blank">
<strong>Secure3</strong>
</a>
</p>

<nav>
<ul>
<li>
Expand Down
6 changes: 3 additions & 3 deletions src/lib/conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ export const LOADING_PLACEHOLDER = "-----";

export const UNKNOWN_FACTS = [
"🌟 Brute-forcing takes millions of years!",
"🔐 It runs only in your browser. Your password stays safe!",
"📂 We never store or transmit your password.",
"🔐 It runs only in your browser.",
"📂 It never stores or transmits your password.",
"🤫 Your account's origin remains anonymous.",
"💼 Feel free to transfer your wallet anytime.",
"⚠️ Don't forget your password! There's no reset or recovery option.",
"⚠️ There's no reset or recovery option.",
];
8 changes: 4 additions & 4 deletions src/pages/Signin/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ const SignIn = () => {
);

const unknownFact = useMemo(
() => UNKNOWN_FACTS[Math.floor(Math.random() * UNKNOWN_FACTS.length)],
[]
() => UNKNOWN_FACTS[Math.floor(progress / 17)],
[progress]
);

const onSubmit = async () => {
Expand Down Expand Up @@ -227,8 +227,8 @@ const SignIn = () => {
</LogoWrapper>

<Box>
<Title>Open your account</Title>
<Caption>Keep your password strong and secure</Caption>
<Title>Unlock your wallet</Title>
<Caption>Use your own unique credentials</Caption>

<div>
<Label htmlFor="password">Password</Label>
Expand Down

0 comments on commit 3bc1cf8

Please sign in to comment.