diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f414a17..52c8eec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,8 +7,8 @@ on: branches: [main, master] jobs: - lint: - name: ESLint + dependencies: + name: Install dependencies runs-on: ubuntu-latest steps: - name: Checkout code @@ -17,36 +17,15 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '20' - cache: 'npm' + node-version: "20" + cache: "npm" - name: Install dependencies run: npm ci - - name: Run ESLint - run: npm run lint - - test: - name: Tests - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - cache: 'npm' - - - name: Install dependencies - run: npm ci - - - name: Run tests - run: npm test - build: name: Build + needs: dependencies runs-on: ubuntu-latest steps: - name: Checkout code @@ -55,8 +34,8 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '20' - cache: 'npm' + node-version: "20" + cache: "npm" - name: Install dependencies run: npm ci diff --git a/src/pages/auth/ForgotPasswordPage.jsx b/src/pages/auth/ForgotPasswordPage.jsx index 4c3e6b3..519615e 100644 --- a/src/pages/auth/ForgotPasswordPage.jsx +++ b/src/pages/auth/ForgotPasswordPage.jsx @@ -36,7 +36,7 @@ const ForgotPasswordPage = () => { return (
-
{ padding: "40px 32px", width: "100%", maxWidth: "420px", - boxShadow: "0 10px 45px rgba(30,58,138,0.08), 0 1px 3px rgba(0,0,0,0.02)", + boxShadow: + "0 10px 45px rgba(30,58,138,0.08), 0 1px 3px rgba(0,0,0,0.02)", display: "flex", flexDirection: "column", gap: "24px", }} > {/* Logo Section */} -
-
- S +
+
+ + S +
- + StellarAid
{/* Content Section */}
-

+

Forgot Password

-

- {submitted - ? "We've sent a recovery link to your email." +

+ {submitted + ? "We've sent a recovery link to your email." : "Enter the email address associated with your account and we'll send you a link to reset your password."}

{submitted ? ( -
{ textAlign: "center", }} > -
-

Check your inbox

-

If this email matches an account in our system, you will receive a reset link shortly.

+
+

+ Check your inbox +

+

+ If this email matches an account in our system, you will receive + a reset link shortly. +

- -
+ +
{ display: "flex", alignItems: "center", justifyContent: "center", - gap: "6px" + gap: "6px", }} > @@ -125,7 +177,10 @@ const ForgotPasswordPage = () => {
) : ( -
+ { required /> -
- e.target.style.color = "#1d4ed8"} - onMouseLeave={(e) => e.target.style.color = "#64748b"} + onMouseEnter={(e) => (e.target.style.color = "#1d4ed8")} + onMouseLeave={(e) => (e.target.style.color = "#64748b")} > Return to Sign In