@leroysheep / BookAlchemy Mirror · read-only
Fork 0

Mirrored from https://github.com/LeeRoySheep/BookAlchemy.git

Synced Nov 2, 19:30 UTC

master
html 45 lines 1.25 KB
Raw
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>{{ author.name }}</title>
7 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
8 <style>
9 body {
10 background-color: #111111;
11 padding: 5%;
12 }
13 .container {
14 max-width: 600px;
15 background: white;
16 padding: 20px;
17 border-radius: 8px;
18 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
19 text-align: center;
20 }
21 h1 {
22 color: #343a40;
23 }
24 .details {
25 font-size: 18px;
26 margin-top: 15px;
27 }
28 .btn-back {
29 margin-top: 20px;
30 text-decoration: none;
31 }
32 </style>
33 </head>
34 <body>
35
36 <div class="container">
37 <h1>📖 {{ author.name }}</h1>
38 <p class="details">🗓 Birth Date: {{ author.birth_date if author.birth_date else "N/A" }}</p>
39 <p class="details">🕊 Date of Death: {{ author.date_of_death if author.date_of_death else "Still Alive" }}</p>
40
41 <a href="/" class="btn btn-secondary btn-back">⬅ Back to Home</a>
42 </div>
43
44 </body>
45 </html>