Skip to content

Commit c6061cc

Browse files
committed
chore: added project files and routes
1 parent e2cb659 commit c6061cc

File tree

15 files changed

+153
-115
lines changed

15 files changed

+153
-115
lines changed
56.2 KB
Binary file not shown.

public/fonts/verona-serial/vs-l.ttf

55.4 KB
Binary file not shown.
76.4 KB
Binary file not shown.

public/fonts/verona-serial/vs-xl.ttf

55.4 KB
Binary file not shown.

src/app/favicon.ico

8.36 KB
Binary file not shown.

src/app/globals.css

+33-6
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,53 @@
22
@tailwind components;
33
@tailwind utilities;
44

5+
@font-face {
6+
font-family: "VS";
7+
src: url('../../public/fonts/verona-serial/vs-regular.ttf');
8+
font-weight: 700;
9+
font-style: normal;
10+
}
11+
12+
@font-face {
13+
font-family: "VS";
14+
src: url('../../public/fonts/verona-serial/vs-bold.ttf');
15+
font-weight: 800;
16+
font-style: normal;
17+
}
18+
19+
@font-face {
20+
font-family: "VS";
21+
src: url('../../public/fonts/verona-serial/vs-l.ttf');
22+
font-weight: 400;
23+
font-style: normal;
24+
}
25+
26+
@font-face {
27+
font-family: "VS";
28+
src: url('../../public/fonts/verona-serial/vs-xl.ttf');
29+
font-weight: 200;
30+
font-style: normal;
31+
}
32+
533
:root {
6-
--foreground-rgb: 0, 0, 0;
7-
--background-start-rgb: 214, 219, 220;
34+
--foreground-rgb: 255, 255, 255;
35+
--background-start-rgb: 214, 219, 22255;
836
--background-end-rgb: 255, 255, 255;
937
}
1038

1139
@media (prefers-color-scheme: dark) {
1240
:root {
1341
--foreground-rgb: 255, 255, 255;
14-
--background-start-rgb: 0, 0, 0;
15-
--background-end-rgb: 0, 0, 0;
42+
--background-start-rgb: 255, 255, 255;
43+
--background-end-rgb: 255, 255, 255;
1644
}
1745
}
1846

1947
body {
20-
color: rgb(var(--foreground-rgb));
2148
background: linear-gradient(
2249
to bottom,
2350
transparent,
2451
rgb(var(--background-end-rgb))
2552
)
2653
rgb(var(--background-start-rgb));
27-
}
54+
}

src/app/hobbies/page.tsx

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export default function Page() {
2+
return (
3+
<main className="flex min-h-screen flex-col py-8 px-48">
4+
<p className="text-6xl font-normal leading-relaxed">hobbies.</p>
5+
<p className="text-neutral-500 text-xl font-light">Some days I am playing classical tunes on my piano and on others I'm climbing walls with my friends.</p>
6+
<p className="text-neutral-500 text-xl font-light">I have a lot of hobbies and every single one of them is quite different from the other.</p>
7+
</main>
8+
)
9+
}

src/app/layout.tsx

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import type { Metadata } from 'next'
2-
import { Inter } from 'next/font/google'
32
import './globals.css'
43

5-
const inter = Inter({ subsets: ['latin'] })
4+
import Navbar from '../components/Navbar/navbar'
65

76
export const metadata: Metadata = {
8-
title: 'Create Next App',
9-
description: 'Generated by create next app',
7+
title: "TaraT's digital garden",
8+
description: 'A digital garden by TaraT',
109
}
1110

1211
export default function RootLayout({
@@ -16,7 +15,10 @@ export default function RootLayout({
1615
}) {
1716
return (
1817
<html lang="en">
19-
<body className={inter.className}>{children}</body>
18+
<body className="font-vs">
19+
<Navbar />
20+
{children}
21+
</body>
2022
</html>
2123
)
2224
}

src/app/not-found.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default function Custom404() {
2+
return <h1>404 - Page Not Found</h1>
3+
}

src/app/page.tsx

+22-104
Original file line numberDiff line numberDiff line change
@@ -1,113 +1,31 @@
1-
import Image from 'next/image'
2-
31
export default function Home() {
42
return (
5-
<main className="flex min-h-screen flex-col items-center justify-between p-24">
6-
<div className="z-10 max-w-5xl w-full items-center justify-between font-mono text-sm lg:flex">
7-
<p className="fixed left-0 top-0 flex w-full justify-center border-b border-gray-300 bg-gradient-to-b from-zinc-200 pb-6 pt-8 backdrop-blur-2xl dark:border-neutral-800 dark:bg-zinc-800/30 dark:from-inherit lg:static lg:w-auto lg:rounded-xl lg:border lg:bg-gray-200 lg:p-4 lg:dark:bg-zinc-800/30">
8-
Get started by editing&nbsp;
9-
<code className="font-mono font-bold">src/app/page.tsx</code>
10-
</p>
11-
<div className="fixed bottom-0 left-0 flex h-48 w-full items-end justify-center bg-gradient-to-t from-white via-white dark:from-black dark:via-black lg:static lg:h-auto lg:w-auto lg:bg-none">
12-
<a
13-
className="pointer-events-none flex place-items-center gap-2 p-8 lg:pointer-events-auto lg:p-0"
14-
href="https://vercel.com?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
15-
target="_blank"
16-
rel="noopener noreferrer"
17-
>
18-
By{' '}
19-
<Image
20-
src="/vercel.svg"
21-
alt="Vercel Logo"
22-
className="dark:invert"
23-
width={100}
24-
height={24}
25-
priority
26-
/>
27-
</a>
28-
</div>
29-
</div>
30-
31-
<div className="relative flex place-items-center before:absolute before:h-[300px] before:w-[480px] before:-translate-x-1/2 before:rounded-full before:bg-gradient-radial before:from-white before:to-transparent before:blur-2xl before:content-[''] after:absolute after:-z-20 after:h-[180px] after:w-[240px] after:translate-x-1/3 after:bg-gradient-conic after:from-sky-200 after:via-blue-200 after:blur-2xl after:content-[''] before:dark:bg-gradient-to-br before:dark:from-transparent before:dark:to-blue-700 before:dark:opacity-10 after:dark:from-sky-900 after:dark:via-[#0141ff] after:dark:opacity-40 before:lg:h-[360px] z-[-1]">
32-
<Image
33-
className="relative dark:drop-shadow-[0_0_0.3rem_#ffffff70] dark:invert"
34-
src="/next.svg"
35-
alt="Next.js Logo"
36-
width={180}
37-
height={37}
38-
priority
39-
/>
40-
</div>
41-
42-
<div className="mb-32 grid text-center lg:max-w-5xl lg:w-full lg:mb-0 lg:grid-cols-4 lg:text-left">
43-
<a
44-
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
45-
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
46-
target="_blank"
47-
rel="noopener noreferrer"
48-
>
49-
<h2 className={`mb-3 text-2xl font-semibold`}>
50-
Docs{' '}
51-
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
52-
-&gt;
53-
</span>
54-
</h2>
55-
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
56-
Find in-depth information about Next.js features and API.
57-
</p>
58-
</a>
3+
<main className="flex min-h-screen flex-col py-8 px-48">
594

60-
<a
61-
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
62-
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
63-
target="_blank"
64-
rel="noopener noreferrer"
65-
>
66-
<h2 className={`mb-3 text-2xl font-semibold`}>
67-
Learn{' '}
68-
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
69-
-&gt;
70-
</span>
71-
</h2>
72-
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
73-
Learn about Next.js in an interactive course with&nbsp;quizzes!
5+
<div className="grid grid-cols-5 gap-5">
6+
<div className="col-span-3">
7+
<p className="text-4xl leading-relaxed text-neutral-400 font-extralight">
8+
Hey there, I’m <a href="https://bento.me/tarat" target="_blank" className="text-neutral-950 cursor-alias hover:border-purple-400 hover:border-b-2" >TaraT</a> 👋 Welcome to my
9+
digital
10+
<br />
11+
garden 🐛
12+
I am currently developing
13+
experiences at <a href="https://www.adobe.com/" target="_blank" className="text-neutral-950 cursor-alias hover:border-indigo-400 hover:border-b-2">adobe.</a>
14+
<br />
15+
<br />
16+
In my free time, I like to <a href="/reading" className="text-neutral-950 cursor-pointer hover:border-red-400 hover:border-b-2">read</a> books, <a href="/writing" className="cursor-pointer text-neutral-950 hover:border-green-400 hover:border-b-2">write</a> blogs, <a href="/hobbies" className="cursor-pointer text-neutral-950 hover:border-yellow-400 hover:border-b-2">run</a> 5Kms, <a href="/hobbies" className="cursor-pointer text-neutral-950 hover:border-pink-400 hover:border-b-2">play</a> piano, <a href="/projects" className="cursor-pointer text-neutral-950 hover:border-violet-400 hover:border-b-2">code</a> my new project, <a href="/hobbies" className="cursor-pointer text-neutral-950 hover:border-blue-400 hover:border-b-2">climb</a> that wall or <a href="/projects" className="cursor-pointer text-neutral-950 hover:border-fuchsia-400 hover:border-b-2">rant</a> about latest tech.</p>
17+
<br />
18+
<br />
19+
<p className="text-4xl leading-relaxed text-neutral-400 font-extralight">
20+
This is my little space on the internet where I collect all of those things together.
7421
</p>
75-
</a>
7622

77-
<a
78-
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
79-
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
80-
target="_blank"
81-
rel="noopener noreferrer"
82-
>
83-
<h2 className={`mb-3 text-2xl font-semibold`}>
84-
Templates{' '}
85-
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
86-
-&gt;
87-
</span>
88-
</h2>
89-
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
90-
Explore starter templates for Next.js.
91-
</p>
92-
</a>
93-
94-
<a
95-
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
96-
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
97-
target="_blank"
98-
rel="noopener noreferrer"
99-
>
100-
<h2 className={`mb-3 text-2xl font-semibold`}>
101-
Deploy{' '}
102-
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
103-
-&gt;
104-
</span>
105-
</h2>
106-
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
107-
Instantly deploy your Next.js site to a shareable URL with Vercel.
108-
</p>
109-
</a>
23+
</div>
24+
<div className="bg-slate-200 p-12 items-center col-span-2">
25+
<span>Placeholder container...</span>
26+
</div>
11027
</div>
28+
11129
</main>
11230
)
11331
}

src/app/projects/page.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default function Page() {
2+
return (
3+
<main className="flex min-h-screen flex-col py-8 px-48">
4+
<p className="text-6xl font-normal leading-relaxed">projects.</p>
5+
<p className="text-neutral-500 text-xl font-light">I like building new stuff and sometimes I even finish what I start.</p>
6+
</main>
7+
)
8+
}

src/app/reading/page.tsx

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export default function Page() {
2+
return (
3+
<main className="flex min-h-screen flex-col py-8 px-48">
4+
<p className="text-6xl font-normal leading-relaxed">reading.</p>
5+
<p className="text-neutral-500 text-xl font-light">A list of books I'm reading or have read already.</p>
6+
<p className="text-neutral-500 text-xl font-light">Recommendations are welcome.</p>
7+
</main>
8+
)
9+
}

src/app/writing/page.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default function Page() {
2+
return (
3+
<main className="flex min-h-screen flex-col py-8 px-48">
4+
<p className="text-6xl font-normal leading-relaxed">writing.</p>
5+
<p className="text-neutral-500 text-xl font-light">I write about latest tech, old tech, and everything that is not related to tech.</p>
6+
</main>
7+
)
8+
}

src/components/Navbar/navbar.tsx

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
'use client'
2+
3+
import { usePathname } from 'next/navigation'
4+
import Link from 'next/link'
5+
6+
export default function Page() {
7+
const pathname = usePathname()
8+
return (
9+
<main className="min-h-14 border-b-2 border-slate-200 flex items-center flex-col justify-center font-vs">
10+
<ul className='flex flex-column justify-end gap-6'>
11+
<li>
12+
<Link className={`link ${pathname === '/' ? 'text-red-500' : ''}`} href="/">
13+
home
14+
</Link>
15+
</li>
16+
<li>
17+
<Link
18+
className={`link ${pathname === '/projects' ? 'text-red-500' : ''}`}
19+
href="/projects"
20+
>
21+
projects
22+
</Link>
23+
</li>
24+
<li>
25+
<Link
26+
className={`link ${pathname === '/hobbies' ? 'text-red-500' : ''}`}
27+
href="/hobbies"
28+
>
29+
hobbies
30+
</Link>
31+
</li>
32+
<li>
33+
<Link
34+
className={`link ${pathname === '/reading' ? 'text-red-500' : ''}`}
35+
href="/reading"
36+
>
37+
reading
38+
</Link>
39+
</li>
40+
<li>
41+
<Link
42+
className={`link ${pathname === '/writing' ? 'text-red-500' : ''}`}
43+
href="/writing"
44+
>
45+
writing
46+
</Link>
47+
</li>
48+
</ul>
49+
</main>
50+
)
51+
}

tailwind.config.ts

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ const config: Config = {
1313
'gradient-conic':
1414
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
1515
},
16+
fontFamily: {
17+
vs: ['VS'],
18+
},
1619
},
1720
},
1821
plugins: [],

0 commit comments

Comments
 (0)