목록Project (3)
Creative Code

--> 로그인화면의 배경화면을 gif 파일로 수정 ※pages/login.py 코드 """Login page. Uses auth_layout to render UI shared with the sign up page.""" import reflex as rx from lunar.state.auth import AuthState def login(): return rx.container( rx.container(height='150px'), rx.hstack( # rx.vstack( # rx.container(height='30px'), # rx.image( # src = '/space2.jpg', # ), # width = '500px', # height= '100%', # ), # rx.containe..

--> 아이디와 비밀번호를 입력하면 sqlite 데이터 베이스에 저장되어있는 유저 데이터와 비교해 일치할 시 로그인 가능 ※로그인 화면 코드(pages/login.py) """Login page. Uses auth_layout to render UI shared with the sign up page.""" import reflex as rx from lunar.state.auth import AuthState def login(): return rx.container( rx.container(height='150px'), rx.hstack( rx.vstack( rx.container(height='30px'), rx.image( src = '/space2.jpg', ), width = '500px', ..

※ 코드 내용 pages/findpassword.py """findpassword page. Uses auth_layout to render UI shared with the sign up page.""" import reflex as rx from lunar.state.auth import AuthState def findpassword(): return rx.container( rx.container(height='150px'), rx.hstack( rx.vstack( rx.hstack( rx.vstack( rx.container(height='20px'), rx.image( src = "/moonico.ico", width="70px", height="70px", ), ), rx.vstack( rx..