Skip to content
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ module.exports = defineConfig({
{
files: ['*.vue', '*.ts'],
extends: [
'plugin:tailwindcss/recommended',
'plugin:vue/vue3-recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'@vue/eslint-config-airbnb-with-typescript',
Expand Down Expand Up @@ -52,7 +51,6 @@ module.exports = defineConfig({
],
}],
'simple-import-sort/exports': 'error',
'tailwindcss/no-custom-classname': 'off',

// TypeScript rules
// https://typescript-eslint.io/rules/#extension-rules
Expand Down Expand Up @@ -95,6 +93,10 @@ module.exports = defineConfig({
'vue/max-len': ['error', 120],
},
},
// {
// files: ['*.css'],
// parser: false,
// },
],
reportUnusedDisableDirectives: true,
});
18 changes: 14 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
<!DOCTYPE html>
<html lang="fr">
<html lang="fr"> <!-- class="light" -->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="description" content="Site web de l'InsaLan">
<title>InsaLan</title>

<!-- Open Graph properties for previews (can be changed by the specific view) -->
<meta property="og:title" content="InsaLan">
<meta property="og:description" content="Site web de l'InsaLan">

<script type="module" src="/src/main.ts"></script>
<link rel="icon" type="image/svg+xml" href="/icon.svg"/>
<link rel="icon" type="image/png" href="/icon.png"/>

<style>
:root {
background-color: #161a2b; /* Prevent white flash while loading CSS */
}

:root.light {
background-color: #ffffff; /* Still respect light theme */
}
</style>
</head>
<body>
<div id="app"></div>
Expand Down
Loading
Loading