From 838002d5a763a791f1a89947dbe28d79439fcb5b Mon Sep 17 00:00:00 2001 From: SUJAY Date: Thu, 9 Jan 2025 19:17:53 +0530 Subject: [PATCH] Add Background image to Forget Password Page --- src/Pages/ForgetPassword.js | 61 ++++++++++++++++++++++--------------- 1 file changed, 36 insertions(+), 25 deletions(-) diff --git a/src/Pages/ForgetPassword.js b/src/Pages/ForgetPassword.js index 38c7503..92c0539 100644 --- a/src/Pages/ForgetPassword.js +++ b/src/Pages/ForgetPassword.js @@ -2,12 +2,21 @@ import React, { useState } from "react"; import styled from "styled-components"; import { motion } from "framer-motion"; +const Background = styled.section` + background-image: url("https://img.freepik.com/free-photo/hot-latte-art-coffee-cup-wood-table-coffee-shop_1150-8937.jpg"); + background-size: cover; + background-position: center; + height: 100vh; +`; + const ForgetPasswordContainer = styled.div` display: flex; justify-content: center; align-items: center; height: 100vh; - background-color: #f5f5f5; + padding: 0 1rem; + backdrop-filter: blur(8px); + background: rgba(0, 0, 0, 0.6); `; const ForgetPasswordForm = styled(motion.form)` @@ -68,31 +77,33 @@ function ForgetPassword() { }; return ( - - -

Forgot Password

- setEmail(e.target.value)} - required - /> - - {message && {message}} -
-
+

Forgot Password

+ setEmail(e.target.value)} + required + /> + + {message && {message}} + + + ); }