Skip to content

Commit

Permalink
refactoring and introduce new components
Browse files Browse the repository at this point in the history
  • Loading branch information
prasunanand committed Aug 29, 2024
1 parent 0610e56 commit 25200c3
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ go.work.sum

# env file
.env

#binary file
zasper_go
9 changes: 9 additions & 0 deletions ui/src/lab/commandPalette/commandPalette.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React, { useState, useEffect } from 'react';

export default function CommandPalette(props) {
return (
<div className="nav-content">
CommandPalette
</div>
)
}
2 changes: 1 addition & 1 deletion ui/src/lab/editor/ContentPanel.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useEffect, useState } from 'react';
import SuperTab from '../tabs/SuperTab';
import SuperTab from './SuperTab';

export default function ContentPanel(props) {

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React, { useEffect, useState } from 'react';
import FileTab from './FileTab';
import LauncherTab from './LauncherTab';
import NbFileTab from './NbFileTab';
import TerminalTab from './TerminalTab';
import TerminalTab from '../terminal/Terminal';

export default function SuperTab(props) {
if(props.data.type === "launcher"){
Expand Down
9 changes: 9 additions & 0 deletions ui/src/lab/previewPane/PreviewPane.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React, { useState, useEffect } from 'react';

export default function PreviewPane(props) {
return (
<div className="nav-content">
Preview Pane
</div>
)
}
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions ui/src/lab/toolbar/Toolbar.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React, { useState, useEffect } from 'react';

export default function Toolbar(props) {
return (
<div>
Toolbar
</div>
)
}

0 comments on commit 25200c3

Please sign in to comment.