just for ai practice
I moved to reset
That’s very cool.
I’m wondering how exactly that works and if it’s actually something you could push further and deploy to a live site (eventually)?
@dan see below
I have now asked cursor to split between blog and another page password protected
I have put both parts of the code in this file marked each section
this link is to the code used in the video above I suppose if you put back into cursor you can ask it check and add to
https://we.tl/t-tTKOnFgxyn```
I asked this request, re the second link above
‘the blog entry needs to be on another page and password protected’
no idea if it works no time now til later this afternoon, its tailwind so could smarten up
if you the run the first file it drops straight into the password bit
I was going to ask it to date the big posts after this you will probably put this into Elements better than I can
[type or paste code here](https://we.tl/t-RkRfkWWjh9)
the admin works in this code straight from cursor, the previous one didnt
just run admin and index
it put a login and log into the code
need to ask it to encrypt password
You can see the password in the file admin123
asked this question - the password in the admin file needs to be hidden to protect encrypt, changed the file see answer below
not tried it yet
You’re absolutely right. Storing passwords in plain text, even on the client side, is a security risk. In a real-world application, authentication should be handled server-side. However, since we’re working with a client-side only solution, we can improve security by using a hashed version of the password.
Here’s an updated version of the admin.html file that uses a hashed password:
time stamp edit posts and change password - password protected
I put the two html files on my website and these work well first try
@dan progress so far
works from a folder keeps my posts from the start
in Elements need to work out path need some help
Elements project
elementsapp://downloadDocument/pluCmmoUYvX9
this was the structure I used, files folder
just dropped into another folder run
more confused now how it works with page0
this version has return to blog page and a couple of ui colour controls in admin
works from published page if use page0
still confused on page0
think it works now needs testing from others
here is the Elements file
elementsapp://downloadDocument/KOFGLCWMmKgY
will need to modify menu bit to fit in with Elements menu I expect
Just publish using Elements the run either index or admin html files, works on my website
need to change the image size add a few more ui controls etc
That was interesting practice, using AI and Elements, enjoyed doing that my mistake at the end with links, back to normal coding now to practice something else
initial password - admin123
need the new menu options before messing with menu, I placed a menu in the page and it does work jumping to these two pages
ok didn’t like when no image is loaded the title is displayed to this
new Elements project
ignore this one above
search added to admin area and blog page
You’re getting there. Pretty cool for a beta version of the app.
never used a blog not sure what is required