Add launcher editor backdrop
This commit is contained in:
parent
56b2331968
commit
58977f6025
2 changed files with 53 additions and 7 deletions
|
|
@ -1,9 +1,11 @@
|
|||
import type { CSSProperties } from "react";
|
||||
import { useEffect, useState } from "react";
|
||||
import {
|
||||
buildWorldshaperStudioUrl,
|
||||
openWorldshaperStudioWindow,
|
||||
} from "./worldshaperStudio/windowing";
|
||||
import { CHANGELOG_SECTIONS, CHANGELOG_SPLASH_VERSION } from "./worldshaperStudio/changelogData";
|
||||
import launcherBackground from "../background.png";
|
||||
|
||||
type WorldDefaultPayload = {
|
||||
worldId?: string;
|
||||
|
|
@ -196,7 +198,10 @@ function WorldshaperLauncher() {
|
|||
const showFallbackActions = launchState === "blocked" || launchState === "opened" || launchState === "error";
|
||||
|
||||
return (
|
||||
<main className="launcher-shell">
|
||||
<main
|
||||
className="launcher-shell"
|
||||
style={{ "--launcher-background-image": `url(${launcherBackground})` } as CSSProperties}
|
||||
>
|
||||
<section className="launcher-card">
|
||||
<p className="launcher-eyebrow">New RPG</p>
|
||||
<h1 className="launcher-title">Worldshaper Studio</h1>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue