Skip to content

Commit 0f76fc5

Browse files
committed
initial commit (Under Construction)
1 parent 4b98599 commit 0f76fc5

32 files changed

+5097
-2
lines changed

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
build
2+
coverage
3+
node_modules
4+
pnpm-lock-yaml

.eslintrc.json

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

.gitignore

Lines changed: 36 additions & 0 deletions
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

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
build
2+
coverage
3+
node_modules
4+
pnpm-lock-yaml

.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,16 @@
1111
## 🛠 Development Server
1212

1313
```bash
14-
npm install && npm start dev
14+
npm/yarn/pnpm install && npm/yarn/pnpm start dev
1515
```
1616
## 🛠 Production Server
1717
```bash
18-
npm install && npm run build && npm run start
18+
npm/yarn/pnpm install && npm/yarn/pnpm run build && npm/yarn/pnpm run start
19+
```
20+
21+
# Format
22+
```
23+
npm/yarn/pnpm format
1924
```
2025

2126
### Terms of Use

app/about/page.jsx

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
export default function About() {
2+
return (
3+
<>
4+
<main className="flex flex-row min-h-screen items-center justify-center p-32 mx-auto">
5+
<div className="flex flex-col w-2/3 items-start justify-center">
6+
<div className="flex flex-row gap-2 items-center justify-start">
7+
<div className="bg-primary-500 p-2 rounded-lg">
8+
<svg
9+
xmlns="http://www.w3.org/2000/svg"
10+
fill="none"
11+
viewBox="0 0 24 24"
12+
strokeWidth={1.5}
13+
stroke="currentColor"
14+
className="w-6 h-6"
15+
>
16+
<path
17+
strokeLinecap="round"
18+
strokeLinejoin="round"
19+
d="M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"
20+
/>
21+
</svg>
22+
</div>
23+
<h2 className="text-4xl font-bold text-center">
24+
About Me<span className="text-primary-500">.</span>
25+
</h2>
26+
</div>
27+
<p className="text-xl mt-2">
28+
I'm a full-stack developer with a passion for open-source software
29+
and the web. I've been developing for the web for over 6 years and
30+
have a strong understanding of web technologies and best practices.
31+
I'm also a strong advocate for open-source software and have
32+
contributed to many projects over the years.
33+
</p>
34+
</div>
35+
<div className="flex flex-row gap-2 w-1/3 items-center justify-end">
36+
<img
37+
src="https://avatars.githubusercontent.com/u/81481526?v=4"
38+
alt="BinaryBlazer"
39+
className="w-64 h-64 rounded-xl border-4 border-primary-500 shadow-lg bg-neutral-800 hover:transform hover:translate-y-[-4px] transition-transform duration-150 ease-in-out"
40+
draggable="false"
41+
/>
42+
</div>
43+
</main>
44+
</>
45+
);
46+
}

app/error.jsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
"use client";
2+
3+
export default function Error({ error }) {
4+
return (
5+
<div className="flex flex-col items-center justify-center h-screen">
6+
<h1 className="text-6xl font-bold text-neutral-100">{error}</h1>
7+
<p className="text-lg text-neutral-300">
8+
An error occurred while trying to load the page.
9+
</p>
10+
</div>
11+
);
12+
}

app/layout.jsx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import { Inter } from "next/font/google";
2+
import Header from "@/components/Header";
3+
import Footer from "@/components/Footer";
4+
import MobileProvider from "providers/mobile";
5+
import "styles/globals.css";
6+
7+
const inter = Inter({ subsets: ["latin"] });
8+
9+
export const metadata = {
10+
title: "Home - BinaryBlazer",
11+
description: "BinaryBlazer's portfolio and blog",
12+
};
13+
14+
export default function RootLayout({ children }) {
15+
return (
16+
<html lang="en">
17+
<body className={inter.className + " select-none"}>
18+
<MobileProvider>
19+
<Header />
20+
{children}
21+
<Footer />
22+
</MobileProvider>
23+
</body>
24+
</html>
25+
);
26+
}

app/not-found.jsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import { config } from "@/main.config";
2+
3+
export default function NotFound() {
4+
return (
5+
<div className="flex flex-col items-center justify-center h-screen">
6+
{config.underConstruction && (
7+
<div className="flex bg-yellow-500/10 rounded-full p-3 mb-[2.5rem] backdrop-filter backdrop-blur-lg">
8+
This page might be under construction.
9+
</div>
10+
)}
11+
12+
<h1 className="text-6xl font-bold text-neutral-100 not_found_text_glitch">
13+
404
14+
</h1>
15+
<p className="text-lg text-neutral-300">
16+
The page you're looking for doesn't exist.
17+
</p>
18+
</div>
19+
);
20+
}

0 commit comments

Comments
 (0)