conditioanls for logins
when login-> cookies are added (signals that u are logged in)
local strogae -> authenticated (set true) when logged in
MENU FOR LOGIN IN:
home.html -> includes/nav
header.html -> includes/theme/minima
login.js - assests/js/api
home.html
menu is guarded with authentication code
Header.html
mibnima doesnt support login --> need to drag the files
head.html -> comeing from the remote theme in github
All the head and body tags are in base.html in minima(thats why u dont need head and body tags in your own code)
login.js
go to backend and fetch data, if it has data -> shows the data and (becomes authenticated)
using innerHMTL to change the names (of the logined in person) of login to the name of the user
conditioanls for logins when login-> cookies are added (signals that u are logged in)
local strogae -> authenticated (set true) when logged in
MENU FOR LOGIN IN: home.html -> includes/nav header.html -> includes/theme/minima login.js - assests/js/api
home.html menu is guarded with authentication code
Header.html mibnima doesnt support login --> need to drag the files head.html -> comeing from the remote theme in github All the head and body tags are in base.html in minima(thats why u dont need head and body tags in your own code)
login.js go to backend and fetch data, if it has data -> shows the data and (becomes authenticated) using innerHMTL to change the names (of the logined in person) of login to the name of the user