feat: Browser detection in css

This commit is contained in:
Aleksi Lassila
2024-04-05 15:39:49 +03:00
parent 26e6d8ffd8
commit 2a319148df
4 changed files with 11 additions and 2 deletions

View File

@@ -25,6 +25,10 @@
href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap"
rel="stylesheet"
/>
<script>
document.documentElement.setAttribute('data-useragent', navigator.userAgent);
document.documentElement.setAttribute('data-platform', navigator.platform );
</script>
</head>
<body class="bg-stone-950 min-h-screen text-white touch-manipulation relative -z-10">
<div id="app" class="min-h-screen relative flex"></div>