Skip to content

Commit

Permalink
Move NeonX to personal page
Browse files Browse the repository at this point in the history
  • Loading branch information
hudson-newey committed Apr 20, 2024
1 parent 963d753 commit f308721
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 32 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ jobs:
- name: Install, build, and upload your site
uses: withastro/action@v1
with:
path: . # The root location of your Astro project inside the repository. (optional)
node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
package-manager: pnpm@latest

deploy:
needs: build
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,3 @@
[submodule "public/posts/deployments/Internet-Speed-Test"]
path = public/posts/deployments/Internet-Speed-Test
url = https://github.com/hudson-newey/Internet-Speed-Test.git
[submodule "public/posts/deployments/NeonX2.0"]
path = public/posts/deployments/NeonX2.0
url = https://github.com/hudson-newey/NeonX2.0.git
3 changes: 0 additions & 3 deletions init_repo.sh

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"start": "astro dev",
"build": "astro check && astro build",
"preview": "astro preview",
"lint": "astro check",
"astro": "astro"
},
"dependencies": {
Expand All @@ -16,4 +17,4 @@
"sharp": "^0.33.2",
"typescript": "^5.2.2"
}
}
}
1 change: 0 additions & 1 deletion public/posts/deployments/NeonX2.0
Submodule NeonX2.0 deleted from 7301ee
17 changes: 1 addition & 16 deletions src/components/CookieConsent.astro
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

<script>
function removeCookieConsentBanner() {
let banners = document.getElementsByClassName('cookie-consent-banner');
let banners = document.getElementsByClassName('cookie-consent-banner') as any;

if (!banners) return;

Expand All @@ -62,21 +62,6 @@ function removeCookieConsentBanner() {
}
}

function createConsentCookie() {
// get the current date in the format "day month (in text) year"
let date = new Date();

let day = date.getDate();
let month = date.getMonth();
let year = date.getFullYear() + 1;
let monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
let dateString = day + " " + monthNames[month] + " " + year;
// create the cookie
document.cookie = "consent=1; expires=" + dateString + "; path=/";

removeCookieConsentBanner();
}

function checkConsentCookie() {
// get the cookie
let consentCookie = document.cookie;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import "../css/home-summary.css";
<main>
<head>
<link rel="manifest" href="/manifest.webmanifest" />
<script src="../js/gradient.js"></script>
<script src="../js/gradient.ts"></script>
</head>
<body>
<div id="gradient" class="demo content">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/posts.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const title = "Technical Index"
<a href="/posts/deployments/Internet-Speed-Test/?ref=index">Internet Speed Test</a><br>
<a href="/posts/deployments/bluff-ball/?ref=index">Bluff Ball (It Crowd)</a><br>
<a href="/posts/deployments/newtab/">New Tab Page</a><br>
<a href="/posts/deployments/habit-tracker/">Habit Tracker</a>
<a href="/posts/deployments/goal-tracker/">Goal Tracker</a>
</div>

<div>
Expand Down
22 changes: 22 additions & 0 deletions src/pages/posts/deployments/NeonX2.0.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>NeonX2.0</title>
</head>

<body>
<iframe
src="https://hudson-newey.github.io/public/neonx/"
frameborder="0"
style="
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
"
></iframe>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Grathium Industries - Goal Tracker</title>
<title>Goal Tracker</title>
</head>

<body>
Expand Down
File renamed without changes.
2 changes: 0 additions & 2 deletions update-remote.sh

This file was deleted.

0 comments on commit f308721

Please sign in to comment.