refactor: change from standard html blocks to jinja2

This commit is contained in:
Blake Ridgway 2025-04-05 20:22:32 -05:00
parent 781d88080f
commit 13d8f65ee3
3 changed files with 11 additions and 20 deletions

View file

@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>RideAware</title>
<link rel="stylesheet" href="/static/css/styles.css">
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
</head>
<body>
<header>
@ -19,7 +19,7 @@
<section class="hero-section-1">
<div class="hero-content">
<div class="hero-text">
<img src="/static/assets/RideAwareLogo.svg" alt="RideAware Logo">
<img src="{{ url_for('static', filename='assets/RideAwareLogo.svg') }}" alt="RideAware Logo">
</div>
</section>
<section class="hero-section-2">
@ -90,6 +90,6 @@
<footer class="normal-footer">
Copyright &copy; 2025 RideAware. All rights reserved.
</footer>
<script src="/static/js/main.js"></script>
<script src="{{ url_for('static', filename='js/main.js') }}"></script>
</body>
</html>