Compare commits

...

3 Commits

Author SHA1 Message Date
44029c812e Dashboard - fix accessibility focus state on nav Dropdown + Logout
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-07 14:18:22 +01:00
3e8d0b5462 🐞fixed snowpack config for bundle optimization 2021-01-07 14:17:45 +01:00
6915123973 re-enable Tailwind compile with postcss 2021-01-07 14:16:03 +01:00
5 changed files with 9 additions and 5 deletions

View File

@ -9,7 +9,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Lauf Für Kaya! - Admin" /> <meta name="description" content="Lauf Für Kaya! - Admin" />
<title>Lauf für Kaya! - Admin</title> <title>Lauf für Kaya! - Admin</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tailwindcss@2.0.2/dist/tailwind.min.css">
</head> </head>
<body> <body>

View File

@ -22,5 +22,8 @@ module.exports = {
}, },
alias: { alias: {
/* ... */ /* ... */
},
experiments: {
optimize: { bundle: true, minify: true }
} }
}; };

View File

@ -1,5 +1,5 @@
<script> <script>
// import TailwindStyles from "./TailwindStyles.svelte"; import "./TailwindStyles.svelte";
import "toastify-js/src/toastify.css"; import "toastify-js/src/toastify.css";
import { Route, router } from "tinro"; import { Route, router } from "tinro";
router.subscribe((routeInfo) => { router.subscribe((routeInfo) => {

View File

@ -152,6 +152,7 @@
</a> </a>
<div> <div>
<div <div
tabindex="0"
class:bg-gray-100={activePage === 'blub'} class:bg-gray-100={activePage === 'blub'}
class="flex items-center justify-between px-4 py-3 transition cursor-pointer group hover:bg-gray-100 hover:text-gray-900" class="flex items-center justify-between px-4 py-3 transition cursor-pointer group hover:bg-gray-100 hover:text-gray-900"
role="button" role="button"
@ -259,6 +260,7 @@
<span>{$_('about')}</span> <span>{$_('about')}</span>
</a> </a>
<span <span
tabindex="0"
class="flex items-center px-4 py-3 transition cursor-pointer group hover:bg-gray-100 hover:text-gray-900" class="flex items-center px-4 py-3 transition cursor-pointer group hover:bg-gray-100 hover:text-gray-900"
on:click={() => { on:click={() => {
logout(); logout();

View File

@ -1,9 +1,9 @@
const sveltePreprocess = require('svelte-preprocess'); const sveltePreprocess = require('svelte-preprocess');
const preprocess = sveltePreprocess({ const preprocess = sveltePreprocess({
// postcss: { postcss: {
// plugins: [ require('tailwindcss'), require('autoprefixer') ] plugins: [ require('tailwindcss'), require('autoprefixer') ]
// } }
}); });
module.exports = { module.exports = {