Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sspzoa committed Sep 13, 2024
0 parents commit d02ed98
Show file tree
Hide file tree
Showing 17 changed files with 1,146 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
39 changes: 39 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# IntelliJ IDEA
.idea
661 changes: 661 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# portfolio-v7
My 7th Portfolio.
46 changes: 46 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"maxSize": 3145728
},
"linter": {
"enabled": true,
"ignore": ["./public/*"],
"rules": {
"recommended": true,
"suspicious": {
"noExplicitAny": "warn",
"noArrayIndexKey": "off"
}
}
},
"formatter": {
"enabled": true,
"formatWithErrors": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 120,
"lineEnding": "lf",
"ignore": ["./public/*"]
},
"organizeImports": {
"enabled": true
},
"javascript": {
"formatter": {
"enabled": true,
"arrowParentheses": "always",
"bracketSameLine": true,
"bracketSpacing": true,
"jsxQuoteStyle": "double",
"quoteStyle": "single",
"semicolons": "always",
"trailingCommas": "all"
}
}
}
Binary file added bun.lockb
Binary file not shown.
4 changes: 4 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};

export default nextConfig;
25 changes: 25 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "portfolio-v7",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"react": "^18",
"react-dom": "^18",
"next": "14.2.5"
},
"devDependencies": {
"@biomejs/biome": "^1.9.0",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
}
8 changes: 8 additions & 0 deletions postcss.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: {
tailwindcss: {},
},
};

export default config;
32 changes: 32 additions & 0 deletions public/images/sspzoa_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/app/favicon.ico
Binary file not shown.
Binary file added src/app/fonts/WantedSansVariable.woff2
Binary file not shown.
144 changes: 144 additions & 0 deletions src/app/globals.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

* {
margin: 0;
padding: 0;
box-sizing: border-box;
user-select: none;
}

html,
body {
scroll-behavior: smooth;
background-color: var(--backgroud-standard-primary);
color: var(--content-standard-primary);
}

:root {
--solid-red: rgba(255, 64, 53, 1);
--solid-orange: rgba(255, 154, 5, 1);
--solid-yellow: rgba(245, 201, 5, 1);
--solid-green: rgba(50, 204, 88, 1);
--solid-blue: rgba(5, 127, 255, 1);
--solid-indigo: rgba(91, 89, 222, 1);
--solid-purple: rgba(183, 86, 232, 1);
--solid-pink: rgba(255, 50, 90, 1);
--solid-brown: rgba(167, 137, 99, 1);
--solid-black: rgba(0, 0, 0, 1);
--solid-white: rgba(255, 255, 255, 1);

--solid-translucent-red: rgba(255, 64, 53, 0.1);
--solid-translucent-orange: rgba(255, 154, 5, 0.1);
--solid-translucent-yellow: rgba(245, 201, 5, 0.1);
--solid-translucent-green: rgba(50, 204, 88, 0.1);
--solid-translucent-blue: rgba(5, 127, 255, 0.1);
--solid-translucent-indigo: rgba(91, 89, 222, 0.1);
--solid-translucent-purple: rgba(183, 86, 232, 0.1);
--solid-translucent-pink: rgba(255, 50, 90, 0.1);
--solid-translucent-brown: rgba(167, 137, 99, 0.1);
--solid-translucent-black: rgba(0, 0, 0, 0.1);
--solid-translucent-white: rgba(255, 255, 255, 0.1);

--backgroud-standard-primary: var(--solid-white);
--backgroud-standard-secondary: rgba(237, 238, 242, 1);

--backgroud-inverted-primary: var(--solid-black);
--backgroud-inverted-secondary: rgba(14, 14, 15, 1);

--content-standard-primary: rgba(41, 42, 46, 1);
--content-standard-secondary: rgba(41, 42, 46, 0.7);
--content-standard-tertiary: rgba(41, 42, 46, 0.5);
--content-standard-quaternary: rgba(41, 42, 46, 0.3);

--content-inverted-primary: rgba(244, 244, 245, 1);
--content-inverted-secondary: rgba(244, 244, 245, 0.6);
--content-inverted-tertiary: rgba(244, 244, 245, 0.4);
--content-inverted-quaternary: rgba(244, 244, 245, 0.2);

--line-divider: rgba(121, 123, 138, 0.16);
--line-outline: rgba(121, 123, 138, 0.12);

--components-fill-standard-primary: rgba(250, 250, 250, 1);
--components-fill-standard-secondary: rgba(247, 247, 247, 1);
--components-fill-standard-tertiary: rgba(240, 240, 240, 1);

--components-fill-inverted-primary: rgba(19, 19, 20, 1);
--components-fill-inverted-secondary: rgba(22, 22, 23, 1);
--components-fill-inverted-tertiary: rgba(27, 28, 29, 1);

--components-interactive-hover: rgba(41, 42, 46, 0.08);
--components-interactive-focused: rgba(41, 42, 46, 0.12);
--components-interactive-pressed: rgba(41, 42, 46, 0.16);

--components-translucent-primary: rgba(121, 124, 138, 0.1);
--components-translucent-secondary: rgba(121, 124, 138, 0.08);
--components-translucent-tertiary: rgba(121, 124, 138, 0.04);

--core-accent: rgba(84, 114, 235, 1);
--core-accent-translucent: rgba(84, 114, 235, 0.1);

--core-status-positive: var(--solid-green);
--core-status-warning: var(--solid-yellow);
--core-status-negative: var(--solid-red);

--syntax-comment: var(--content-standard-tertiary);
--syntax-function: rgba(91, 89, 222, 1);
--syntax-variable: rgba(224, 136, 4, 1);
--syntax-string: rgba(50, 204, 88, 1);
--syntax-constant: rgb(5, 127, 255, 1);
--syntax-operator: rgb(183, 86, 232, 1);
--syntax-keyword: rgb(255, 50, 90, 1);
}

@media (prefers-color-scheme: dark) {
:root {
--solid-translucent-red: rgba(255, 64, 53, 0.2);
--solid-translucent-orange: rgba(255, 154, 5, 0.2);
--solid-translucent-yellow: rgba(245, 201, 5, 0.2);
--solid-translucent-green: rgba(50, 204, 88, 0.2);
--solid-translucent-blue: rgba(5, 127, 255, 0.2);
--solid-translucent-indigo: rgba(91, 89, 222, 0.2);
--solid-translucent-purple: rgba(183, 86, 232, 0.2);
--solid-translucent-pink: rgba(255, 50, 90, 0.2);
--solid-translucent-brown: rgba(167, 137, 99, 0.2);
--solid-translucent-black: rgba(0, 0, 0, 0.2);
--solid-translucent-white: rgba(255, 255, 255, 0.2);

--backgroud-standard-primary: var(--solid-black);
--backgroud-standard-secondary: rgba(14, 14, 15, 1);

--backgroud-inverted-primary: var(--solid-white);
--backgroud-inverted-secondary: rgba(237, 238, 242, 1);

--content-standard-primary: rgba(244, 244, 245, 1);
--content-standard-secondary: rgba(244, 244, 245, 0.7);
--content-standard-tertiary: rgba(244, 244, 245, 0.5);
--content-standard-quaternary: rgba(244, 244, 245, 0.3);

--content-inverted-primary: rgba(32, 33, 40, 1);
--content-inverted-secondary: rgba(32, 33, 40, 0.6);
--content-inverted-tertiary: rgba(32, 33, 40, 0.4);
--content-inverted-quaternary: rgba(32, 33, 40, 0.2);

--line-divider: rgba(121, 123, 138, 0.32);
--line-outline: rgba(121, 123, 138, 0.24);

--components-fill-standard-primary: rgba(19, 19, 20, 1);
--components-fill-standard-secondary: rgba(22, 22, 23, 1);
--components-fill-standard-tertiary: rgba(27, 27, 29, 1);

--components-fill-inverted-primary: rgba(254, 254, 255, 1);
--components-fill-inverted-secondary: rgba(250, 250, 250, 1);
--components-fill-inverted-tertiary: rgba(254, 254, 255, 1);

--components-interactive-hover: rgba(244, 244, 245, 0.08);
--components-interactive-focused: rgba(244, 244, 245, 0.12);
--components-interactive-pressed: rgba(244, 244, 245, 0.16);

--components-translucent-primary: rgb(121, 124, 138, 0.2);
--components-translucent-secondary: rgba(121, 124, 138, 0.18);
--components-translucent-tertiary: rgba(121, 124, 138, 0.16);
}
}
29 changes: 29 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import type { Metadata } from 'next';
import localFont from 'next/font/local';
import './globals.css';
import type React from 'react';

const WantedSansVariable = localFont({
src: [
{
path: './fonts/WantedSansVariable.woff2',
},
],
variable: '--font-suit',
});

export const metadata: Metadata = {
title: "sspzoa's Portfolio",
description: "I'm a Mobile/Frontend Developer, passionate about creating and learning.",
openGraph: {
images: [{ url: 'https://sspzoa.io/images/og-image.png' }],
},
};

export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
return (
<html lang="ko">
<body className={WantedSansVariable.className}>{children}</body>
</html>
);
}
3 changes: 3 additions & 0 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function Home() {
return <span className="text-display text-content-standard-primary">Hello world!</span>;
}
Loading

0 comments on commit d02ed98

Please sign in to comment.