Merge pull request 'ui/refine-select-folder-onboarding' (#4977) from ui/refine-select-folder-onboarding into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4977
This commit is contained in:
brianmcgee
2025-08-26 10:30:23 +00:00
6 changed files with 8 additions and 9 deletions

View File

@@ -8,8 +8,8 @@
} }
.sidebar { .sidebar {
@apply absolute left-4 top-10 w-60; @apply absolute left-4 top-[2.25rem] w-60;
@apply min-h-96; @apply min-h-96;
height: calc(100vh - 8rem); height: calc(100vh - 7.5rem);
} }

View File

@@ -1,6 +1,5 @@
.sidebarPane { .sidebarPane {
@apply absolute left-[16.5rem] top-12 w-64; @apply absolute left-[16.5rem] top-[5.5rem] w-64;
@apply min-h-96;
height: calc(100vh - 10rem); height: calc(100vh - 14.5rem);
} }

View File

@@ -163,7 +163,7 @@ const welcome = (props: {
loading={loading()} loading={loading()}
onClick={selectFolder} onClick={selectFolder}
> >
Select folder Select existing Clan
</Button> </Button>
</div> </div>
); );

View File

@@ -10,7 +10,7 @@ function keyFromPos(pos: [number, number]): string {
return `${pos[0]},${pos[1]}`; return `${pos[0]},${pos[1]}`;
} }
const CUBE_SPACING = 2; const CUBE_SPACING = 1;
export class MachineManager { export class MachineManager {
public machines = new Map<string, MachineRepr>(); public machines = new Map<string, MachineRepr>();

View File

@@ -75,7 +75,7 @@ export function CubeScene(props: {
}); });
// Grid configuration // Grid configuration
const GRID_SIZE = 2; const GRID_SIZE = 1;
const BASE_SIZE = 0.9; // Height of the cube above the ground const BASE_SIZE = 0.9; // Height of the cube above the ground
const CUBE_SIZE = BASE_SIZE / 1.5; // const CUBE_SIZE = BASE_SIZE / 1.5; //

View File

@@ -13,7 +13,7 @@ const ChoiceLocalOrRemote = () => {
onClick={() => stepSignal.setActiveStep("local:choice")} onClick={() => stepSignal.setActiveStep("local:choice")}
/> />
<NavSection <NavSection
label="The Machine is remote and i have ssh access to it" label="The machine is remote and I have ssh access to it"
onClick={() => stepSignal.setActiveStep("install:address")} onClick={() => stepSignal.setActiveStep("install:address")}
/> />
</div> </div>