Skip to content

Commit

Permalink
create login, register and home with changing header
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasOrtsBaguena committed Aug 21, 2024
1 parent 641711a commit 938e3e5
Show file tree
Hide file tree
Showing 22 changed files with 1,566 additions and 137 deletions.
3 changes: 3 additions & 0 deletions staff/lucas-orts/project/app/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
15 changes: 15 additions & 0 deletions staff/lucas-orts/project/app/logic/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import registerUser from './registerUser.js'
import loginUser from './loginUser.js'
import getUserName from './getUserName.js'
import isUserLoggedIn from './isUserLoggedIn.js'
import logoutUser from './logoutUser.js'

const logic = {
registerUser,
loginUser,
getUserName,
isUserLoggedIn,
logoutUser
}

export default logic
1 change: 1 addition & 0 deletions staff/lucas-orts/project/app/logic/logoutUser.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default () => delete sessionStorage.token
Loading

0 comments on commit 938e3e5

Please sign in to comment.