Skip to content

Commit

Permalink
v10
Browse files Browse the repository at this point in the history
  • Loading branch information
akisblack committed Aug 1, 2023
1 parent d67e34e commit 25768c5
Show file tree
Hide file tree
Showing 49 changed files with 289 additions and 2,884 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/docker.yml

This file was deleted.

32 changes: 23 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
.DS_Store
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

13 changes: 0 additions & 13 deletions .prettierignore

This file was deleted.

10 changes: 0 additions & 10 deletions .prettierrc

This file was deleted.

11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:18-alpine
FROM node:20-alpine AS build

WORKDIR /usr/src/app
WORKDIR /app

COPY package.json ./
COPY pnpm-lock.yaml ./
Expand All @@ -13,6 +13,7 @@ COPY . .

RUN pnpm build

EXPOSE 3000

CMD ["node", "build/index.js"]
FROM caddy:2-alpine
COPY --from=build /app/dist/Caddyfile /etc/caddy
COPY --from=build /app/dist /usr/share/caddy
EXPOSE 1339
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

3 changes: 0 additions & 3 deletions README.md

This file was deleted.

5 changes: 1 addition & 4 deletions compose.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
services:
website:
container_name: website
image: ghcr.io/akisblack/website:latest
restart: unless-stopped
# uncomment these lines if you want to build from source
#build:
# context: .
# dockerfile: Dockerfile
ports:
- "127.0.0.1:1339:3000"
environment:
- DISCORD_WEBHOOK_URL= # your discord webhook url
- "127.0.0.1:1339:1339"
99 changes: 99 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>akisblack</title>
</head>
<body>
<div class="card">
<div class="top">
<h1>akisblack</h1>
</div>
<div class="bottom">
<a href="mailto:[email protected]"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#0082fc" d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-1 14H5c-.55 0-1-.45-1-1V8l6.94 4.34c.65.41 1.47.41 2.12 0L20 8v9c0 .55-.45 1-1 1zm-7-7L4 6h16l-8 5z"/></svg>Email</a>
<a href="https://github.com/akisblack"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#0082fc" d="M12 .297c-6.63 0-12 5.373-12 12c0 5.303 3.438 9.8 8.205 11.385c.6.113.82-.258.82-.577c0-.285-.01-1.04-.015-2.04c-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729c1.205.084 1.838 1.236 1.838 1.236c1.07 1.835 2.809 1.305 3.495.998c.108-.776.417-1.305.76-1.605c-2.665-.3-5.466-1.332-5.466-5.93c0-1.31.465-2.38 1.235-3.22c-.135-.303-.54-1.523.105-3.176c0 0 1.005-.322 3.3 1.23c.96-.267 1.98-.399 3-.405c1.02.006 2.04.138 3 .405c2.28-1.552 3.285-1.23 3.285-1.23c.645 1.653.24 2.873.12 3.176c.765.84 1.23 1.91 1.23 3.22c0 4.61-2.805 5.625-5.475 5.92c.42.36.81 1.096.81 2.22c0 1.606-.015 2.896-.015 3.286c0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>GitHub</a>
</div>
</div>

<footer>
<p>Made with <svg xmlns="http://www.w3.org/2000/svg" width="31.88" height="32" viewBox="0 0 256 257"><defs><linearGradient id="logosVitejs0" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"/><stop offset="100%" stop-color="#BD34FE"/></linearGradient><linearGradient id="logosVitejs1" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"/><stop offset="8.333%" stop-color="#FFDD35"/><stop offset="100%" stop-color="#FFA800"/></linearGradient></defs><path fill="url(#logosVitejs0)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"/><path fill="url(#logosVitejs1)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"/></svg>Vite</p>
</footer>
</body>

<style>
@import url(/reset.css);

@font-face {
font-family: Montserrat;
src: url(/Montserrat.woff2);
}

:root {
--bg: #141414;
--bg-secondary: #202020;
--text: #fff;
--accent: #0082fc;
--font: Montserrat
}

body {
background: var(--bg);
color: var(--text);
font-family: var(--font);
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}

.card {
display: flex;
flex-direction: column;
gap: 2rem;
padding: 30px;
background: var(--bg-secondary);
border-radius: 4px;
}

.top > h1 {
font-weight: 400;
margin: 0;
}

.bottom {
display: flex;
gap: 1rem;
}

.bottom > a {
color: var(--accent);
text-decoration: none;
display: flex;
align-items: center;
gap: 8px;
transition: 500ms;
}

.bottom > a:hover {
filter: brightness(150%);
}

.bottom svg, footer svg {
height: 24px;
}

footer {
position: absolute;
bottom: 20px;
right: 20px;
}

footer p {
display: flex;
align-items: center;
margin: 0;
}
</style>
</html>
47 changes: 12 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,14 @@
{
"name": "akisblack.github.io",
"version": "9.0.0",
"private": true,
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --plugin-search-dir . --check .",
"format": "prettier --plugin-search-dir . --write ."
},
"devDependencies": {
"@iconify-json/ic": "^1.1.12",
"@iconify-json/simple-icons": "^1.1.42",
"@sveltejs/adapter-node": "^1.1.6",
"@sveltejs/kit": "^1.3.10",
"@types/sanitize-html": "^2.8.0",
"@unocss/reset": "^0.49.4",
"axios": "^1.3.2",
"prettier": "^2.8.3",
"prettier-plugin-svelte": "^2.9.0",
"sanitize-html": "^2.9.0",
"svelte": "^3.55.1",
"svelte-check": "^3.0.3",
"svelte-dark-mode": "^2.1.0",
"tslib": "^2.5.0",
"typescript": "^4.9.5",
"unocss": "^0.49.4",
"vite": "^4.1.1"
},
"type": "module",
"dependencies": {
"joi": "^17.7.1"
}
"name": "akis-site",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"devDependencies": {
"vite": "^4.4.5"
}
}
Loading

0 comments on commit 25768c5

Please sign in to comment.