mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-26 03:25:35 +00:00
617a2ec7cc
Integrates Tailwind CSS as an esbuild plugin that invokes the CLI to process the input. It takes ~400ms, so it seems like the easiest option (vs running a separate process for dev mode). Existing minimal look and feel is replicated with Tailwind classes, mostly to prove that the entire system works, including unused class removal. Also fixes yarn warnings about package.json not having a license (which were showing up when invoking any scripts). Fixes #5136 Fixes #5129 Signed-off-by: Mihai Parparita <mihai@tailscale.com>
19 lines
678 B
HTML
19 lines
678 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="stylesheet" type="text/css" href="dist/index.css" />
|
|
</head>
|
|
<body class="flex flex-col min-h-screen">
|
|
<div class="bg-gray-100 border-b border-gray-200 pt-4 pb-2 mb-6">
|
|
<header class="container mx-auto px-4 flex flex-row items-center">
|
|
<h1 class="text-3xl font-bold grow">Tailscale Connect</h1>
|
|
<div class="text-gray-600" id="state">Loading…</div>
|
|
</header>
|
|
</div>
|
|
<div id="peers" class="container mx-auto px-4"></div>
|
|
<script src="dist/index.js"></script>
|
|
</body>
|
|
</html>
|