index.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <!-- Favicons -->
  7. <link rel="icon" href="<%= PUBLIC_PATH %>/favicon/favicon.ico" sizes="any" />
  8. <link rel="icon" href="<%= PUBLIC_PATH %>/favicon/icon.svg" type="image/svg+xml" />
  9. <link rel="apple-touch-icon" href="<%= PUBLIC_PATH %>/favicon/apple-touch-icon.png" />
  10. <link rel="manifest" href="<%= PUBLIC_PATH %>/manifest.json" />
  11. <title>UI for Apache Kafka</title>
  12. <script type="text/javascript">
  13. window.basePath = '<%= PUBLIC_PATH %>';
  14. window.__assetsPathBuilder = function (importer) {
  15. return window.basePath+ "/" + importer;
  16. };
  17. </script>
  18. <style>
  19. @font-face {
  20. font-family: 'Inter';
  21. src: url('<%= PUBLIC_PATH %>/fonts/Inter-Medium.ttf') format('truetype');
  22. font-weight: 500;
  23. font-display: swap;
  24. }
  25. @font-face {
  26. font-family: 'Inter';
  27. src: url('<%= PUBLIC_PATH %>/fonts/Inter-Regular.ttf') format('truetype');
  28. font-weight: 400;
  29. font-display: swap;
  30. }
  31. @font-face {
  32. font-family: 'Roboto Mono';
  33. src: url('<%= PUBLIC_PATH %>/fonts/RobotoMono-Medium.ttf') format('truetype');
  34. font-weight: 500;
  35. font-display: swap;
  36. }
  37. @font-face {
  38. font-family: 'Roboto Mono';
  39. src: url('<%= PUBLIC_PATH %>/fonts/RobotoMono-Regular.ttf') format('truetype');
  40. font-weight: 400;
  41. font-display: swap;
  42. }
  43. </style>
  44. </head>
  45. <body>
  46. <noscript>You need to enable JavaScript to run this app.</noscript>
  47. <div id="root"></div>
  48. <script type="module" src="/src/index.tsx"></script>
  49. </body>
  50. </html>