Skip to content

Commit

Permalink
Change window dimensions and main title
Browse files Browse the repository at this point in the history
  • Loading branch information
nosaraei committed Feb 10, 2023
1 parent 9239c8f commit 82bfb2a
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 12 deletions.
2 changes: 1 addition & 1 deletion backend/view/loading.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Loading Arvan S3 Application</title>
<title>Loading Arvan Cloud S3 Application</title>
<style>
body{
background-color: #00baba;
Expand Down
14 changes: 10 additions & 4 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,28 @@ function CreateWindow() {
// Create the browser window.

mainWindow = new BrowserWindow({
width: 1024,
width: 1210,
height: 768,
minWidth: 1024,
minHeight: 768,
maxWidth: 1210,
//maxHeight: 768,
icon: path.join(__dirname, 'icon.png'),
autoHideMenuBar: true,
show: false,
show: true,
maximizable: false,
frame: true,
movable: true,
transparent: false,
webPreferences: {
nodeIntegration: false,
contextIsolation: false,
preload: path.join(__dirname, 'preload.js')
}
});

mainWindow.maximize();
mainWindow.show();
//mainWindow.maximize();
//mainWindow.show();

mainWindow.on('close', async e => {
e.preventDefault();
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "arvan-s3",
"version": "1.1.1",
"name": "arvan-cloud-s3",
"version": "1.1.2",
"private": true,
"main": "main.js",
"homepage": "./",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Arvan S3</title>
<title>Arvan Cloud S3</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
4 changes: 2 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ function App(){
padding: '1.5rem',
boxShadow: '0 4px 20px rgba(0,0,0, 0.03)',
borderRadius: '1rem',
marginTop: '1.5rem',
minHeight: 'calc(91vh - 1.5rem)'
marginTop: '1rem',
minHeight: 'calc(91vh - 1rem)'
}}>
<Routes>
<Route path={"/profiles"} element={<ProfilesList/>}/>
Expand Down
2 changes: 1 addition & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ body {
font-weight: 400;
line-height: 1.5;
color: rgb(52, 68, 86);
padding-bottom: 1.5rem;
padding-bottom: 1rem;
}

code {
Expand Down
2 changes: 1 addition & 1 deletion src/sections/ProfilesList/ProfilesList.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ const ProfilesList = () => {

const ToolBar = (
<div>
<h3 style={{marginTop: '0'}}>Arvan S3</h3>
<h3 style={{marginTop: '0'}}>Arvan Cloud S3</h3>
<Stack direction="row" justifyContent="space-between" sx={{marginBottom: '1rem'}}>
<div>
<span style={{fontSize: '16px', fontWeight: '700'}}>Profiles</span>
Expand Down

0 comments on commit 82bfb2a

Please sign in to comment.