Skip to content

Commit a38921d

Browse files
committed
initial react rewrite
1 parent 210dad8 commit a38921d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+4985
-825
lines changed

.eslintrc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "next/core-web-vitals"
3+
}

.gitignore

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
.yarn/install-state.gz
8+
9+
# testing
10+
/coverage
11+
12+
# next.js
13+
/.next/
14+
/out/
15+
16+
# production
17+
/build
18+
19+
# misc
20+
.DS_Store
21+
*.pem
22+
23+
# debug
24+
npm-debug.log*
25+
yarn-debug.log*
26+
yarn-error.log*
27+
28+
# local env files
29+
.env*.local
30+
31+
# vercel
32+
.vercel
33+
34+
# typescript
35+
*.tsbuildinfo
36+
next-env.d.ts

.idea/.gitignore

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/NoPixel-MiniGames-4.0.iml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/discord.xml

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

+25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/profiles_settings.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README-nextjs.md

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
2+
3+
## Getting Started
4+
5+
First, run the development server:
6+
7+
```bash
8+
npm run dev
9+
# or
10+
yarn dev
11+
# or
12+
pnpm dev
13+
# or
14+
bun dev
15+
```
16+
17+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18+
19+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
20+
21+
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
22+
23+
## Learn More
24+
25+
To learn more about Next.js, take a look at the following resources:
26+
27+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
29+
30+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
31+
32+
## Deploy on Vercel
33+
34+
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
35+
36+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.

app/favicon.ico

25.3 KB
Binary file not shown.

app/globals.css

+81
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;
4+
5+
body {
6+
/*background: radial-gradient(circle, rgba(25, 37, 78, 0.97), rgba(21, 27, 48, 0.97))*/
7+
background: linear-gradient(rgba(21, 27, 48, 0.97), rgba(21, 27, 48, 0.97)), url(/bg.png);
8+
background-size: cover;
9+
}
10+
11+
a {
12+
color: rgb(84, 255, 164);
13+
text-decoration: none;
14+
}
15+
16+
a:link,
17+
a:visited {
18+
color: rgb(84, 255, 164);
19+
}
20+
21+
a:hover {
22+
color: rgb(127, 255, 191);
23+
}
24+
25+
.overlay {
26+
position: absolute;
27+
top: 0;
28+
left: 0;
29+
width: 100%;
30+
height: 100%;
31+
opacity: 0; /* The overlay is initially hidden */
32+
display: flex;
33+
justify-content: center;
34+
flex-direction: column;
35+
align-items: center;
36+
transition: .5s ease;
37+
background-color: rgba(0, 0, 0, 0.5);
38+
}
39+
40+
.flex-item:hover .overlay {
41+
opacity: 1;
42+
}
43+
44+
.overlay h2{
45+
color: white;
46+
font-size: 2rem;
47+
text-align: center;
48+
margin: 0;
49+
}
50+
51+
.overlay p {
52+
color: white;
53+
font-size: 0.75rem;
54+
text-align: center;
55+
max-width: 80%;
56+
}
57+
58+
.highscores {
59+
align-items: center;
60+
display: flex;
61+
flex-direction: column;
62+
margin: 0 auto;
63+
margin-top: 10px;
64+
padding: 20px 50px;
65+
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
66+
border-radius: 10px;
67+
width: 35%;
68+
}
69+
70+
.highscores h2 {
71+
color: white;
72+
font-size: 50px;
73+
margin: 0;
74+
}
75+
76+
.highscores p {
77+
margin-top: 5px;
78+
color: white;
79+
font-size: 20px;
80+
text-align: center;
81+
}

app/layout.tsx

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
import type { Metadata } from "next";
2+
import localFont from 'next/font/local'
3+
import "./globals.css";
4+
5+
const gilroy = localFont({
6+
src: [
7+
{
8+
path: '../fonts/Gilroy-Regular.ttf',
9+
weight: '400',
10+
style: 'normal',
11+
},
12+
]
13+
});
14+
15+
16+
17+
export const metadata: Metadata = {
18+
title: "NoPixel Hacking Simulator",
19+
description: "NoPixel Hacking Simulator is a collection of minigames that simulate the hacking mechanics of NoPixel 4.0. Play Laundromat, LockPick, RepairKit, RoofRunning, SmokeCrack minigames completely for free.",
20+
keywords: ["NoPixel", "NoPixel 4.0", "NoPixel Hacking Simulator", "Laundromat", "LockPick", "RepairKit", "RoofRunning", "SmokeCrack", "Minigames", "Hacking", "Simulator", "GTA V", "GTA 5", "Grand Theft Auto V", "Grand Theft Auto 5", "RP", "Roleplay", "GTA RP", "NoPixel RP", "NoPixel 4.0 RP", "NoPixel 4.0 Hacking Simulator", "FiveM"],
21+
verification: {
22+
google: "S-FJQGrin5Z7C-YheOScSZRfMpd2wcrPb4pWS3L2zf0",
23+
},
24+
other: {
25+
// TODO: Probably remove this? If it's not in the default values, it probably isn't supported
26+
title: "NoPixel Hacking Simulator: Laundromat, LockPick, RepairKit, RoofRunning, SmokeCrack, Play NoPixel 4.0 Minigames",
27+
}
28+
};
29+
30+
export default function RootLayout({
31+
children,
32+
}: Readonly<{
33+
children: React.ReactNode;
34+
}>) {
35+
return (
36+
<html lang="en">
37+
<body className={gilroy.className}>{children}</body>
38+
</html>
39+
);
40+
}

0 commit comments

Comments
 (0)