Skip to content
Snippets Groups Projects
Commit b0867125 authored by Nguyễn Minh's avatar Nguyễn Minh
Browse files

Modified login frontend

parent aba7ea1e
Branches
No related tags found
1 merge request!6Make change for product and shop also main to show img for frontend and make...
......@@ -15,7 +15,7 @@ def login_frame(parent, switch_func, API_URL):
left_frame.grid(row=0, column=0, sticky="nsew")
# Load and display the image
image_path = "app\static\login.jpg" # Change this to your image path
image_path = "app/static/front_end_img/login.jpg" # Change this to your image path
img = ctk.CTkImage(light_image=Image.open(image_path), size=(1000, 1000)) # Resize as needed
image_label = ctk.CTkLabel(left_frame, image=img, text="") # No text, only image
image_label.place(relwidth=1, relheight=1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment