Add turbolinks to improve perceived navigation speed and experience

This commit is contained in:
Peter Stockings
2024-12-25 01:33:45 +11:00
parent 23e3fe50a5
commit 541c328857
3 changed files with 17 additions and 0 deletions

View File

@@ -5,3 +5,9 @@ docker build -t bloodpressure .
# Run locally
docker run -p 5000:5000 -e DATABASE_URL=postgresql://postgres:59fff56880e1bbb42e753d2a82ac21b6@peterstockings.com:15389/bloodpressure_db bloodpressure
# Fix deployment issues
dokku ps:rebuild bloodpressure
dokku proxy:build-config bloodpressure
dokku ports:clear bloodpressure

10
app/static/js/turbolinks.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -7,6 +7,7 @@
<title>{% block title %}BP Tracker{% endblock %}</title>
<link href="/static/css/tailwind.css" rel="stylesheet">
<script src="/static/js/alpine.min.js" defer></script>
<script src="/static/js/turbolinks.min.js"></script>
</head>
<body class="bg-gray-100 text-gray-800">