Skip to content

Commit

Permalink
Add site
Browse files Browse the repository at this point in the history
  • Loading branch information
brampauwelyn committed Aug 12, 2022
1 parent eda6c5e commit 2c5101f
Show file tree
Hide file tree
Showing 26 changed files with 290 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: 'static'
path: 'site/out'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@main
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
dist
dist
node_modules
.next
Binary file added asd-cleaner-v1.0.0.tgz
Binary file not shown.
Binary file modified icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h1 class="title">.asd cleaner</h1>
<p class="dragbox-text"></p>
<svg class="dragbox-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="48" height="48">
<path fill="none" d="M0 0h24v24H0z"/>
<path class="dragbox-icon-path" d="M12.414 5H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2zM4 5v14h16V7h-8.414l-2-2H4zm9 8v4h-2v-4H8l4-4 4 4h-3z" fill="rgba(255,255,255,1)"/>
<path class="dragbox-icon-path" d="M12.414 5H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2zM4 5v14h16V7h-8.414l-2-2H4zm9 8v4h-2v-4H8l4-4 4 4h-3z" fill="#9C8FFF"/>
</svg>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ const handleDelete = (dir) => {

const createWindow = () => {
const win = new BrowserWindow({
width: 800,
height: 600,
width: 600,
height: 400,
webPreferences: {
preload: path.join(__dirname, "preload.js"),
},
Expand Down
2 changes: 1 addition & 1 deletion renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const dragboxIconPathEl = document.querySelector('.dragbox-icon-path');
const resetDragboxStyling = () => {
dragbox.classList.remove('active');
dragboxTextEl.textContent = DRAG_AND_DROP_TEXT;
dragboxIconPathEl.setAttribute('fill', '#fff');
dragboxIconPathEl.setAttribute('fill', '#9C8FFF');
}


Expand Down
1 change: 1 addition & 0 deletions site/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14.17
12 changes: 12 additions & 0 deletions site/out/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-9b312e20a4e32339.js" defer=""></script><script src="/_next/static/chunks/framework-7dc8a65f4a0cda33.js" defer=""></script><script src="/_next/static/chunks/main-a9843dfedfe4c8a6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dc14f8483464b560.js" defer=""></script><script src="/_next/static/chunks/pages/_error-942918685354aae9.js" defer=""></script><script src="/_next/static/td67GIjdN3Q3G6ZifTbMR/_buildManifest.js" defer=""></script><script src="/_next/static/td67GIjdN3Q3G6ZifTbMR/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:-apple-system, BlinkMacSystemFont, Roboto, &quot;Segoe UI&quot;, &quot;Fira Sans&quot;, Avenir, &quot;Helvetica Neue&quot;, &quot;Lucida Grande&quot;, sans-serif;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>
body { margin: 0; color: #000; background: #fff; }
.next-error-h1 {
border-right: 1px solid rgba(0, 0, 0, .3);
}

@media (prefers-color-scheme: dark) {
body { color: #fff; background: #000; }
.next-error-h1 {
border-right: 1px solid rgba(255, 255, 255, .3);
}
}</style><h1 class="next-error-h1" style="display:inline-block;margin:0;margin-right:20px;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block;text-align:left;line-height:49px;height:49px;vertical-align:middle"><h2 style="font-size:14px;font-weight:normal;line-height:49px;margin:0;padding:0">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"td67GIjdN3Q3G6ZifTbMR","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
1 change: 1 addition & 0 deletions site/out/_next/static/chunks/framework-7dc8a65f4a0cda33.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions site/out/_next/static/chunks/main-a9843dfedfe4c8a6.js

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions site/out/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js

Large diffs are not rendered by default.

Loading

0 comments on commit 2c5101f

Please sign in to comment.