From 3ba2d8ba062dedbf1bb2df6e23baa3851d8eaec7 Mon Sep 17 00:00:00 2001 From: incognitotgt Date: Fri, 29 Dec 2023 18:11:37 -0500 Subject: [PATCH] Made code prettier, also tried css for search suggestions. Themes are coming tommorrow <@578375908247863296> --- README.md | 13 ++-- src/LoadSuspense.tsx | 2 +- src/components/Header.tsx | 117 +++++++++++++++++++++++--------- src/components/HeaderButton.tsx | 8 +-- src/pages/Home.tsx | 13 ++-- src/pages/Radon.tsx | 9 ++- src/pages/Settings/Misc.tsx | 2 +- src/routes.tsx | 1 - 8 files changed, 110 insertions(+), 55 deletions(-) diff --git a/README.md b/README.md index 1d82d3c..d60a3dc 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,10 @@ NebulaWeb is an official flagship of Nebula Services and Nebula Developer Labs. NebulaWeb is a stunning, sleek, and functional web-proxy with support for thousands of popular sites. With NebulaWeb, the sky is the limit. - - ![license](https://img.shields.io/badge/License-GNU%20AGPL%20v3-blue) - ## Features + - Stunning and highly functional UI - 3 different backend proxies - Hides your IP from sites @@ -18,20 +16,21 @@ NebulaWeb is an official flagship of Nebula Services and Nebula Developer Labs. # Deployment Table of contents + - Deployment - --- -## Deployment + +## Deployment + Run these commands on your server: `git clone https://https://github.com/NebulaServices/Nebula.git` `pnpm i` -`npm run bstart` +`npm run bstart` You may also need to run `npm i -g pnpm tsx` Thanks for using Nebula! - ## Tech Stack - TypeScript, Tailwind diff --git a/src/LoadSuspense.tsx b/src/LoadSuspense.tsx index f5eccbc..ede4679 100644 --- a/src/LoadSuspense.tsx +++ b/src/LoadSuspense.tsx @@ -1,4 +1,4 @@ -import './Suspense.css' +import "./Suspense.css"; export function LoadSuspense() { return ( diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 6630aa3..a3feac5 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -1,7 +1,7 @@ import { HeaderButton } from "./HeaderButton"; import { useTranslation } from "react-i18next"; import { Link } from "preact-router"; -import { motion } from "framer-motion" +import { motion } from "framer-motion"; // Header icons import { HiOutlineCube } from "react-icons/hi"; @@ -14,50 +14,103 @@ export function Header() { const [isActive, setIsActive] = useState(false); return ( -