Deploy folkugat web
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div class="h-4/5 min-h-[400px] flex flex-col items-center justify-center">
|
||||
<img src="{{ url_for('static', path='img/folkugat.svg') }}"
|
||||
<img src="{{ url_for(request, 'static', path='img/folkugat.svg') }}"
|
||||
class="{% if animate %} opacity-0 animate-fade-in-one {% endif %} m-3"
|
||||
width="100"
|
||||
alt="Folkugat"/>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<!-- PDF Viewer -->
|
||||
<script type="module">
|
||||
const pdfViewer = await import("{{ url_for('static', path='js/pdf_viewer.js') }}");
|
||||
const pdfViewer = await import("{{ url_for(request, 'static', path='js/pdf_viewer.js') }}");
|
||||
const options = {
|
||||
url: '{{ pdf_url }}',
|
||||
// PDF Canvas (where the pdf will be displayed)
|
||||
@@ -24,13 +24,13 @@
|
||||
<!-- </a> -->
|
||||
<!-- </div> -->
|
||||
<div class="flex flex-row flex-nowrap items-center justify-center w-full">
|
||||
<button id="prev" class="flex-none text-xl text-beige mx-3">
|
||||
<button id="prev" class="flex-none text-xl text-beige mr-2">
|
||||
<i class="fa fa-chevron-left" aria-hidden="true"></i>
|
||||
</button>
|
||||
<canvas class="flex-auto m-2 w-1/2 max-w-3xl"
|
||||
id="the-canvas">
|
||||
</canvas>
|
||||
<button id="next" class="flex-none text-xl text-beige mx-3">
|
||||
<button id="next" class="flex-none text-xl text-beige ml-2">
|
||||
<i class="fa fa-chevron-right" aria-hidden="true"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
referrerpolicy="no-referrer" />
|
||||
|
||||
<!-- Taiwind CSS -->
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='css/main.css') }}" type="text/css" />
|
||||
<link rel="stylesheet" href="{{ url_for(request, 'static', path='css/main.css') }}" type="text/css" />
|
||||
|
||||
<!-- HTMX -->
|
||||
<script src="{{ url_for('static', path='js/htmx.min.js') }}"></script>
|
||||
<script src="{{ url_for(request, 'static', path='js/htmx.min.js') }}"></script>
|
||||
|
||||
<!-- Favicon! -->
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ url_for('static', path='favicon/apple-touch-icon.png') }}">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', path='favicon/favicon-32x32.png') }}">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ url_for('static', path='favicon/favicon-16x16.png') }}">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ url_for(request, 'static', path='favicon/apple-touch-icon.png') }}">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for(request, 'static', path='favicon/favicon-32x32.png') }}">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ url_for(request, 'static', path='favicon/favicon-16x16.png') }}">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user