<@578375908247863296>

Fixed the iframe selecting when you click navbar, fixed navbar css, and fixed file extensions.
This commit is contained in:
incognitotgt 2023-12-28 10:45:31 -05:00
parent 5377d71c1f
commit f374a77881
3 changed files with 6 additions and 6 deletions

View file

@ -15,9 +15,9 @@ export function Header() {
return (
<div id="navbar" className="flex h-16 flex-row items-center justify-between bg-navbar-color px-4">
<Link href="/" class="w-1/2">
<Link href="/" class="w-1/8">
<div className="flex flex-row items-center">
<img src="/logo.png" className="h-16 w-16 transition-all duration-1000 hover:rotate-[360deg]"></img>
<img src="/logo.png" alt="Nebula Logo" className="h-16 w-16 transition-all duration-1000 hover:rotate-[360deg]"></img>
<h1 className="font-roboto text-2xl font-bold text-navbar-text-color md:text-4xl">
{t("header.title")}
</h1>

View file

@ -6,7 +6,7 @@ export function Iframe(props: { url: string }) {
<>
<IframeHeader url={props.url} />
<motion.div
className="h-[calc(100%_-_4rem)] w-full"
className="h-[calc(100%_-_4rem)] w-full select-none"
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
exit={{ opacity: 0 }}

View file

@ -1,10 +1,10 @@
import { LocationProvider, Router, Route } from "preact-iso";
import { Home } from "./pages/Home";
import { NotFound } from "./pages/_404.jsx";
import { DiscordPage } from "./pages/discord.jsx";
import { NotFound } from "./pages/_404";
import { DiscordPage } from "./pages/discord";
import { ProxyFrame } from "./pages/ProxyFrame.js";
import { Radon } from "./pages/Radon";
import { Settings } from "./pages/Settings/index.js";
import { Settings } from "./pages/Settings/";
import { AboutBlank } from "./AboutBlank";
import "./style.css";
import "./themes/main.css";