<@578375908247863296>
Fixed the iframe selecting when you click navbar, fixed navbar css, and fixed file extensions.
This commit is contained in:
parent
5377d71c1f
commit
f374a77881
3 changed files with 6 additions and 6 deletions
|
|
@ -15,9 +15,9 @@ export function Header() {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div id="navbar" className="flex h-16 flex-row items-center justify-between bg-navbar-color px-4">
|
<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">
|
<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">
|
<h1 className="font-roboto text-2xl font-bold text-navbar-text-color md:text-4xl">
|
||||||
{t("header.title")}
|
{t("header.title")}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ export function Iframe(props: { url: string }) {
|
||||||
<>
|
<>
|
||||||
<IframeHeader url={props.url} />
|
<IframeHeader url={props.url} />
|
||||||
<motion.div
|
<motion.div
|
||||||
className="h-[calc(100%_-_4rem)] w-full"
|
className="h-[calc(100%_-_4rem)] w-full select-none"
|
||||||
initial={{ opacity: 0 }}
|
initial={{ opacity: 0 }}
|
||||||
animate={{ opacity: 1 }}
|
animate={{ opacity: 1 }}
|
||||||
exit={{ opacity: 0 }}
|
exit={{ opacity: 0 }}
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
import { LocationProvider, Router, Route } from "preact-iso";
|
import { LocationProvider, Router, Route } from "preact-iso";
|
||||||
import { Home } from "./pages/Home";
|
import { Home } from "./pages/Home";
|
||||||
import { NotFound } from "./pages/_404.jsx";
|
import { NotFound } from "./pages/_404";
|
||||||
import { DiscordPage } from "./pages/discord.jsx";
|
import { DiscordPage } from "./pages/discord";
|
||||||
import { ProxyFrame } from "./pages/ProxyFrame.js";
|
import { ProxyFrame } from "./pages/ProxyFrame.js";
|
||||||
import { Radon } from "./pages/Radon";
|
import { Radon } from "./pages/Radon";
|
||||||
import { Settings } from "./pages/Settings/index.js";
|
import { Settings } from "./pages/Settings/";
|
||||||
import { AboutBlank } from "./AboutBlank";
|
import { AboutBlank } from "./AboutBlank";
|
||||||
import "./style.css";
|
import "./style.css";
|
||||||
import "./themes/main.css";
|
import "./themes/main.css";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue