|
1 | 1 | {% load static %} |
2 | 2 | <!DOCTYPE html> |
3 | 3 | <html> |
4 | | - <head> |
5 | | - <link rel="stylesheet" href="{% static 'core/styles.css' %}"> |
6 | | - <title>{% block title %}Portal{% endblock %} | {{settings.organization_name}}</title> |
7 | | - <style> |
8 | | - :root { |
9 | | - --primary: {{settings.accent_color_hex}}; |
10 | | - } |
11 | | - </style> |
12 | | - <!-- Lucide Icons --> |
13 | | - <script src="https://unpkg.com/lucide@0.475.0"></script> |
14 | | - {% block head %}{% endblock %} |
15 | | - </head> |
16 | | - <body> |
17 | | - <header class="header"> |
18 | | - <div class="header-left"> |
19 | | - <div class="logo-container"> |
20 | | - {%if settings.logo%} |
21 | | - <img src="{{settings.logo.url}}" alt="Logo" class="logo"> |
22 | | - {%endif%} |
23 | | - </div> |
24 | | - <div class="header-separator"></div> |
25 | | - <h1>{{settings.organization_name}}</h1> |
26 | | - </div> |
27 | | - </header> |
28 | | - <div class="app"> |
29 | | - <div class="main-container"> |
30 | | - {% block content %}{% endblock %} |
31 | | - </div> |
32 | | - </div> |
33 | | - <script> |
34 | | - // Initialize Lucide icons |
35 | | - lucide.createIcons(); |
36 | | - </script> |
37 | | - </body> |
| 4 | + <head> |
| 5 | + <title> |
| 6 | + {% block title %}Portal{% endblock %} | {{settings.organization_name}} |
| 7 | + </title> |
| 8 | + <link |
| 9 | + href="https://cdn.jsdelivr.net/npm/daisyui@4.12.10/dist/full.min.css" |
| 10 | + rel="stylesheet" |
| 11 | + type="text/css" |
| 12 | + /> |
| 13 | + <link rel="preconnect" href="https://fonts.googleapis.com" /> |
| 14 | + <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> |
| 15 | + <link |
| 16 | + href="https://fonts.googleapis.com/css2?family=Unbounded:wght@200..900&display=swap" |
| 17 | + rel="stylesheet" |
| 18 | + /> |
| 19 | + <script src="https://cdn.tailwindcss.com"></script> |
| 20 | + <script> |
| 21 | + tailwind.config = { |
| 22 | + daisyui: { |
| 23 | + themes: [], |
| 24 | + }, |
| 25 | + theme: { |
| 26 | + extend: { |
| 27 | + fontFamily: { |
| 28 | + unbounded: "Unbounded, sans-serif", |
| 29 | + mashine: "Mashine, sans-serif", |
| 30 | + }, |
| 31 | + colors: { |
| 32 | + primary: "#bf1e2e", |
| 33 | + text: "#d9d9d9", |
| 34 | + textDark: "#1e1e1e", |
| 35 | + }, |
| 36 | + }, |
| 37 | + }, |
| 38 | + }; |
| 39 | + </script> |
| 40 | + <style> |
| 41 | + @font-face { |
| 42 | + font-family: "Mashine"; |
| 43 | + src: |
| 44 | + url("https://cometrobotics.org/fonts/MashineBold.woff2") |
| 45 | + format("woff2"), |
| 46 | + url("https://cometrobotics.org/fonts/fonts/MashineBold.woff") |
| 47 | + format("woff"); |
| 48 | + font-weight: bold; |
| 49 | + font-style: normal; |
| 50 | + font-display: swap; |
| 51 | + } |
| 52 | + |
| 53 | + .font-unbounded { |
| 54 | + font-family: "Unbounded Variable", sans-serif; |
| 55 | + } |
| 56 | + |
| 57 | + .font-mashine { |
| 58 | + font-family: "Mashine", sans-serif; |
| 59 | + } |
| 60 | + </style> |
| 61 | + <style> |
| 62 | + :root { |
| 63 | + --primary: {{settings.accent_color_hex}}; |
| 64 | + } |
| 65 | + </style> |
| 66 | + <!-- Lucide Icons --> |
| 67 | + <script src="https://unpkg.com/lucide@0.475.0"></script> |
| 68 | + {% block head %}{% endblock %} |
| 69 | + </head> |
| 70 | + <body> |
| 71 | + {% block content %}{% endblock %} |
| 72 | + <script> |
| 73 | + // Initialize Lucide icons |
| 74 | + lucide.createIcons(); |
| 75 | + </script> |
| 76 | + </body> |
38 | 77 | </html> |
0 commit comments