mirror of
https://git.aramjonghu.nl/AramJonghu/aramjonghu-site.git
synced 2026-06-07 01:28:24 +02:00
prettier and package.json fix
This commit is contained in:
@@ -1,41 +1,4 @@
|
|||||||
{
|
{
|
||||||
<<<<<<< HEAD
|
|
||||||
"name": "aramjonghu-site",
|
|
||||||
"private": true,
|
|
||||||
"version": "0.0.0",
|
|
||||||
"type": "module",
|
|
||||||
"scripts": {
|
|
||||||
"dev": "vite",
|
|
||||||
"build": "vite build",
|
|
||||||
"lint": "eslint .",
|
|
||||||
"preview": "vite preview"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@tailwindcss/vite": "^4.2.2",
|
|
||||||
"react": "^19.2.4",
|
|
||||||
"react-dom": "^19.2.4",
|
|
||||||
"react-markdown": "^10.1.0",
|
|
||||||
"rehype-raw": "^7.0.0",
|
|
||||||
"rehype-sanitize": "^6.0.0",
|
|
||||||
"tailwindcss": "^4.2.2"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@babel/core": "^7.29.0",
|
|
||||||
"@catppuccin/tailwindcss": "^1.0.0",
|
|
||||||
"@eslint/js": "^9.39.4",
|
|
||||||
"@rolldown/plugin-babel": "^0.2.2",
|
|
||||||
"@types/react": "^19.2.14",
|
|
||||||
"@types/react-dom": "^19.2.3",
|
|
||||||
"@vitejs/plugin-react": "^6.0.1",
|
|
||||||
"babel-plugin-react-compiler": "^1.0.0",
|
|
||||||
"eslint": "^9.39.4",
|
|
||||||
"eslint-plugin-react-hooks": "^7.0.1",
|
|
||||||
"eslint-plugin-react-refresh": "^0.5.2",
|
|
||||||
"globals": "^17.4.0",
|
|
||||||
"prettier": "^3.8.3",
|
|
||||||
"vite": "^8.0.4"
|
|
||||||
}
|
|
||||||
=======
|
|
||||||
"name": "aramjonghu-site",
|
"name": "aramjonghu-site",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
@@ -72,5 +35,4 @@
|
|||||||
"vite": "^8.0.4",
|
"vite": "^8.0.4",
|
||||||
"vscode-langservers-extracted": "^4.10.0"
|
"vscode-langservers-extracted": "^4.10.0"
|
||||||
}
|
}
|
||||||
>>>>>>> c86f713 (added eslint in npm)
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,7 +27,11 @@ export default function Header({ theme }) {
|
|||||||
|
|
||||||
<nav className="flex flex-wrap gap-3 items-center">
|
<nav className="flex flex-wrap gap-3 items-center">
|
||||||
{navItems.map((item) => (
|
{navItems.map((item) => (
|
||||||
<a key={item.label} href={item.url} className="ui-btn ui-btn:hover">
|
<a
|
||||||
|
key={item.label}
|
||||||
|
href={item.url}
|
||||||
|
className="ui-btn ui-btn:hover"
|
||||||
|
>
|
||||||
{item.label}
|
{item.label}
|
||||||
</a>
|
</a>
|
||||||
))}
|
))}
|
||||||
|
|||||||
@@ -113,7 +113,8 @@ export default function ProjectsReadme({ repoUrl }) {
|
|||||||
code({ className, children, ...props }) {
|
code({ className, children, ...props }) {
|
||||||
const isBlock =
|
const isBlock =
|
||||||
className ||
|
className ||
|
||||||
(typeof children === "string" && children.includes("\n"));
|
(typeof children === "string" &&
|
||||||
|
children.includes("\n"));
|
||||||
|
|
||||||
if (isBlock) {
|
if (isBlock) {
|
||||||
return (
|
return (
|
||||||
@@ -170,14 +171,20 @@ export default function ProjectsReadme({ repoUrl }) {
|
|||||||
),
|
),
|
||||||
|
|
||||||
ul: ({ children }) => (
|
ul: ({ children }) => (
|
||||||
<ul className="list-disc pl-6 mb-4">{children}</ul>
|
<ul className="list-disc pl-6 mb-4">
|
||||||
|
{children}
|
||||||
|
</ul>
|
||||||
),
|
),
|
||||||
|
|
||||||
ol: ({ children }) => (
|
ol: ({ children }) => (
|
||||||
<ol className="list-decimal pl-6 mb-4">{children}</ol>
|
<ol className="list-decimal pl-6 mb-4">
|
||||||
|
{children}
|
||||||
|
</ol>
|
||||||
),
|
),
|
||||||
|
|
||||||
li: ({ children }) => <li className="mb-1">{children}</li>,
|
li: ({ children }) => (
|
||||||
|
<li className="mb-1">{children}</li>
|
||||||
|
),
|
||||||
|
|
||||||
a: ({ children, href }) => (
|
a: ({ children, href }) => (
|
||||||
<a
|
<a
|
||||||
|
|||||||
@@ -44,7 +44,8 @@ export default function Home() {
|
|||||||
◀︎ Prev
|
◀︎ Prev
|
||||||
</button>
|
</button>
|
||||||
<span className="self-center mx-6 font-medium">
|
<span className="self-center mx-6 font-medium">
|
||||||
{projectList[projIdx].name} ({projIdx + 1}/{projectList.length})
|
{projectList[projIdx].name} ({projIdx + 1}/
|
||||||
|
{projectList.length})
|
||||||
</span>
|
</span>
|
||||||
<button
|
<button
|
||||||
onClick={nextProject}
|
onClick={nextProject}
|
||||||
@@ -72,14 +73,16 @@ export default function Home() {
|
|||||||
return (
|
return (
|
||||||
<div className="text-ctp-text flex flex-col items-center justify-center px-6 py-6">
|
<div className="text-ctp-text flex flex-col items-center justify-center px-6 py-6">
|
||||||
<div className="w-full max-w-6xl text-center">
|
<div className="w-full max-w-6xl text-center">
|
||||||
<h1 className="text-4xl font-bold text-ctp-mauve">AramJonghu</h1>
|
<h1 className="text-4xl font-bold text-ctp-mauve">
|
||||||
|
AramJonghu
|
||||||
|
</h1>
|
||||||
<p className="mt-4">
|
<p className="mt-4">
|
||||||
Software engineer building systems, services, and experiments across a
|
Software engineer building systems, services, and
|
||||||
self-hosted environment.
|
experiments across a self-hosted environment.
|
||||||
</p>
|
</p>
|
||||||
<p className="mt-3">
|
<p className="mt-3">
|
||||||
This site acts as a hub for projects, infrastructure, and personal
|
This site acts as a hub for projects, infrastructure, and
|
||||||
tooling.
|
personal tooling.
|
||||||
</p>
|
</p>
|
||||||
<div className="mt-10 border rounded p-4">
|
<div className="mt-10 border rounded p-4">
|
||||||
<div className="flex flex-wrap justify-center gap-12 mb-6">
|
<div className="flex flex-wrap justify-center gap-12 mb-6">
|
||||||
@@ -88,7 +91,9 @@ export default function Home() {
|
|||||||
key={section.id}
|
key={section.id}
|
||||||
onClick={() => setActiveTab(section.id)}
|
onClick={() => setActiveTab(section.id)}
|
||||||
className={`ui-btn ${
|
className={`ui-btn ${
|
||||||
activeTab === section.id ? "ui-btn-active" : ""
|
activeTab === section.id
|
||||||
|
? "ui-btn-active"
|
||||||
|
: ""
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
{section.title}
|
{section.title}
|
||||||
|
|||||||
@@ -2,7 +2,9 @@ export default function Stream() {
|
|||||||
return (
|
return (
|
||||||
<div className="text-ctp-text flex flex-col min-h-screen px-4 py-6">
|
<div className="text-ctp-text flex flex-col min-h-screen px-4 py-6">
|
||||||
<div className="w-full text-center flex flex-col flex-1">
|
<div className="w-full text-center flex flex-col flex-1">
|
||||||
<h1 className="text-4xl font-bold text-ctp-mauve mb-6">Stream</h1>
|
<h1 className="text-4xl font-bold text-ctp-mauve mb-6">
|
||||||
|
Stream
|
||||||
|
</h1>
|
||||||
|
|
||||||
<div className="stream-frame w-full mx-auto flex-1 max-h-[85vh]">
|
<div className="stream-frame w-full mx-auto flex-1 max-h-[85vh]">
|
||||||
<iframe
|
<iframe
|
||||||
|
|||||||
Reference in New Issue
Block a user