feat: add website

This commit is contained in:
Kirill Siukhin 2025-07-15 16:24:39 +05:00
parent 9259f65f39
commit 901f433bf8
3 changed files with 60 additions and 102 deletions

View File

@ -1,20 +1,15 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { Geist_Mono } from "next/font/google";
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: "Create Next App",
description: "Generated by create next app",
title: "Kirill Siukhin 👋",
description: "Hey! My name is Kirill and I am making interesting things in the web :)",
};
export default function RootLayout({
@ -24,9 +19,7 @@ export default function RootLayout({
}>) {
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
<body className={`${geistMono.className} antialiased`}>
{children}
</body>
</html>

View File

@ -1,102 +1,53 @@
import Image from "next/image";
import Card from "@/components/Card";
export default function Home() {
return (
<div className="grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20 font-[family-name:var(--font-geist-sans)]">
<main className="flex flex-col gap-[32px] row-start-2 items-center sm:items-start">
<Image
className="dark:invert"
src="/next.svg"
alt="Next.js logo"
width={180}
height={38}
priority
/>
<ol className="list-inside list-decimal text-sm/6 text-center sm:text-left font-[family-name:var(--font-geist-mono)]">
<li className="mb-2 tracking-[-.01em]">
Get started by editing{" "}
<code className="bg-black/[.05] dark:bg-white/[.06] px-1 py-0.5 rounded font-[family-name:var(--font-geist-mono)] font-semibold">
src/app/page.tsx
</code>
.
</li>
<li className="tracking-[-.01em]">
Save and see your changes instantly.
</li>
</ol>
<div className="flex flex-col h-screen bg-slate-800 text-white">
<header className="bg-slate-600 p-4">
Kirill Siukhin
</header>
<div className="flex gap-4 items-center flex-col sm:flex-row">
<a
className="rounded-full border border-solid border-transparent transition-colors flex items-center justify-center bg-foreground text-background gap-2 hover:bg-[#383838] dark:hover:bg-[#ccc] font-medium text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 sm:w-auto"
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
<Image
className="dark:invert"
src="/vercel.svg"
alt="Vercel logomark"
width={20}
height={20}
/>
Deploy now
<main className="m-4">
<h1 className="text-4xl font-bold mb-3">_AboutMe</h1>
<div className="text-lg mb-6">
Hello there! My name is <b>Kirill Siukhin</b>, I am 17 years old front-end developer and musician from <b>Russia, Yekaterinburg</b>.<br />
I like to make things.
</div>
<h1 className="text-4xl font-bold mb-3">_Projects</h1>
<div className="flex flex-wrap mb-6 gap-3 justify-center sm:justify-start">
<a href="https://git.misterkirill.com/misterkirill/website">
<Card title="misterkirill.com" description="Website you are on right now" />
</a>
<a
className="rounded-full border border-solid border-black/[.08] dark:border-white/[.145] transition-colors flex items-center justify-center hover:bg-[#f2f2f2] dark:hover:bg-[#1a1a1a] hover:border-transparent font-medium text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 w-full sm:w-auto md:w-[158px]"
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
Read our docs
<a href="https://git.misterkirill.com/misterkirill">
<Card title="git.misterkirill.com" description="My git repositories (Gitea)" />
</a>
<a href="https://git.misterkirill.com/misterkirill/Rhyme">
<Card title="Rhyme" description="(in development) Free service for writing and saving notes, lyrics, poetry, etc..." />
</a>
</div>
<h1 className="text-4xl font-bold mb-3">_Skills</h1>
<div className="flex flex-wrap mb-6 gap-3 justify-center sm:justify-start">
<a href="https://typescriptlang.org">
<Card title="TypeScript" description="best thing ever" />
</a>
<a href="https://music.misterkirill.com">
<Card title="Music making" description="I'm a newbie" />
</a>
<a href="https://lichess.org/@/misterkirill">
<Card title="Chess (lichess.org)" description="~1700 elo" />
</a>
</div>
<h1 className="text-4xl font-bold mb-3">_Contacts</h1>
<div className="mb-6">
Contact me on <a href="https://bsky.app/profile/misterkirill.bsky.social" className="hover:underline font-semibold">Bluesky</a>, <a href="https://t.me/misterkirill1" className="hover:underline font-semibold">Telegram</a> or email: <a href="mailto:kirillsiukhin@proton.me" className="hover:underline font-semibold">kirillsiukhin@proton.me</a>
</div>
</main>
<footer className="row-start-3 flex gap-[24px] flex-wrap items-center justify-center">
<a
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
<Image
aria-hidden
src="/file.svg"
alt="File icon"
width={16}
height={16}
/>
Learn
</a>
<a
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
<Image
aria-hidden
src="/window.svg"
alt="Window icon"
width={16}
height={16}
/>
Examples
</a>
<a
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
href="https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
<Image
aria-hidden
src="/globe.svg"
alt="Globe icon"
width={16}
height={16}
/>
Go to nextjs.org
</a>
<footer className="mt-auto bg-slate-600 p-6">
footer
</footer>
</div>
);

14
src/components/Card.tsx Normal file
View File

@ -0,0 +1,14 @@
export default function Card({
title,
description,
}: {
title: string;
description: string;
}) {
return (
<div className="text-center px-4 py-2 border-2 rounded border-slate-600 bg-slate-700 hover:bg-slate-600 max-w-96 h-full">
<h1 className="font-bold">{title}</h1>
<span>{description}</span>
</div>
);
}