Skip to content

Commit

Permalink
Merge pull request #59 from oslabs-beta/dev
Browse files Browse the repository at this point in the history
cleans up main v1.1
  • Loading branch information
jhwiwonc authored Jun 29, 2023
2 parents 37825a7 + dc37538 commit 88fd4d6
Show file tree
Hide file tree
Showing 14 changed files with 1,449 additions and 4,227 deletions.
7 changes: 3 additions & 4 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import Signup from './Pages/Signup2.jsx';
import Signup from './Pages/Signup.jsx';
import Login from './Pages/Login.jsx';
import Cluster from './Pages/Cluster.jsx';
import { HashRouter, Route, Routes } from 'react-router-dom';
import Dashboard from './Pages/Dashboard.jsx';
import Topbar from './components/Topbar2.jsx';
import Setup from './Pages/Setup3.jsx';
import Topbar from './components/Topbar.js';
import Setup from './Pages/Setup.js';
import Glossary from './Pages/Glossary.jsx';
import { ColorModeContext, useMode } from './theme.js';
import { CssBaseline, ThemeProvider } from '@mui/material';
Expand All @@ -28,7 +28,6 @@ function App() {
<Route path='/signup' element={<Signup />} />
<Route path='/dashboard' element={<Dashboard />} />
<Route path='/setup' element={<Setup />} />
{/* <Route path='/glossary' element={<Glossary />} /> */}
<Route path='/cluster' element={<Cluster />} />
</Routes>
</main>
Expand Down
19 changes: 11 additions & 8 deletions src/Pages/Cluster.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Box } from '@mui/system';
import { Typography, useTheme } from '@mui/material';
const { ipcRenderer } = require('electron');
import Grid from '@mui/system/Unstable_Grid';
import SideNav from '../components/Sidebar2.jsx';
import SideNav from '../components/Sidebar.jsx';
import LaunchIcon from '@mui/icons-material/Launch';
import { RadioButtonUnchecked } from '@mui/icons-material';
import CheckCircleOutlinedIcon from '@mui/icons-material/CheckCircleOutlined';
Expand Down Expand Up @@ -324,9 +324,13 @@ function SetupButtons() {
style={{ color: '#cf485b' }}
/>
</div>

<div id="killport"onClick={handleKillPort} style={{ color: '#8f85fb', paddingTop:"73px", fontSize:"10.5px" }}><u>
CLICK HERE TO ATTEMPT TO KILL PORT 3000</u>

<div
id='killport'
onClick={handleKillPort}
style={{ color: '#8f85fb', paddingTop: '73px', fontSize: '10.5px' }}
>
<u>CLICK HERE TO ATTEMPT TO KILL PORT 3000</u>
</div>
<br />
<Button
Expand All @@ -344,7 +348,6 @@ function SetupButtons() {
<div style={{ fontSize: '12px', color: '#cf4848', marginTop: '20px' }}>
ERROR OCCURRED! PLEASE TRY AGAIN
</div>

</>
);
}
Expand Down Expand Up @@ -934,7 +937,7 @@ function SetupButtons() {
color: '#2fc665',
}}
>
LOG IN THROUGH BROWSER{' '}
LOG IN THROUGH BROWSER{' '}
<LaunchIcon fontSize='small' style={{ margin: '0 0 2px 6px' }} />
</Button>
</>
Expand Down Expand Up @@ -1188,12 +1191,12 @@ function SetupButtons() {
display: 'flex',
flexDirection: 'row',
justifyContent: 'flex-start',
alignItems:"center"
alignItems: 'center',
}}
>
<LightbulbIcon
// fontSize='large'
style={{ fontSize:"25px",color: '#8f85fb', marginRight: '8px' }}
style={{ fontSize: '25px', color: '#8f85fb', marginRight: '8px' }}
/>
<div
style={{
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
Typography,
} from '@mui/material';
import Grid from '@mui/system/Unstable_Grid';
import SideNav from '../components/Sidebar2.jsx';
import SideNav from '../components/Sidebar.jsx';
import CommandLine from '../components/CommandLine.jsx';
import Terminal from '../components/Terminal.jsx';
const { ipcRenderer } = require('electron');
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Glossary.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import Button from '@mui/material/Button';
import SideNav from '../components/Sidebar2';
import SideNav from '../components/Sidebar';
import Grid from '@mui/system/Unstable_Grid';
import Box from '@mui/material/Box';
import Typography from '@mui/material/Typography';
Expand Down
162 changes: 0 additions & 162 deletions src/Pages/Login0.jsx

This file was deleted.

Loading

0 comments on commit 88fd4d6

Please sign in to comment.