Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
	| <html> | |
| <head> | |
| <title>All Designers</title> | |
| <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}"> | |
| <style> | |
| body { font-family: Arial, sans-serif; margin: 60px auto; } | |
| h1 { text-align: center; margin-bottom: 30px; } | |
| .grid { | |
| display: grid; | |
| grid-template-columns: repeat(4, 1fr); | |
| gap: 20px; | |
| padding: 0 20px; | |
| } | |
| .card { | |
| text-align: center; | |
| cursor: pointer; | |
| } | |
| .card img { | |
| width: 100%; | |
| border-radius: 8px; | |
| box-shadow: 0 2px 6px rgba(0,0,0,0.1); | |
| } | |
| .card span { | |
| display: block; | |
| margin-top: 8px; | |
| font-weight: 600; | |
| font-size: 14px; | |
| } | |
| .home-btn { | |
| position: fixed; | |
| top: 20px; | |
| left: 20px; | |
| background: black; | |
| color: white; | |
| padding: 8px 14px; | |
| border-radius: 6px; | |
| text-decoration: none; | |
| font-weight: bold; | |
| z-index: 1000; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <a class="home-btn" href="/">Home</a> | |
| <h1>All Designers</h1> | |
| <div class="grid"> | |
| {% for card in cards %} | |
| <div class="card" onclick="window.location.href='/{{ card.slug }}'"> | |
| <img src="{{ card.image_url }}"> | |
| <span>{{ card.name }}</span> | |
| </div> | |
| {% endfor %} | |
| </div> | |
| </body> | |
| </html> | |