Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions ServerDeck/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ import {
type TerminalThemePreset
} from "./data/terminalThemes";

const appLogo = new URL("../src-tauri/icons/icon.png", import.meta.url).href;

const HOME_TAB_ID = "home";
const HOSTS_TAB_ID = "hosts";
const SFTP_TAB_ID = "sftp";
Expand Down Expand Up @@ -3685,9 +3687,10 @@ export default function App() {
{isHomeView ? (
<section className="home-screen">
<div className="home-screen__inner">
<div className="home-screen__badge">SD</div>
<div className="home-screen__badge">
<img src={appLogo} alt="ServerDeck logo" className="home-screen__logo" />
</div>
<h1>ServerDeck</h1>
<p>{messages.homeDescription}</p>

<div className="home-screen__actions">
<button type="button" className="primary-button" onClick={() => setActiveTabId(HOSTS_TAB_ID)}>
Expand All @@ -3702,7 +3705,7 @@ export default function App() {
<Bot size={16} />
{messages.agent}
</button>
<button type="button" className="secondary-button" onClick={() => void handleOpenLocalTerminal({ source: "default" })}>
<button type="button" className="secondary-button" onClick={() => void handleOpenPickedDirectoryTerminal()}>
<Plus size={16} />
{messages.localTerminal}
</button>
Expand Down
11 changes: 8 additions & 3 deletions ServerDeck/src/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -588,9 +588,14 @@ select {
border-radius: 20px;
background: var(--chrome-tab-active-bg);
border: 1px solid var(--chrome-tab-active-border);
color: var(--content-text);
font-size: 26px;
font-weight: 700;
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
overflow: hidden;
}

.home-screen__logo {
width: 100%;
height: 100%;
object-fit: cover;
}

.home-screen__inner h1 {
Expand Down