Skip to content

Commit

Permalink
removed some boilerplate, some folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
snowNnik committed Jun 28, 2024
1 parent 3f867b9 commit a14317a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 88 deletions.
58 changes: 0 additions & 58 deletions src/renderer/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,61 +2,3 @@
* @NOTE: Prepend a `~` to css file paths that are in your node_modules
* See https://github.com/webpack-contrib/sass-loader#imports
*/
body {
position: relative;
color: white;
height: 100vh;
background: linear-gradient(
200.96deg,
#fedc2a -29.09%,
#dd5789 51.77%,
#7a2c9e 129.35%
);
font-family: sans-serif;
overflow-y: hidden;
display: flex;
justify-content: center;
align-items: center;
}

button {
background-color: white;
padding: 10px 20px;
border-radius: 10px;
border: none;
appearance: none;
font-size: 1.3rem;
box-shadow: 0px 8px 28px -6px rgba(24, 39, 75, 0.12),
0px 18px 88px -4px rgba(24, 39, 75, 0.14);
transition: all ease-in 0.1s;
cursor: pointer;
opacity: 0.9;
}

button:hover {
transform: scale(1.05);
opacity: 1;
}

li {
list-style: none;
}

a {
text-decoration: none;
height: fit-content;
width: fit-content;
margin: 10px;
}

a:hover {
opacity: 1;
text-decoration: none;
}

.Hello {
display: flex;
justify-content: center;
align-items: center;
margin: 20px 0;
}
31 changes: 1 addition & 30 deletions src/renderer/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,7 @@ import './App.css';
function Hello() {
return (

Check failure on line 6 in src/renderer/App.tsx

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

Replace `(⏎····<div>⏎······Hi⏎····</div>⏎··)` with `<div>Hi</div>`
<div>
<div className="Hello">
<img width="200" alt="icon" src={icon} />
</div>
<h1>electron-react-boilerplate</h1>
<div className="Hello">
<a
href="https://electron-react-boilerplate.js.org/"
target="_blank"
rel="noreferrer"
>
<button type="button">
<span role="img" aria-label="books">
📚
</span>
Read our docs
</button>
</a>
<a
href="https://github.com/sponsors/electron-react-boilerplate"
target="_blank"
rel="noreferrer"
>
<button type="button">
<span role="img" aria-label="folded hands">
🙏
</span>
Donate
</button>
</a>
</div>
Hi
</div>
);
}
Expand Down

0 comments on commit a14317a

Please sign in to comment.