first commit

This commit is contained in:
2026-01-22 20:55:07 +00:00
parent a28c9ddc97
commit 278f821328
40 changed files with 8615 additions and 0 deletions

8
.dockerignore Executable file
View File

@@ -0,0 +1,8 @@
node_modules
.next
.git
.gitignore
Dockerfile
docker-compose.yml
npm-debug.log
.env.local

9
.env.production Executable file
View File

@@ -0,0 +1,9 @@
SMTP_HOST=mail.mailnine24.de
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=contact@4l3ks.com
SMTP_PASS=TeoMoniNiki0/
CONTACT_EMAIL=contact@4l3ks.com
NEXT_PUBLIC_RECAPTCHA_SITE_KEY=6Lfx_VIsAAAAAKi_H46P2qpcvZAO9RHG-0p5NHOm
RECAPTCHA_SECRET_KEY=6Lfx_VIsAAAAAM97kz2dS9kKToyBbl87tqHKVTdQ

4
.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
node_modules
.next
.git
.env.local

13
.vscode/settings.json vendored Executable file
View File

@@ -0,0 +1,13 @@
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/.retool_types/**": true,
"**/*tsconfig.json": true,
".cache": true,
"retool.config.json": true
}
}

29
Dockerfile Executable file
View File

@@ -0,0 +1,29 @@
# -------- Build stage --------
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# -------- Runtime stage --------
FROM node:20-alpine
WORKDIR /app
# ✅ REQUIRED for SMTP + HTTPS
RUN apk add --no-cache ca-certificates
ENV NODE_ENV=production
COPY --from=builder /app/package*.json ./
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/.next ./.next
COPY --from=builder /app/public ./public
EXPOSE 3000
CMD ["npm", "start"]

104
app/api/contact/route.ts Executable file
View File

@@ -0,0 +1,104 @@
import nodemailer from "nodemailer";
function confirmationTemplate(name: string) {
return `
<div style="font-family: Arial, sans-serif; line-height: 1.6;">
<h2>Thanks for reaching out!</h2>
<p>I will make my best to read your message as soon as possible!</p>
<p>This is just a confirmation — no need to reply to this email.</p>
<hr />
<p style="font-size: 12px; color: #777;">
© ${new Date().getFullYear()} 4l3ks.com
</p>
</div>
`;
}
async function verifyRecaptcha(token: string) {
const res = await fetch(
"https://www.google.com/recaptcha/api/siteverify",
{
method: "POST",
headers: { "Content-Type": "application/x-www-form-urlencoded" },
body: `secret=${process.env.RECAPTCHA_SECRET_KEY}&response=${token}`,
}
);
return res.json();
}
export async function POST(req: Request) {
try {
const { name, email, subject, message, token } = await req.json();
if (!process.env.RECAPTCHA_SECRET_KEY) {
throw new Error("Missing RECAPTCHA_SECRET_KEY");
}
if (!token) {
return Response.json(
{ success: false, error: "Missing captcha token" },
{ status: 400 }
);
}
const captcha = await verifyRecaptcha(token);
if (!captcha || captcha.success !== true) {
console.warn("Captcha failed:", captcha);
return Response.json(
{ success: false, error: "Captcha failed" },
{ status: 403 }
);
}
// ✅ 2. ONLY NOW send emails
const transporter = nodemailer.createTransport({
host: process.env.SMTP_HOST!,
port: Number(process.env.SMTP_PORT),
secure: false,
auth: {
user: process.env.SMTP_USER!,
pass: process.env.SMTP_PASS!,
},
});
// Admin email
await transporter.sendMail({
from: `"Contact Form" <${process.env.SMTP_USER!}>`,
to: process.env.CONTACT_EMAIL!,
replyTo: email,
subject: subject || `New message from ${email}`,
html: `
<p><strong>Name:</strong> ${name}</p>
<p><strong>Email:</strong> ${email}</p>
<p>${message}</p>
`,
});
// Confirmation email
await transporter.sendMail({
from: `"4l3ks.com" <${process.env.SMTP_USER!}>`,
to: email,
subject: "Your message was received! :)",
html: confirmationTemplate(name),
});
return Response.json({ success: true });
} catch (error) {
console.error("CONTACT API ERROR:", error);
return Response.json(
{
success: false,
error:
error instanceof Error
? error.message
: JSON.stringify(error),
},
{ status: 500 }
);
}
}

24
app/components/Certs.tsx Executable file
View File

@@ -0,0 +1,24 @@
import Image from "next/image";
import styles from "./components.module.css"
export default function Projects() {
return (
<div className={styles.window}>
<div className={styles.folder}>
<div className={styles.navFolder}>
<div className={styles.buttonContainer}>
<a href="/"style={{backgroundColor: "#FE4A45"}} className={styles.ball}>
</a>
<div style={{backgroundColor: "#FDBE05"}} className={styles.ball}>
</div>
<div style={{backgroundColor: "#05D02C"}} className={styles.ball}>
</div>
</div>
</div>
<div className={styles.folderContent}>
<a>No projects yet...</a>
</div>
</div>
</div>
);
}

25
app/components/Clock.tsx Executable file
View File

@@ -0,0 +1,25 @@
"use client";
import { useEffect, useState } from "react";
export function Clock() {
const [time, setTime] = useState("");
useEffect(() => {
const updateTime = () => {
const now = new Date();
setTime(
now.toLocaleTimeString([], {
hour: "2-digit",
minute: "2-digit",
})
);
};
updateTime();
const interval = setInterval(updateTime, 1000);
return () => clearInterval(interval);
}, []);
return <span>{time}</span>;
}

185
app/components/Contact.tsx Executable file
View File

@@ -0,0 +1,185 @@
"use client";
import { useState, useEffect } from "react";
import styles from "./components.module.css";
import Script from "next/script";
export default function Contact() {
const [loading, setLoading] = useState(false);
const [status, setStatus] = useState<boolean | null>(null);
const [captchaToken, setCaptchaToken] = useState<string | null>(null);
const [pendingForm, setPendingForm] =
useState<HTMLFormElement | null>(null);
async function handleSubmit(e: React.FormEvent<HTMLFormElement>) {
e.preventDefault();
if (!captchaToken) {
setPendingForm(e.currentTarget);
// @ts-ignore
window.grecaptcha.execute();
return;
}
await sendForm(e.currentTarget);
}
async function sendForm(form: HTMLFormElement) {
setLoading(true);
setStatus(null);
const data = {
name: "Website Contact",
email: (form.elements.namedItem("from") as HTMLInputElement).value,
subject: (form.elements.namedItem("subject") as HTMLInputElement).value,
message: (form.elements.namedItem("message") as HTMLTextAreaElement).value,
token: captchaToken,
};
try {
const res = await fetch("/api/contact", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify(data),
});
if (!res.ok) throw new Error();
setStatus(true);
form.reset();
} catch {
setStatus(false);
} finally {
setLoading(false);
setCaptchaToken(null);
// @ts-ignore
window.grecaptcha.reset();
}
}
useEffect(() => {
if (captchaToken && pendingForm) {
sendForm(pendingForm);
setPendingForm(null);
}
}, [captchaToken]);
useEffect(() => {
if (status === true) {
const timer = setTimeout(() => {
setStatus(null);
}, 3_000);
return () => clearTimeout(timer);
}
}, [status]);
useEffect(() => {
(window as any).onRecaptchaSuccess = (token: string) => {
setCaptchaToken(token);
};
}, []);
const icon =
status === null
? "/img/icons/send.png"
: status === true
? "/img/icons/check.png"
: "/img/icons/error.png";
return (
<div className={styles.cwindow}>
<div className={styles.content}>
<div className={styles.cbuttonContainer}>
<a href="/" style={{ backgroundColor: "#FE4A45" }} className={styles.ball} />
<div style={{ backgroundColor: "#FDBE05" }} className={styles.ball} />
<div style={{ backgroundColor: "#05D02C" }} className={styles.ball} />
<Script
src="https://www.google.com/recaptcha/api.js"
strategy="afterInteractive"
/>
<div
className="g-recaptcha"
data-sitekey={process.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY}
data-size="invisible"
data-callback="onRecaptchaSuccess"
/>
<button
type="submit"
form="contact-form"
disabled={loading || pendingForm !== null || status === true}
style={{
marginLeft: "2vh",
backgroundColor: "transparent",
border: "none",
cursor: "pointer",
height: "2vh",
opacity: loading ? 0.5 : 1,
}}
><img
src={icon}
style={{ height: "2.5vh", filter: "invert(1)" }}
alt="Send"
/>
</button>
</div>
<div className={styles.mContent}>
<div className={styles.form}>
<form
id="contact-form"
onSubmit={handleSubmit}
style={{ width: "100%", textAlign: "center" }}
>
<div style={{ display: "flex" }}>
<span>To:</span>
<input
type="email"
placeholder="contact@4l3ks.com"
disabled
/>
</div>
<div style={{ display: "flex" }}>
<span>Cc:</span>
<input type="email" disabled />
</div>
<div style={{ display: "flex" }}>
<span>Subject:</span>
<input
name="subject"
type="text"
required
/>
</div>
<div style={{ display: "flex" }}>
<span>From:</span>
<input
name="from"
type="email"
required
/>
</div>
<div style={{ display: "flex" }}>
<textarea
name="message"
required
placeholder=""
/>
</div>
</form>
</div>
</div>
</div>
</div>
);
}

51
app/components/Info.tsx Executable file
View File

@@ -0,0 +1,51 @@
import Image from "next/image";
import styles from "./components.module.css"
export default function Info() {
return (
<div className={styles.iwindow}>
<div className={styles.icontent}>
<div className={styles.buttonContainer}>
<a href="/"style={{backgroundColor: "#FE4A45"}} className={styles.ball}>
</a>
<div style={{backgroundColor: "#575757ef"}} className={styles.ball}>
</div>
<div style={{backgroundColor: "#575757ef"}} className={styles.ball}>
</div>
</div>
<div className={styles.info}>
<img src="/img/pfp.png" style={{height: "16vh", borderRadius: "50%"}}></img>
<h1>Aleksandar Petrov</h1>
<a>Web & App Developer</a>
<div className={styles.fullInfo}>
<div className={styles.infoBoxes}>
<b>Age:</b>
<a>21</a>
</div>
<div className={styles.infoBoxes}>
<b>Languages:</b>
<a>English, Bulgarian, German, Spanish, Catalan</a>
</div>
<div className={styles.infoBoxes}>
<b>Location:</b>
<a>EU/Remote</a>
</div>
<div className={styles.infoBoxes}>
<b>Status:</b>
<a>Working</a>
</div>
<div className={styles.infoBoxes}>
<b>Experience:</b>
<a>1+ Year</a>
</div>
<div className={styles.infoBoxes}>
<b>Academic Degree:</b>
<a>{'Computer Science (In progress)'}</a>
</div>
<button className={styles.infoBtn}>More Info...</button>
</div>
</div>
</div>
</div>
);
}

21
app/components/Nav.tsx Executable file
View File

@@ -0,0 +1,21 @@
import Image from "next/image";
import styles from "./components.module.css"
export default function Nav() {
return (
<div className={styles.nav}>
<a className={styles.icon}>
<img src="/img/icons/folder.png" style={{height: "14vh"}}></img>
Projects
</a>
<a className={styles.icon}>
<img src="/img/icons/info.png" style={{height: "14vh"}}></img>
Info
</a>
<a className={styles.icon}>
<img src="/img/icons/contact.png" style={{height: "14vh"}}></img>
Contact
</a>
</div>
);
}

24
app/components/Projects.tsx Executable file
View File

@@ -0,0 +1,24 @@
import Image from "next/image";
import styles from "./components.module.css"
export default function Projects() {
return (
<div className={styles.window}>
<div className={styles.folder}>
<div className={styles.navFolder}>
<div className={styles.buttonContainer}>
<a href="/"style={{backgroundColor: "#FE4A45"}} className={styles.ball}>
</a>
<div style={{backgroundColor: "#FDBE05"}} className={styles.ball}>
</div>
<div style={{backgroundColor: "#05D02C"}} className={styles.ball}>
</div>
</div>
</div>
<div className={styles.folderContent}>
<a>No projects yet...</a>
</div>
</div>
</div>
);
}

View File

@@ -0,0 +1,244 @@
.nav {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
flex-direction: column;
gap: 6vh;
}
.icon {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
cursor: pointer;
}
@media (max-width: 600px) {
.nav {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
flex-direction: row;
gap: 2vh;
margin-top: 10vh
}
}
/*Projects*/
.window{
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
flex-direction: column;
gap: 4vh;
}
.folder {
background-color: rgba(56, 56, 56, 0.7);
width: 70%;
height: 70%;
border-radius: 2vh;
display: flex;
}
.navFolder {
height: 100%;
width: 25%;
}
.buttonContainer {
padding: 2vh;
display: flex;
gap: 0.7vh;
height: auto;
width: 100%;
}
.ball {
border-radius: 50%;
height: 1.5vh;
width: 1.5vh;
}
.folderContent {
background-color: #231B2C;
width: 100%;
border-left: solid black 2px;
border-top-right-radius: 2vh;
border-bottom-right-radius: 2vh;
display: flex;
justify-content: center;
align-items: center;
}
.folderContent a {
color: rgb(230, 230, 230);
}
@media (max-width: 600px) {
.folder {
width: 100%;
height: 70%;
}
}
/*Info*/
.iwindow{
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
flex-direction: column;
gap: 4vh;
}
.icontent {
background-color: #231b2cf1;
width: 30%;
height: 70%;
border-radius: 2vh;
display: flex;
flex-direction: column;
}
.info {
width: 100%;
height: 100%;
display: flex;
align-items: center;
margin-top: 1vh;
flex-direction: column;
}
.info h1 {
color: rgb(230, 230, 230);
margin-bottom:0;
}
.info a {
color: rgb(148, 148, 148);
}
.info b {
color: rgb(230, 230, 230);
}
.fullInfo {
width: 100%;
margin-top: 2vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 0.1vh;
}
.infoBoxes {
display: flex;
flex-direction: row;
width: 80%;
gap: 2vh;
}
.infoBoxes a {
text-align: left;
flex: 1;
font-size: 1.6vh;
}
.infoBoxes b {
text-align: right;
flex: 1;
}
.infoBtn {
margin-top: 2vh;
background-color: #a0a0a0e3;
color: white;
outline: none;
border: none;
height: 2vh;
width: 10vh;
font-size: 1.4vh;
border-radius: 0.5vh;
}
@media (max-width: 1300px) {
.icontent{
margin-top: 5vh;
width: 100%;
height: 80%;
}
}
/*Contact*/
.cwindow {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
flex-direction: column;
gap: 4vh;
}
.content {
background-color: rgba(56, 56, 56, 0.7);
width: 70%;
height: 70%;
border-radius: 2vh;
display: flex;
flex-direction: column;
}
.cbuttonContainer {
padding: 3vh 2vh;
display: flex;
align-items: center;
gap: 0.7vh;
background-color: rgba(40, 39, 41, 0.6);
border-top-left-radius: 2vh;
border-top-right-radius: 2vh;
}
.mContent {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
}
.form {
width: 90%;
justify-content: center;
display: flex;
}
.form input{
width: 99%;
background-color: transparent;
border: none;
border-bottom: solid rgba(40, 39, 41, 0.6) 2px;
font-size: 1.6vh;
padding: 1vh 0;
color: white;
}
.form input::placeholder{
color: rgb(211, 211, 211)
}
.form input:focus {
outline: none;
}
.form textarea{
width: 99%;
background-color: transparent;
border: none;
color: white;
font-size: 1.6vh;
padding: 1vh 0;
margin-top: 1vh;
height: 30vh;
}
.form textarea:focus {
border: solid rgba(40, 39, 41, 0.6) 1px;
outline: none;
}
.form span{
border-bottom: solid rgba(40, 39, 41, 0.6) 2px;
font-size: 1.6vh;
padding-right: 2vh;
color: gray;
padding-top: 1vh;
padding-bottom: 1vh;
}
.icon {
transition: opacity 0.3s ease;
}
@media (max-width: 600px) {
.content {
width: 100%;
}
}

BIN
app/favicon.ico Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

53
app/globals.css Normal file
View File

@@ -0,0 +1,53 @@
html, body {
margin: 0;
padding: 0;
height: 100%;
background-image: url('/img/bg.png');
background-size: cover;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
overflow: hidden;
}
.border {
min-height: 100vh;
box-sizing: border-box;
border: 3vh solid rgb(7, 7, 7);
display: flex;
flex-direction: column;
justify-content: center;
border-bottom: 6vh solid rgb(7, 7, 7);
}
.header {
background-color: #231b2c8a;
width: 100%;
display: flex;
}
.innerCont {
flex: 1;
display: flex;
width: 100%;
height: 100%;
}
.content {
flex: 1;
}
.footer {
position: absolute;
bottom: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 6vh;
}
.footer b {
color: white
}
@media (max-width: 600px) {
.border {
box-sizing: border-box;
border: none;
border-bottom: 6vh solid rgb(7, 7, 7);
}
}

50
app/layout.tsx Normal file
View File

@@ -0,0 +1,50 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { Clock } from "./components/Clock"
import "./globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Aleks' Portfolio",
description: "Generated by create next app",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body>
<div className="border">
<div className="header">
<div style={{flex: 1, padding: "0 2vh", color: "white"}}>
<a>Aleks' Portfolio</a>
</div>
<div style={{flex: 1, display: "flex", justifyContent: "end", color: "white", padding: "0 2vh"}}>
<a><Clock /></a>
</div>
</div>
<div className="innerCont">
<div className="content">
{children}
</div>
<div className="footer">
<b>© 4l3ks.com</b>
</div>
</div>
</div>
</body>
</html>
);
}

22
app/page.module.css Executable file
View File

@@ -0,0 +1,22 @@
html, body{
margin: 0;
padding: 0;
}
.main {
height: 100%;
width: 100%;
display: flex;
}
.nav {
height: 100%;
width: 20%;
}
@media (max-width: 600px) {
.main {
flex-direction: column;
}
.nav {
height: 20%;
width: 100%;
}
}

51
app/page.tsx Normal file
View File

@@ -0,0 +1,51 @@
"use client";
import { useState } from "react";
import Nav from "./components/Nav";
import Projects from "./components/Projects";
import Info from "./components/Info";
import Contact from "./components/Contact";
import styles from "./page.module.css";
type OpenWindow = "projects" | "info" | "contact" | null;
export default function Home() {
const [openWindow, setOpenWindow] = useState<OpenWindow>(null);
const handleNavClick = (e: React.MouseEvent<HTMLDivElement>) => {
const icon = (e.target as HTMLElement).closest("a");
if (!icon) return;
e.preventDefault();
const icons = Array.from(
e.currentTarget.querySelectorAll("a")
);
const index = icons.indexOf(icon);
const windowByIndex: Record<number, OpenWindow> = {
0: "projects",
1: "info",
2: "contact",
};
const nextWindow = windowByIndex[index] ?? null;
setOpenWindow(prev =>
prev === nextWindow ? null : nextWindow
);
};
return (
<div className={styles.main}>
<div className={styles.nav} onClick={handleNavClick}>
<Nav/>
</div>
<div style={{flex: 1}}>
{openWindow === "projects" && <Projects />}
{openWindow === "info" && <Info />}
{openWindow === "contact" && <Contact />}
</div>
</div>
);
}

33
docker-compose.yaml Executable file
View File

@@ -0,0 +1,33 @@
name: portfolio
services:
portfolio:
build:
context: /mnt/HDD/nextjs/portfolio
dockerfile: Dockerfile
args:
NEXT_PUBLIC_RECAPTCHA_SITE_KEY: 6Lfx_VIsAAAAAKi_H46P2qpcvZAO9RHG-0p5NHOm
env_file:
- .env.production
environment:
NODE_ENV: production
RECAPTCHA_SECRET_KEY: 6Lfx_VIsAAAAAM97kz2dS9kKToyBbl87tqHKVTdQ
command: npm run start
expose:
- "3000"
networks:
proxy: null
restart: unless-stopped
networks:
default:
name: portfolio_default
proxy:
name: proxy
external: true
x-casaos:
is_uncontrolled: false
title:
en_us: Portfolio
icon: https://static.vecteezy.com/system/resources/thumbnails/003/731/316/small/web-icon-line-on-white-background-image-for-web-presentation-logo-icon-symbol-free-vector.jpg
port_map: "3000"

17
docker-compose.yaml.bak Executable file
View File

@@ -0,0 +1,17 @@
services:
portfolio:
container_name: portfolio
build: .
expose:
- "3000"
labels:
icon: https://nginxproxymanager.com/logo.svg
environment:
- NODE_ENV=production
restart: unless-stopped
networks:
- proxy
networks:
proxy:
external: true

18
eslint.config.mjs Normal file
View File

@@ -0,0 +1,18 @@
import { defineConfig, globalIgnores } from "eslint/config";
import nextVitals from "eslint-config-next/core-web-vitals";
import nextTs from "eslint-config-next/typescript";
const eslintConfig = defineConfig([
...nextVitals,
...nextTs,
// Override default ignores of eslint-config-next.
globalIgnores([
// Default ignores of eslint-config-next:
".next/**",
"out/**",
"build/**",
"next-env.d.ts",
]),
]);
export default eslintConfig;

6
next-env.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/dev/types/routes.d.ts";
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

11
next.config.ts Normal file
View File

@@ -0,0 +1,11 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
};
export default nextConfig;
module.exports = {
output: "standalone",
};

7539
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

28
package.json Normal file
View File

@@ -0,0 +1,28 @@
{
"name": "portfolio",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start -p 3000",
"lint": "eslint"
},
"dependencies": {
"next": "16.1.4",
"nodemailer": "^7.0.12",
"react": "19.2.3",
"react-dom": "19.2.3"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/node": "^20",
"@types/nodemailer": "^7.0.5",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "16.1.4",
"tailwindcss": "^4",
"typescript": "^5"
}
}

7
postcss.config.mjs Normal file
View File

@@ -0,0 +1,7 @@
const config = {
plugins: {
"@tailwindcss/postcss": {},
},
};
export default config;

1
public/file.svg Normal file
View File

@@ -0,0 +1 @@
<svg fill="none" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 13.5V5.41a1 1 0 0 0-.3-.7L9.8.29A1 1 0 0 0 9.08 0H1.5v13.5A2.5 2.5 0 0 0 4 16h8a2.5 2.5 0 0 0 2.5-2.5m-1.5 0v-7H8v-5H3v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1M9.5 5V2.12L12.38 5zM5.13 5h-.62v1.25h2.12V5zm-.62 3h7.12v1.25H4.5zm.62 3h-.62v1.25h7.12V11z" clip-rule="evenodd" fill="#666" fill-rule="evenodd"/></svg>

After

Width:  |  Height:  |  Size: 391 B

1
public/globe.svg Normal file
View File

@@ -0,0 +1 @@
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.27 14.1a6.5 6.5 0 0 0 3.67-3.45q-1.24.21-2.7.34-.31 1.83-.97 3.1M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.48-1.52a7 7 0 0 1-.96 0H7.5a4 4 0 0 1-.84-1.32q-.38-.89-.63-2.08a40 40 0 0 0 3.92 0q-.25 1.2-.63 2.08a4 4 0 0 1-.84 1.31zm2.94-4.76q1.66-.15 2.95-.43a7 7 0 0 0 0-2.58q-1.3-.27-2.95-.43a18 18 0 0 1 0 3.44m-1.27-3.54a17 17 0 0 1 0 3.64 39 39 0 0 1-4.3 0 17 17 0 0 1 0-3.64 39 39 0 0 1 4.3 0m1.1-1.17q1.45.13 2.69.34a6.5 6.5 0 0 0-3.67-3.44q.65 1.26.98 3.1M8.48 1.5l.01.02q.41.37.84 1.31.38.89.63 2.08a40 40 0 0 0-3.92 0q.25-1.2.63-2.08a4 4 0 0 1 .85-1.32 7 7 0 0 1 .96 0m-2.75.4a6.5 6.5 0 0 0-3.67 3.44 29 29 0 0 1 2.7-.34q.31-1.83.97-3.1M4.58 6.28q-1.66.16-2.95.43a7 7 0 0 0 0 2.58q1.3.27 2.95.43a18 18 0 0 1 0-3.44m.17 4.71q-1.45-.12-2.69-.34a6.5 6.5 0 0 0 3.67 3.44q-.65-1.27-.98-3.1" fill="#666"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
public/img/bg.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

BIN
public/img/icons/check.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

BIN
public/img/icons/contact.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
public/img/icons/folder.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
public/img/icons/info.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

BIN
public/img/icons/send.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

BIN
public/img/icons/x-mark-256.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
public/img/pfp.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

1
public/next.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

1
public/vercel.svg Normal file
View File

@@ -0,0 +1 @@
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1155 1000"><path d="m577.3 0 577.4 1000H0z" fill="#fff"/></svg>

After

Width:  |  Height:  |  Size: 128 B

1
public/window.svg Normal file
View File

@@ -0,0 +1 @@
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 2.5h13v10a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1zM0 1h16v11.5a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 0 12.5zm3.75 4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5M7 4.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m1.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5" fill="#666"/></svg>

After

Width:  |  Height:  |  Size: 385 B

34
tsconfig.json Normal file
View File

@@ -0,0 +1,34 @@
{
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./*"]
}
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".next/dev/types/**/*.ts",
"**/*.mts"
],
"exclude": ["node_modules"]
}