1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

Replace absolute paths.

This commit is contained in:
Ferdinand Mütsch 2020-02-20 15:57:09 +01:00
parent f69b55b1f9
commit abc7c99eff

View File

@ -6,7 +6,7 @@
<link rel="icon" data-emoji="📊" type="image/png"> <link rel="icon" data-emoji="📊" type="image/png">
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet"> <link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<link href="/assets/app.css" rel="stylesheet"> <link href="assets/app.css" rel="stylesheet">
</head> </head>
<body class="bg-gray-800 text-gray-700 p-4 pt-12 flex flex-col min-h-screen max-w-screen-xl mx-auto justify-center"> <body class="bg-gray-800 text-gray-700 p-4 pt-12 flex flex-col min-h-screen max-w-screen-xl mx-auto justify-center">
@ -14,12 +14,12 @@
<h1 class="font-semibold text-2xl text-white m-0 border-b-4 border-green-700">Your Coding Statistics 🤓</h1> <h1 class="font-semibold text-2xl text-white m-0 border-b-4 border-green-700">Your Coding Statistics 🤓</h1>
</div> </div>
<div class="text-white text-sm flex items-center justify-center mt-4"> <div class="text-white text-sm flex items-center justify-center mt-4">
<a href="/?interval=today" class="m-1 border-b border-green-700">Today (live)</a> <a href="?interval=today" class="m-1 border-b border-green-700">Today (live)</a>
<a href="/?interval=day" class="m-1 border-b border-green-700">Yesterday</a> <a href="?interval=day" class="m-1 border-b border-green-700">Yesterday</a>
<a href="/?interval=week" class="m-1 border-b border-green-700">This Week</a> <a href="?interval=week" class="m-1 border-b border-green-700">This Week</a>
<a href="/?interval=month" class="m-1 border-b border-green-700">This Month</a> <a href="?interval=month" class="m-1 border-b border-green-700">This Month</a>
<a href="/?interval=year" class="m-1 border-b border-green-700">This Year</a> <a href="?interval=year" class="m-1 border-b border-green-700">This Year</a>
<a href="/?interval=any" class="m-1 border-b border-green-700">All Time</a> <a href="?interval=any" class="m-1 border-b border-green-700">All Time</a>
</div> </div>
<main class="mt-12 flex-grow" id="grid-container"> <main class="mt-12 flex-grow" id="grid-container">
<div class="flex justify-center"> <div class="flex justify-center">
@ -68,7 +68,7 @@
wakapiData.editors = {{ .Editors | json }} wakapiData.editors = {{ .Editors | json }}
wakapiData.languages = {{ .Languages | json }} wakapiData.languages = {{ .Languages | json }}
</script> </script>
<script src="/assets/app.js"></script> <script src="assets/app.js"></script>
</body> </body>
</html> </html>