Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f85a2cc0c5
|
||
|
|
740088fa0f
|
No files matched your search
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"extends": "next/core-web-vitals"
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
name: Build Full Stack
|
||||
run-name: ${{ gitea.actor }} is building 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
release-image:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
env:
|
||||
DOCKER_ORG: yaemiku
|
||||
DOCKER_LATEST: latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker BuildX
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.yaemiku.dev
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Get Meta
|
||||
id: meta
|
||||
run: |
|
||||
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
|
||||
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
platforms: |
|
||||
linux/amd64
|
||||
push: true
|
||||
tags: |
|
||||
git.yaemiku.dev/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
|
||||
git.yaemiku.dev/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }}
|
||||
@@ -3,7 +3,12 @@
|
||||
# dependencies
|
||||
/node_modules
|
||||
/.pnp
|
||||
.pnp.js
|
||||
.pnp.*
|
||||
.yarn/*
|
||||
!.yarn/patches
|
||||
!.yarn/plugins
|
||||
!.yarn/releases
|
||||
!.yarn/versions
|
||||
|
||||
# testing
|
||||
/coverage
|
||||
@@ -25,8 +30,8 @@ yarn-debug.log*
|
||||
yarn-error.log*
|
||||
.pnpm-debug.log*
|
||||
|
||||
# local env files
|
||||
.env*.local
|
||||
# env files (can opt-in for committing if needed)
|
||||
.env*
|
||||
|
||||
# vercel
|
||||
.vercel
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
FROM node:alpine AS base
|
||||
|
||||
# Install dependencies only when needed
|
||||
FROM base AS deps
|
||||
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
|
||||
RUN apk add --no-cache libc6-compat
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies based on the preferred package manager
|
||||
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
|
||||
RUN \
|
||||
if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
|
||||
elif [ -f package-lock.json ]; then npm ci; \
|
||||
elif [ -f pnpm-lock.yaml ]; then yarn global add pnpm && pnpm i --frozen-lockfile; \
|
||||
else echo "Lockfile not found." && exit 1; \
|
||||
fi
|
||||
|
||||
|
||||
# Rebuild the source code only when needed
|
||||
FROM base AS builder
|
||||
WORKDIR /app
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
COPY . .
|
||||
|
||||
# Next.js collects completely anonymous telemetry data about general usage.
|
||||
# Learn more here: https://nextjs.org/telemetry
|
||||
# Uncomment the following line in case you want to disable telemetry during the build.
|
||||
# ENV NEXT_TELEMETRY_DISABLED 1
|
||||
|
||||
RUN yarn build
|
||||
|
||||
# If using npm comment out above and use below instead
|
||||
# RUN npm run build
|
||||
|
||||
# Production image, copy all the files and run next
|
||||
FROM base AS runner
|
||||
WORKDIR /app
|
||||
|
||||
ENV NODE_ENV production
|
||||
# Uncomment the following line in case you want to disable telemetry during runtime.
|
||||
# ENV NEXT_TELEMETRY_DISABLED 1
|
||||
|
||||
RUN addgroup --system --gid 1001 nodejs
|
||||
RUN adduser --system --uid 1001 nextjs
|
||||
|
||||
COPY --from=builder /app/public ./public
|
||||
|
||||
# Set the correct permission for prerender cache
|
||||
RUN mkdir .next
|
||||
RUN chown nextjs:nodejs .next
|
||||
|
||||
# Automatically leverage output traces to reduce image size
|
||||
# https://nextjs.org/docs/advanced-features/output-file-tracing
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
||||
|
||||
USER nextjs
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
ENV PORT 3000
|
||||
# set hostname to localhost
|
||||
ENV HOSTNAME "0.0.0.0"
|
||||
|
||||
CMD ["node", "server.js"]
|
||||
@@ -1,4 +1,4 @@
|
||||
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
|
||||
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
|
||||
|
||||
## Getting Started
|
||||
|
||||
@@ -10,17 +10,15 @@ npm run dev
|
||||
yarn dev
|
||||
# or
|
||||
pnpm dev
|
||||
# or
|
||||
bun dev
|
||||
```
|
||||
|
||||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
||||
|
||||
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
|
||||
|
||||
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.
|
||||
|
||||
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
|
||||
|
||||
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
|
||||
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
|
||||
|
||||
## Learn More
|
||||
|
||||
@@ -29,10 +27,10 @@ To learn more about Next.js, take a look at the following resources:
|
||||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
|
||||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
|
||||
|
||||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
|
||||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
|
||||
|
||||
## Deploy on Vercel
|
||||
|
||||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
|
||||
|
||||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
|
||||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
|
||||
@@ -0,0 +1,175 @@
|
||||
import { Metadata, NextPage } from 'next';
|
||||
import Image from 'next/image';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Curriculum Vitae',
|
||||
description: '',
|
||||
}
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return (
|
||||
<div className="max-w-screen-lg mx-auto mt-6 p-2 flex flex-col gap-4">
|
||||
<main className="prose w-full lg:max-w-screen-lg mx-auto prose-h1:text-center prose-h1:mb-2 prose-h2:mt-0 mb-10 flex flex-col">
|
||||
<div className="flex">
|
||||
<div>
|
||||
<h1 className="mt-2">Nikola Kubiczek</h1>
|
||||
<h2>Full-stack developer</h2>
|
||||
</div>
|
||||
<Image
|
||||
src={'/pfp_formal_comp.jpg'}
|
||||
width={200}
|
||||
height={200}
|
||||
alt="My Picture"
|
||||
className="w-40 mt-0 mb-0 mr-0 ml-auto rounded-3xl shadow-2xl"
|
||||
priority
|
||||
/>
|
||||
</div>
|
||||
<div className="grid grid-cols-2 prose-p:mt-0 prose-p:mb-0 gap-4">
|
||||
<div>
|
||||
<h2 className="mb-0">Contact</h2>
|
||||
<div className="border-l-4 pl-2">
|
||||
<p>
|
||||
<b>Email:</b> me@yaemiku.dev
|
||||
</p>
|
||||
<p>
|
||||
<b>Phone numer:</b> +48 797407620
|
||||
</p>
|
||||
<p>
|
||||
<b>LinkedIn:</b>{' '}
|
||||
<a href="https://linkedin.com/in/yaemiku">
|
||||
linkedin.com/in/yaemiku
|
||||
</a>
|
||||
</p>
|
||||
<p>
|
||||
<b>Website:</b>{' '}
|
||||
<a href="http://www.yaemiku.dev">www.yaemiku.dev</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h2 className="mb-0">Education</h2>
|
||||
<p className="border-l-4 pl-2">
|
||||
<strong>Bachelor of Mathematics</strong>
|
||||
<br />
|
||||
University of Warsaw, Faculty of Mathematics, Informatics and
|
||||
Mechanics
|
||||
<br />
|
||||
Since 10.2023, currently studying
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<h2 className="mb-0">Skills / Technologies</h2>
|
||||
<div className="flex border-l-4 px-2">
|
||||
<ul className="font-semibold list-outside list-none">
|
||||
<li>Analytical and creative thinking</li>
|
||||
<li>Docker</li>
|
||||
<li>Git</li>
|
||||
<li>Proficiency in GNU/Linux</li>
|
||||
<li>Django</li>
|
||||
<li>TailwindCSS</li>
|
||||
<li>NextJS</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h2 className="mb-0">Interests</h2>
|
||||
<p className='border-l-4 pl-2 text-justify'>
|
||||
Knitting, crocheting, detailed makeup, listening to music, walking,
|
||||
playing with linux and many more. As for the last one, I've been a poweruser
|
||||
since 2020 and am self-hosting a few services - mainly media related ones.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
<h1>Summary</h1>
|
||||
<p className="text-justify">
|
||||
I am a student on my second year of studying mathematics. I have been
|
||||
interested in IT since elementary school, when my father showed me how
|
||||
to create a simple website. Throughout the years I have gained
|
||||
practical experience regarding full-stack development with projects
|
||||
listed below. Nearing the end of high school I have made a decision to
|
||||
pursue mathematics, which has been my passion for a long time,
|
||||
realizing it will be more beneficial to my career taking into
|
||||
consideration my experience in IT. While not having a strictly
|
||||
computer science based education, I am a quick learner, I can
|
||||
fundamentally grasp complex ideas rather quickly, adapt to new
|
||||
environments, analyse edge cases and implement previously known ideas
|
||||
under new circumstances.
|
||||
</p>
|
||||
<hr className="print:break-before-page" />
|
||||
<h1>Experience</h1>
|
||||
<p>
|
||||
Throughout the years I have completed a few projects, some of them listed below:
|
||||
</p>
|
||||
<div className="flex flex-col gap-2">
|
||||
<div className="border-l-4 pl-2">
|
||||
<p className="text-xl mb-0 mt-0">
|
||||
<b>ikubi_pracownia</b>:{' '}
|
||||
<a href="https://ikubi.pl">https://ikubi.pl</a>
|
||||
</p>
|
||||
My first project. A portfolio website for my mother
|
||||
<br />
|
||||
<i>Technologies used: Docker, Django, 11ty, BulmaCSS</i>
|
||||
</div>
|
||||
<div className="border-l-4 pl-2">
|
||||
<p className="text-xl mb-0 mt-0">
|
||||
<b>Puchar LO V w Bielsku-Białej</b>:{' '}
|
||||
<a href="https://puchar.lo5.bielsko.pl">
|
||||
https://puchar.lo5.bielsko.pl
|
||||
</a>
|
||||
</p>
|
||||
A website for a mathematical contest organized by my high school
|
||||
<br />
|
||||
<i>Technologies used: Django, BulmaCSS</i>
|
||||
</div>
|
||||
<div className="border-l-4 pl-2">
|
||||
<p className="text-xl mb-0 mt-0">
|
||||
<b>eParafia</b>:{' '}
|
||||
<a href="https://eparafia.eu">https://eparafia.eu</a>
|
||||
</p>
|
||||
A website which main functionality is to allow local churches to
|
||||
have opt-in pastoral visits by submitting a form online
|
||||
<br />
|
||||
<i>Technologies used: NextJS, TailwindCSS, PocketBase</i>
|
||||
</div>
|
||||
<div className="border-l-4 pl-2">
|
||||
<p className="text-xl mb-0 mt-0">
|
||||
<b>Podlaski Związek Brydża Sportowego</b>:{' '}
|
||||
<a href="https://podlzbs.pl">https://podlzbs.pl</a>
|
||||
</p>
|
||||
A website for Podlaskie Voivodeship's bridge association
|
||||
<br />
|
||||
<i>Technologies used: Docker, Django, TailwindCSS</i>
|
||||
</div>
|
||||
<div className="border-l-4 pl-2">
|
||||
<p className="text-xl mb-0 mt-0">
|
||||
<b>TechTIR App</b> (only an article in polish is available:{' '}
|
||||
<a href="https://techtir.pl/relacja-i-podsumowanie-kongresu-sdcm/">
|
||||
https://techtir.pl/relacja-i-podsumowanie-kongresu-sdcm/
|
||||
</a>
|
||||
)
|
||||
</p>
|
||||
A website which was crucial for TechTIR's presentation during
|
||||
an automotive congress. It operated as a quiz for the participants
|
||||
to revise their knowledge after the talk (think kahoot.it)
|
||||
<br />
|
||||
<i>Technologies used: Docker, Django, TailwindCSS</i>
|
||||
</div>
|
||||
{/* <div className="border-l-4 pl-2">
|
||||
<p className="text-xl mb-0 mt-0">
|
||||
<b>Kod Pamięci</b>:{' '}
|
||||
<a href="https://kod-pamieci.pl">https://kod-pamieci.pl</a>
|
||||
</p>
|
||||
A website I am currently working on, it allows users to generate
|
||||
unique QR codes designed to be put on gravestones in order to
|
||||
preserve memories of their loved ones
|
||||
<br />
|
||||
<i>Technologies used: Docker, Django, TailwindCSS</i>
|
||||
</div> */}
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Page;
|
||||
|
After Width: | Height: | Size: 25 KiB |
@@ -0,0 +1,7 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
ul {
|
||||
@apply flex flex-row gap-x-4 flex-wrap list-inside items-center justify-center
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
import type { Metadata } from 'next';
|
||||
import { Geist, Geist_Mono } from 'next/font/google';
|
||||
import './globals.css';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Nikola Kubiczek',
|
||||
description: 'Personal website',
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className="antialiased">{children}</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,174 @@
|
||||
'use client';
|
||||
|
||||
import Image from 'next/image';
|
||||
import useSWR, { Fetcher } from 'swr';
|
||||
|
||||
type ListenBrainz = {
|
||||
payload: {
|
||||
listens: {
|
||||
track_metadata: {
|
||||
track_name: string;
|
||||
artist_name: string;
|
||||
release_name: string;
|
||||
};
|
||||
}[];
|
||||
};
|
||||
};
|
||||
|
||||
const fetcher: Fetcher<ListenBrainz, string> = (...args) =>
|
||||
fetch(...args).then((res) => res.json());
|
||||
|
||||
export default function Home() {
|
||||
const { data, isLoading } = useSWR(
|
||||
'https://api.listenbrainz.org/1/user/yaemiku/listens?count=1',
|
||||
fetcher
|
||||
);
|
||||
|
||||
return (
|
||||
<div className="prose prose-stone mx-auto mt-6 p-4">
|
||||
<header className="text-center">
|
||||
<Image
|
||||
src={'/pfp_fb_cropped.jpg'}
|
||||
width={200}
|
||||
height={200}
|
||||
alt="My Picture"
|
||||
priority
|
||||
className="mx-auto rounded-full m-2 shadow-md"
|
||||
/>
|
||||
<h1>Nikola Kubiczek</h1>
|
||||
{isLoading ? (
|
||||
<></>
|
||||
) : (
|
||||
<samp className="lead">
|
||||
<em>Last song I have listened to:</em> <br />
|
||||
<b>{data?.payload.listens[0].track_metadata.track_name}</b>
|
||||
<br />- {data?.payload.listens[0].track_metadata.artist_name} <br />
|
||||
</samp>
|
||||
)}
|
||||
</header>
|
||||
<main>
|
||||
<div>
|
||||
<h2>About me</h2>
|
||||
<p>
|
||||
Currently studying pure mathematics at the University of Warsaw and
|
||||
doing commissions on the side. I had been considering studying
|
||||
computer science but decided not to - mathematics is the love of my
|
||||
life and an absolute passion.
|
||||
</p>
|
||||
<p>
|
||||
In my free time I love listening to music - be it on headphones,
|
||||
speakers or by going to a local concert. I'm very into various
|
||||
brews, almost anything apart from alcohol could be my cup of tea.
|
||||
Green and white teas, matcha, yerba mate, etc. You name it. I quite
|
||||
like to knit/crochet, but find myself always not having enough time.
|
||||
I also tinker with my servers a lot - I have a few services set up
|
||||
and I love to play with configuring them or adding new ones.
|
||||
</p>
|
||||
<p>
|
||||
I think self-expression and emotional maturity are really important.
|
||||
I live to love. To experience life with the ones I love.
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<h2>Contact</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="public.asc" target="_blank">
|
||||
me<span>@</span>yaemiku.dev
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<span>
|
||||
nikola.kubiczek<span>@</span>proton.me
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
Feel free to message me. Here are a few links, that might prove
|
||||
useful sometimes
|
||||
<ul>
|
||||
<li>
|
||||
<a
|
||||
href="https://listenbrainz.org/user/yaemiku/"
|
||||
target="_blank"
|
||||
>
|
||||
listenbrainz
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a
|
||||
href="https://www.instagram.com/kicia_kocia_core/"
|
||||
target={'_blank'}
|
||||
>
|
||||
instagram
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://stats.foldingathome.org/donor/id/711660268"
|
||||
target={'_blank'}
|
||||
>
|
||||
folding@home
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/cv/" target={'_blank'}>
|
||||
cv
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://git.yaemiku.dev/yaemiku" target={'_blank'}>
|
||||
git
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
And if you'd want to send me any crypto
|
||||
<ul className='block list-outside'>
|
||||
<li>cosmos1gy6tg8jaf4qwmpug8jp8kqnyy9en3lmjxq0twf</li>
|
||||
<li className='break-all'>46MiubQK8psbDWys429WvTQ71DyDiLkKmSLznoDYYFQbA6MfTvuVRJzSAbCCA17n8RGjCojx5GcpKH3q1DbpKJaQPCVcabi</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
<hr />
|
||||
|
||||
<em>
|
||||
Nikola Kubiczek © <span id="year">2024</span>
|
||||
</em>
|
||||
<br />
|
||||
|
||||
<em>
|
||||
Made with{' '}
|
||||
<a href="https://nextjs.org" target="_blank">
|
||||
NextJS
|
||||
</a>
|
||||
, and{' '}
|
||||
<a href="https://tailwindcss.com" target="_blank">
|
||||
TailwindCSS
|
||||
</a>{' '}
|
||||
</em>
|
||||
<figure>
|
||||
<blockquote className="text-justify">
|
||||
Oh, wretched memory that compels us to remember the paths we took to
|
||||
arrive at the present state of affairs! Further: as I lay awake but
|
||||
still half dreaming, I felt that my body was not homogeneous, that
|
||||
some parts were still those of a boy, and that my head was laughing
|
||||
at my leg and ridiculing it, that my leg was laughing at my head,
|
||||
that my finger was poking fun at my heart, my heart at my brain,
|
||||
that my nose was thumbing itself at my eye, my eye chuckling and
|
||||
bellowing at my nose — and all my parts were wildly raping each
|
||||
other in an all-encompassing and piercing state of pan-mockery. Nor
|
||||
did my fear lessen one iota when I reached full consciousness and
|
||||
began reflecting on my life. On the contrary, it intensified even as
|
||||
it was interrupted (or accentuated) by a giggle my mouth could not
|
||||
hold back. I was halfway down the path of my life when I found
|
||||
myself in a dark forest.
|
||||
</blockquote>
|
||||
<figcaption>——— Witold Gombrowicz, Ferdydurke</figcaption>
|
||||
</figure>
|
||||
</footer>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -1,4 +1,7 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
import { NextRequest, NextResponse } from "next/server";
|
||||
|
||||
export async function GET(_request: NextRequest) {
|
||||
const pk = `-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBGHThigBEACa2l79D1WeKXvlJsua8s90P0p50sWaKCS6QOwG9jCvcSfSll8g
|
||||
aL+jyWs3MsJV7qq9grSJ1/szLWAO8OXYLaNkbk1jt29ogIgDs964x1nSUPpeQTlt
|
||||
@@ -154,4 +157,11 @@ OHyQSX15R7ZwYN4aA2M4JOE/cGdmNgtYTmFEtwYgxo7tvOzHYuJmRLS3W8Sv3XIQ
|
||||
77/4OSw02dpoIlbatnjLBnqjk6Bkp1GSPbD6MoYyWzLj4aTrTur2ClpZwBiONPja
|
||||
826qgOE=
|
||||
=PoyA
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
-----END PGP PUBLIC KEY BLOCK-----`
|
||||
return new NextResponse(pk, {
|
||||
headers: {
|
||||
'Content-Type': 'text/plain; charset=utf-8'
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: hamburger
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: hamburger
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: hamburger
|
||||
spec:
|
||||
containers:
|
||||
- name: hamburger
|
||||
image: registry.yaemiku.dev/yaemiku/hamburger
|
||||
ports:
|
||||
- name: app-port
|
||||
containerPort: 3000
|
||||
resources:
|
||||
requests:
|
||||
memory: "64Mi"
|
||||
cpu: "250m"
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
cpu: "500m"
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: hamburger
|
||||
spec:
|
||||
ports:
|
||||
- name: app-svc-port
|
||||
port: 80
|
||||
targetPort: app-port
|
||||
selector:
|
||||
app: hamburger
|
||||
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: hamburger
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
rules:
|
||||
- host: yaemiku.dev
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: hamburger
|
||||
port:
|
||||
number: 80
|
||||
- host: www.yaemiku.dev
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: hamburger
|
||||
port:
|
||||
number: 80
|
||||
@@ -0,0 +1,16 @@
|
||||
import { dirname } from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { FlatCompat } from "@eslint/eslintrc";
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
||||
const compat = new FlatCompat({
|
||||
baseDirectory: __dirname,
|
||||
});
|
||||
|
||||
const eslintConfig = [
|
||||
...compat.extends("next/core-web-vitals", "next/typescript"),
|
||||
];
|
||||
|
||||
export default eslintConfig;
|
||||
@@ -1,8 +0,0 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
experimental: {
|
||||
appDir: true,
|
||||
},
|
||||
}
|
||||
|
||||
module.exports = nextConfig
|
||||
@@ -0,0 +1,7 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
@@ -3,27 +3,27 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"dev": "next dev --turbopack",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fontsource/jetbrains-mono": "^4.5.12",
|
||||
"@types/node": "18.15.3",
|
||||
"@types/react": "18.0.28",
|
||||
"@types/react-dom": "18.0.11",
|
||||
"eslint": "8.36.0",
|
||||
"eslint-config-next": "13.2.4",
|
||||
"framer-motion": "^10.3.2",
|
||||
"next": "13.2.4",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"typescript": "4.9.5"
|
||||
"next": "15.1.2",
|
||||
"react": "^19.0.0",
|
||||
"react-dom": "^19.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^10.4.14",
|
||||
"postcss": "^8.4.21",
|
||||
"tailwindcss": "^3.2.7"
|
||||
"@eslint/eslintrc": "^3",
|
||||
"@tailwindcss/typography": "^0.5.15",
|
||||
"@types/node": "^20",
|
||||
"@types/react": "^19",
|
||||
"@types/react-dom": "^19",
|
||||
"eslint": "^9",
|
||||
"eslint-config-next": "15.1.2",
|
||||
"postcss": "^8",
|
||||
"swr": "^2.2.5",
|
||||
"tailwindcss": "^3.4.1",
|
||||
"typescript": "^5"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
module.exports = {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/** @type {import('postcss-load-config').Config} */
|
||||
const config = {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
},
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
Before Width: | Height: | Size: 84 KiB |
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><rect width="512" height="512" rx="15%" fill="#30353e"/><path fill="#e24329" d="M84 215l43-133c2-7 12-7 14 0l115 353L371 82c2-7 12-7 14 0l43 133"/><path fill="#fc6d26" d="M256 435L84 215h100.4zm71.7-220H428L256 435l71.6-220z"/><path fill="#fca326" d="M84 215l-22 67c-2 6 0 13 6 16l188 137zm344 0l22 67c2 6 0 13-6 16L256 435z"/></svg>
|
||||
|
Before Width: | Height: | Size: 395 B |
|
Before Width: | Height: | Size: 159 KiB |
|
After Width: | Height: | Size: 193 KiB |
|
After Width: | Height: | Size: 90 KiB |
|
After Width: | Height: | Size: 262 KiB |
|
Before Width: | Height: | Size: 374 KiB |
@@ -1,3 +0,0 @@
|
||||
export async function GET(request: Request) {
|
||||
return new Response('Hello, Next.js!')
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
@import 'node_modules/@fontsource/jetbrains-mono/index.css';
|
||||
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
a {
|
||||
@apply underline;
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
import './globals.css';
|
||||
|
||||
export const metadata = {
|
||||
title: 'storbies my beloved',
|
||||
authors: { name: 'Nikola Kubiczek' },
|
||||
description: 'my things',
|
||||
colorScheme: 'dark',
|
||||
viewport: 'width=device-width,initial-scale=1.0',
|
||||
icons: ['icon.png'],
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<html className="dark" lang="en" dir="ltr">
|
||||
<body className="bg-zinc-900 text-zinc-100">{children}</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
@@ -1,267 +0,0 @@
|
||||
'use client';
|
||||
|
||||
import Image from 'next/image';
|
||||
import { motion } from 'framer-motion';
|
||||
|
||||
import blahaj from '../../public/blahaj.webp';
|
||||
import gitlab from '../../public/gitlab.svg';
|
||||
import picrew from '../../public/picrew.png';
|
||||
|
||||
export default function Home() {
|
||||
const date = new Date();
|
||||
const [day, month, year] = [
|
||||
date.getDate(),
|
||||
date.getMonth(),
|
||||
date.getFullYear(),
|
||||
];
|
||||
|
||||
const [C, M, Y, K] = [day / 31, month / 12, year / 10000, (year % 100) / 100];
|
||||
|
||||
const R = Math.round(255 * (1 - C) * (1 - K));
|
||||
const G = Math.round(255 * (1 - M) * (1 - K));
|
||||
const B = Math.round(255 * (1 - Y) * (1 - K));
|
||||
|
||||
const RGB = R.toString(16) + G.toString(16) + B.toString(16);
|
||||
|
||||
const items = [
|
||||
{
|
||||
name: 'eParafia',
|
||||
class_: 'hover:border-[#466e83] hover:bg-[#365e70]',
|
||||
link: 'https://eparafia.eu',
|
||||
},
|
||||
{
|
||||
name: 'Podlaski ZBS',
|
||||
class_: 'hover:border-[#7c626c] hover:bg-[#6f6f71]',
|
||||
link: 'https://podlaskizbs.pl',
|
||||
},
|
||||
{
|
||||
name: 'Ikubi',
|
||||
class_: 'hover:border-[#7c626c] hover:bg-[#6f6f71]',
|
||||
link: 'https://ikubi.pl',
|
||||
},
|
||||
{
|
||||
name: 'nyaa',
|
||||
class_: 'hover:border-[#466e83] hover:bg-[#365e70]',
|
||||
git: 'https://gitlab.com/yaemiku/nyaa',
|
||||
desc: `it's a script, dummy!`,
|
||||
},
|
||||
{
|
||||
name: 'Puchar LO V',
|
||||
class_: 'hover:border-[#7f7f84] hover:bg-[#6f6f71]',
|
||||
link: 'https://puchar.lo5.bielsko.pl',
|
||||
git: 'https://gitlab.com/yaemiku/puchar',
|
||||
full: true,
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
<div className="p-4 mx-auto mt-4 max-w-screen-md prose prose-zinc prose-invert">
|
||||
<header className="flex flex-col justify-around items-center px-4">
|
||||
<div>
|
||||
<motion.div
|
||||
animate={{
|
||||
left: 0,
|
||||
right: 0,
|
||||
}}
|
||||
transition={
|
||||
{
|
||||
// ease: 'easeIn',
|
||||
}
|
||||
}
|
||||
className="flex flex-col max-w-[100vw] absolute h-16 my-28 z-10 shadow-2xl"
|
||||
>
|
||||
<div className="grow bg-[#55CDFC] z-0"></div>
|
||||
<div className="grow bg-[#F7A8B8] z-0"></div>
|
||||
<div className="z-0 bg-white grow"></div>
|
||||
<div className="grow bg-[#F7A8B8] z-0"></div>
|
||||
<div className="grow bg-[#55CDFC] z-0"></div>
|
||||
</motion.div>
|
||||
<div className="relative z-20 mx-auto w-72">
|
||||
<Image
|
||||
src={picrew}
|
||||
alt="My Picrew"
|
||||
className="rounded-full shadow-2xl pointer-events-none select-none"
|
||||
priority
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex flex-col gap-y-4 items-center my-4 w-full">
|
||||
<h1 className="flex gap-x-2 mb-0 text-4xl select-none">
|
||||
<span className="my-auto">
|
||||
<a
|
||||
href="https://www.youtube.com/watch?v=WzZPPXfYSvE"
|
||||
className="no-underline"
|
||||
target="_blank"
|
||||
>
|
||||
🐀
|
||||
</a>
|
||||
</span>
|
||||
<div className="flex flex-col text-center">
|
||||
<span>Nikola Kubiczek</span>
|
||||
<span className="text-sm font-semibold text-zinc-500">
|
||||
(she/her)
|
||||
</span>
|
||||
</div>
|
||||
<span className="my-auto">
|
||||
<a
|
||||
href="https://www.youtube.com/watch?v=JsV8EI3c48M"
|
||||
className="no-underline"
|
||||
target="_blank"
|
||||
>
|
||||
🦈
|
||||
</a>
|
||||
</span>
|
||||
</h1>
|
||||
<b className="font-jetbrains">
|
||||
<p className="flex flex-col items-center my-0 font-light text-lime-50">
|
||||
<span>me@yaemiku.dev</span>
|
||||
<a href="public.asc" target="_blank">
|
||||
pgp key
|
||||
</a>
|
||||
<span className="mt-2 text-xs">click on the emojis !!</span>
|
||||
<span className="my-0 text-xs italic text-center">
|
||||
i use{' '}
|
||||
<a href="https://gitlab.com/yaemiku/dots" target="_blank">
|
||||
arch
|
||||
</a>{' '}
|
||||
btw
|
||||
</span>
|
||||
</p>
|
||||
</b>
|
||||
</div>
|
||||
</header>
|
||||
<main className="flex flex-col justify-around items-center px-4">
|
||||
<figure className="flex flex-col gap-y-6 my-6 max-w-screen-sm">
|
||||
<blockquote className="text-xl text-justify bg-clip-text text-transparent bg-gradient-to-br from-[#55CDFC] via-[#F7A8B8] to-[#FFFFFF]">
|
||||
Your ol' reliable girl here — coming right up to build your new
|
||||
awesome website, rant about the supremacy of functional programming
|
||||
languages, show you comically large amounts of rat pics and maybe
|
||||
even cuddle together under the supervision of{' '}
|
||||
<b>Chief Emotional Support Officer Blåhaj</b>? Jk, jk... Unless??
|
||||
</blockquote>
|
||||
|
||||
<div className="grid gap-4 text-sm md:grid-cols-2 font-jetbrains">
|
||||
<div className="text-center transition transform-gpu ease-in-out col-span-full p-2 rounded-md border border-zinc-500 bg-gradient-to-r from-[#D60270] via-[#9B4F96] to-[#0038A8]">
|
||||
<h1 className="font-semibold">My blog !!</h1>
|
||||
wip 💀
|
||||
</div>
|
||||
{items.map(({ name, class_, link, git, full, desc }, i) => (
|
||||
<div
|
||||
className={`${
|
||||
git ? 'flex' : ''
|
||||
} transition transform-gpu ease-in-out p-2 rounded-md ${
|
||||
!!full ? 'col-span-full' : ''
|
||||
} border border-zinc-700 bg-zinc-800 ${class_}`}
|
||||
key={i}
|
||||
>
|
||||
{git ? (
|
||||
<>
|
||||
<div>
|
||||
<h1 className="font-semibold">{name}</h1>
|
||||
{link ? (
|
||||
<a href={link} target="_blank">
|
||||
{link}
|
||||
</a>
|
||||
) : (
|
||||
<span>{desc}</span>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<a href={git} className="my-auto ml-auto" target="_blank">
|
||||
<Image src={gitlab} alt="gitlab" className="w-8 h-8" />
|
||||
</a>
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<h1 className="font-semibold">{name}</h1>
|
||||
<a href={link} target="_blank">
|
||||
{link}
|
||||
</a>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
))}
|
||||
<div
|
||||
style={{ backgroundColor: `#${RGB}` }}
|
||||
className="flex flex-col items-center col-span-full p-2 rounded-md border border-zinc-700 hover:border-[#7f7f84]"
|
||||
>
|
||||
<h1 className="font-semibold">Color of the day!</h1>
|
||||
<span>
|
||||
C: <span className="font-semibold">{Math.round(C * 100)}%</span>{' '}
|
||||
M: <span className="font-semibold">{Math.round(M * 100)}%</span>{' '}
|
||||
Y: <span className="font-semibold">{Math.round(Y * 100)}%</span>{' '}
|
||||
K: <span className="font-semibold">{Math.round(K * 100)}%</span>
|
||||
</span>
|
||||
<span>
|
||||
R: <span className="font-semibold">{R}</span> G:{' '}
|
||||
<span className="font-semibold">{G}</span> B:{' '}
|
||||
<span className="font-semibold">{B}</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Image
|
||||
src={blahaj}
|
||||
alt="blahaj"
|
||||
className="mx-auto mt-6 rounded-md"
|
||||
/>
|
||||
<figcaption className="mt-[-1.25rem] text-xs text-center text-zinc-400">
|
||||
u/markyminkk on r/BLAHAJ
|
||||
</figcaption>
|
||||
</figure>
|
||||
</main>
|
||||
<footer className="my-2 text-center">
|
||||
<em>
|
||||
<a href="https://git.yaemiku.dev/yaemiku" target="_blank">
|
||||
yaemiku
|
||||
</a>
|
||||
© <span id="year">2023</span>
|
||||
</em>
|
||||
<br />
|
||||
|
||||
<em>
|
||||
Made with{' '}
|
||||
<a href="https://nextjs.org" target="_blank">
|
||||
NextJS
|
||||
</a>
|
||||
,{' '}
|
||||
<a href="https://framer.com" target="_blank">
|
||||
Framer Motion
|
||||
</a>{' '}
|
||||
and{' '}
|
||||
<a href="https://tailwindcss.com" target="_blank">
|
||||
TailwindCSS
|
||||
</a>{' '}
|
||||
</em>
|
||||
<br />
|
||||
<em>
|
||||
Link to
|
||||
<a href="https://picrew.me/image_maker/599056" target="_blank">
|
||||
picrew
|
||||
</a>
|
||||
</em>
|
||||
<figure className="my-6 max-w-screen-md select-none">
|
||||
<blockquote className="text-xs text-justify text-zinc-400">
|
||||
Oh, wretched memory that compels us to remember the paths we took to
|
||||
arrive at the present state of affairs! Further: as I lay awake but
|
||||
still half dreaming, I felt that my body was not homogeneous, that
|
||||
some parts were still those of a boy, and that my head was laughing
|
||||
at my leg and ridiculing it, that my leg was laughing at my head,
|
||||
that my finger was poking fun at my heart, my heart at my brain,
|
||||
that my nose was thumbing itself at my eye, my eye chuckling and
|
||||
bellowing at my nose — and all my parts were wildly raping each
|
||||
other in an all-encompassing and piercing state of pan-mockery. Nor
|
||||
did my fear lessen one iota when I reached full consciousness and
|
||||
began reflecting on my life. On the contrary, it intensified even as
|
||||
it was interrupted (or accentuated) by a giggle my mouth could not
|
||||
hold back. I was halfway down the path of my life when I found
|
||||
myself in a dark forest.
|
||||
</blockquote>
|
||||
<figcaption className="mt-2 text-xs text-right text-zinc-700">
|
||||
——— Witold Gombrowicz, Ferdydurke
|
||||
</figcaption>
|
||||
</figure>
|
||||
</footer>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
module.exports = {
|
||||
content: ['./src/**/*.{js,ts,jsx,tsx}'],
|
||||
darkMode: 'class',
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
jetbrains: ['JetBrains Mono', 'sans-serif'],
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [],
|
||||
};
|
||||
@@ -0,0 +1,18 @@
|
||||
import type { Config } from "tailwindcss";
|
||||
|
||||
export default {
|
||||
content: [
|
||||
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
"./components/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
"./app/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
],
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
background: "var(--background)",
|
||||
foreground: "var(--foreground)",
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [require('@tailwindcss/typography')],
|
||||
} satisfies Config;
|
||||
@@ -1,15 +1,14 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"target": "ES2017",
|
||||
"lib": ["dom", "dom.iterable", "esnext"],
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"noEmit": true,
|
||||
"esModuleInterop": true,
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"moduleResolution": "bundler",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"jsx": "preserve",
|
||||
@@ -20,7 +19,7 @@
|
||||
}
|
||||
],
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
"@/*": ["./*"]
|
||||
}
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
||||
|
||||