Initial commit
This commit is contained in:
110 files changed
+8163
No files matched your search
@@ -0,0 +1,9 @@
|
||||
body {
|
||||
color: white;
|
||||
background-color: #121212;
|
||||
font-family: 'Lexend';
|
||||
}
|
||||
|
||||
.macos-body {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
import { useEffect } from "react";
|
||||
import "./App.css";
|
||||
import '@fontsource/lexend';
|
||||
import { platform } from "@tauri-apps/plugin-os";
|
||||
|
||||
function App() {
|
||||
useEffect(() => {
|
||||
if (platform() == 'macos') document.body.classList.add('macos-body');
|
||||
});
|
||||
|
||||
return (
|
||||
<main className="container">
|
||||
<p>Berry Leaderboards</p>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
@@ -0,0 +1,9 @@
|
||||
import React from "react";
|
||||
import ReactDOM from "react-dom/client";
|
||||
import App from "./App";
|
||||
|
||||
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
|
||||
<React.StrictMode>
|
||||
<App />
|
||||
</React.StrictMode>,
|
||||
);
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
/// <reference types="vite/client" />
|
||||
Reference in new issue
Block a user