Rebranded from ProzillaOS to Prozilla OS
This commit is contained in:
parent
22e0852ae7
commit
f1966c2220
18 changed files with 49 additions and 45 deletions
|
|
@ -6,7 +6,7 @@ ProzillaOS is a web-based operating system inspired by Ubuntu Linux and Windows
|
||||||
|
|
||||||
**Live demo: [os.prozilla.dev](https://os.prozilla.dev/)**
|
**Live demo: [os.prozilla.dev](https://os.prozilla.dev/)**
|
||||||
|
|
||||||
<img src="public/assets/banner-logo-title.png" alt="Banner with ProzillaOS' name and logo"/>
|
<img src="public/assets/banner-logo-title-small.png" alt="Banner with the logo of Prozilla OS"/>
|
||||||
|
|
||||||
> Please note that Prozilla OS is a WIP and far from complete. Many additional features will be added in the near future.
|
> Please note that Prozilla OS is a WIP and far from complete. Many additional features will be added in the near future.
|
||||||
|
|
||||||
|
|
|
||||||
BIN
public/assets/banner-logo-title-small.png
Normal file
BIN
public/assets/banner-logo-title-small.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 224 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 287 KiB After Width: | Height: | Size: 288 KiB |
|
|
@ -1,4 +1,4 @@
|
||||||
<img src="/assets/banner-logo-title.png" width="1440" height="700" style="aspect-ratio: 3 / 1; width: 100%; height: auto; object-fit: cover;" alt="Banner with ProzillaOS' name and logo"/>
|
<img src="/assets/banner-logo-title-small.png" width="1440" height="700" style="aspect-ratio: 3 / 1; width: 100%; height: auto; object-fit: cover;" alt="Banner with the logo of Prozilla OS"/>
|
||||||
|
|
||||||
# Info
|
# Info
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
**Prozilla OS**
|
**Prozilla OS**
|
||||||
|
|
||||||
- GitHub: https://github.com/Prozilla/Prozilla-OS
|
- [GitHub](https://github.com/Prozilla/Prozilla-OS)
|
||||||
|
|
||||||
**Prozilla**
|
**Prozilla**
|
||||||
|
|
||||||
- Website: https://prozilla.dev/
|
- [Website (prozilla.dev)](https://prozilla.dev/)
|
||||||
- Ko-fi: https://ko-fi.com/prozilla
|
- [Ko-fi](https://ko-fi.com/prozilla)
|
||||||
|
|
||||||
**Crumbling City**
|
**Crumbling City**
|
||||||
|
|
||||||
- Website: https://daisygames.org/crumbling-city/
|
- [Website (daisygames.org/crumbling-city)](https://daisygames.org/crumbling-city/)
|
||||||
- Steam page: https://store.steampowered.com/app/1520290/Crumbling_City/
|
- [Steam page](https://store.steampowered.com/app/1520290/Crumbling_City/)
|
||||||
|
|
@ -4,6 +4,7 @@ import utilStyles from "../../../styles/utils.module.css";
|
||||||
import Vector2 from "../../../features/math/vector2.js";
|
import Vector2 from "../../../features/math/vector2.js";
|
||||||
import { useWindowsManager } from "../../../hooks/windows/windowsManagerContext.js";
|
import { useWindowsManager } from "../../../hooks/windows/windowsManagerContext.js";
|
||||||
import { useVirtualRoot } from "../../../hooks/virtual-drive/virtualRootContext.js";
|
import { useVirtualRoot } from "../../../hooks/virtual-drive/virtualRootContext.js";
|
||||||
|
import { NAME } from "../../../constants/branding.js";
|
||||||
|
|
||||||
export function AboutSettings() {
|
export function AboutSettings() {
|
||||||
const windowsManager = useWindowsManager();
|
const windowsManager = useWindowsManager();
|
||||||
|
|
@ -11,8 +12,8 @@ export function AboutSettings() {
|
||||||
|
|
||||||
return (<>
|
return (<>
|
||||||
<div className={styles["Option"]}>
|
<div className={styles["Option"]}>
|
||||||
<p className={styles["Label"]}>About ProzillaOS</p>
|
<p className={styles["Label"]}>About {NAME}</p>
|
||||||
<p className={utilStyles["Text-light"]}>ProzillaOS is a web-based operating system inspired by Ubuntu Linux and Windows made with React.js by Prozilla.</p>
|
<p className={utilStyles["Text-light"]}>{NAME} is a web-based operating system inspired by Ubuntu Linux and Windows made with React.js by Prozilla.</p>
|
||||||
<div className={styles["Button-group"]}>
|
<div className={styles["Button-group"]}>
|
||||||
<Button
|
<Button
|
||||||
className={`${styles.Button} ${utilStyles["Text-bold"]}`}
|
className={`${styles.Button} ${utilStyles["Text-bold"]}`}
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ import { useEffect, useState } from "react";
|
||||||
import Vector2 from "../../../features/math/vector2.js";
|
import Vector2 from "../../../features/math/vector2.js";
|
||||||
import utilStyles from "../../../styles/utils.module.css";
|
import utilStyles from "../../../styles/utils.module.css";
|
||||||
import { APPS } from "../../../constants/applications.js";
|
import { APPS } from "../../../constants/applications.js";
|
||||||
|
import { NAME } from "../../../constants/branding.js";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {object} props
|
* @param {object} props
|
||||||
|
|
@ -95,7 +96,7 @@ export function HomeMenu({ active, setActive, search }) {
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.Apps}>
|
<div className={styles.Apps}>
|
||||||
<h1 className={utilStyles["Text-bold"]}>ProzillaOS</h1>
|
<h1 className={utilStyles["Text-bold"]}>{NAME}</h1>
|
||||||
<div className={appStyles["App-list"]}>
|
<div className={appStyles["App-list"]}>
|
||||||
{AppsManager.APPLICATIONS.map(({ name, id }) =>
|
{AppsManager.APPLICATIONS.map(({ name, id }) =>
|
||||||
<button
|
<button
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
|
import { NAME } from "../../constants/branding.js";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simulates closing the viewport by opening a blank page
|
* Simulates closing the viewport by opening a blank page
|
||||||
* @param {boolean} requireConfirmation
|
* @param {boolean} requireConfirmation
|
||||||
*/
|
*/
|
||||||
export function closeViewport(requireConfirmation = false) {
|
export function closeViewport(requireConfirmation = false) {
|
||||||
if (requireConfirmation && window.confirm("Are you sure you want to shut down ProzillaOS?")) {
|
if (requireConfirmation && window.confirm(`Are you sure you want to shut down ${NAME}?`)) {
|
||||||
console.info("Closing viewport");
|
console.info("Closing viewport");
|
||||||
window.open("about:blank", "_self");
|
window.open("about:blank", "_self");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ export function loadDefaultData(virtualRoot) {
|
||||||
file.setSource(source);
|
file.setSource(source);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}).createFile("ProzillaOS", "png", (file) => {
|
}).createFile("Prozilla-OS", "png", (file) => {
|
||||||
file.setSource("/assets/banner-logo-title.png");
|
file.setSource("/assets/banner-logo-title.png");
|
||||||
}).createFolder("Crumbling City", (folder) => {
|
}).createFolder("Crumbling City", (folder) => {
|
||||||
folder.createFile("Japan", "png", (file) => {
|
folder.createFile("Japan", "png", (file) => {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import ReactDOM from "react-dom/client";
|
||||||
import "./styles/global.css";
|
import "./styles/global.css";
|
||||||
import App from "./App";
|
import App from "./App";
|
||||||
import reportWebVitals from "./reportWebVitals";
|
import reportWebVitals from "./reportWebVitals";
|
||||||
import { ASCII_LOGO } from "./constants/branding.js";
|
import { ASCII_LOGO, NAME } from "./constants/branding.js";
|
||||||
|
|
||||||
export const START_DATE = new Date();
|
export const START_DATE = new Date();
|
||||||
|
|
||||||
|
|
@ -17,7 +17,7 @@ root.render(
|
||||||
|
|
||||||
// Log welcome message
|
// Log welcome message
|
||||||
const asciiLogoWidth = ASCII_LOGO.split("\n")[1].length;
|
const asciiLogoWidth = ASCII_LOGO.split("\n")[1].length;
|
||||||
const welcomeMessage = "Welcome to ProzillaOS";
|
const welcomeMessage = `Welcome to ${NAME}`;
|
||||||
const space = "\n\n" + " ".repeat(Math.ceil((asciiLogoWidth - welcomeMessage.length) / 2));
|
const space = "\n\n" + " ".repeat(Math.ceil((asciiLogoWidth - welcomeMessage.length) / 2));
|
||||||
console.info(ASCII_LOGO + space + welcomeMessage);
|
console.info(ASCII_LOGO + space + welcomeMessage);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue