Skip to content

Commit 0408527

Browse files
committed
Design about page
1 parent 1224a5b commit 0408527

2 files changed

Lines changed: 37 additions & 27 deletions

File tree

43.4 KB
Binary file not shown.

src/app/about/page.tsx

Lines changed: 37 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,29 @@
11
import type { Metadata } from "next";
2+
import localFont from "next/font/local";
23
import { SiteHeader } from "@/components/landing/SiteHeader";
34

5+
const iaWriterQuattro = localFont({
6+
src: "../../../public/fonts/ia-writer-quattro-latin-400-normal.woff2",
7+
weight: "400",
8+
display: "swap",
9+
});
10+
411
export const metadata: Metadata = {
512
title: "About — Lineage 2 API",
613
description:
714
"About the Lineage 2 API project: its origins, motivation, and the community it was built for.",
815
};
916

17+
const bodyTextStyle = {
18+
letterSpacing: "0",
19+
color: "var(--ink-soft)",
20+
} as const;
21+
22+
const leadTextStyle = {
23+
letterSpacing: "0",
24+
color: "var(--ink)",
25+
} as const;
26+
1027
export default function AboutPage() {
1128
return (
1229
<div className="flex flex-1 flex-col bg-[var(--bg)]">
@@ -26,16 +43,16 @@ export default function AboutPage() {
2643
</h1>
2744

2845
<p
29-
className="mt-10 text-[20px] leading-[1.6]"
30-
style={{ color: "var(--ink)" }}
46+
className={`${iaWriterQuattro.className} mt-9 text-[20px] leading-[1.7]`}
47+
style={leadTextStyle}
3148
>
3249
Lineage 2 API is my tribute to the community, old servers, and the
3350
nostalgia of exploring this world together.
3451
</p>
3552

3653
<p
37-
className="mt-6 text-[18px] leading-[1.65]"
38-
style={{ color: "var(--ink-soft)" }}
54+
className={`${iaWriterQuattro.className} mt-7 text-[18px] leading-[1.6]`}
55+
style={bodyTextStyle}
3956
>
4057
I started playing when I was 11, at a computer club called EXE in
4158
Odesa, Ukraine. My first chronicle was C1 on TeNeT, a local server
@@ -45,8 +62,8 @@ export default function AboutPage() {
4562
</p>
4663

4764
<p
48-
className="mt-6 text-[18px] leading-[1.65]"
49-
style={{ color: "var(--ink-soft)" }}
65+
className={`${iaWriterQuattro.className} mt-7 text-[18px] leading-[1.6]`}
66+
style={bodyTextStyle}
5067
>
5168
That was the magic for me: not just the game, but the people.
5269
Intrigues, clan wars, sieges, epic bosses, love stories, and
@@ -56,8 +73,8 @@ export default function AboutPage() {
5673
</p>
5774

5875
<p
59-
className="mt-6 text-[18px] leading-[1.65]"
60-
style={{ color: "var(--ink-soft)" }}
76+
className={`${iaWriterQuattro.className} mt-7 text-[18px] leading-[1.6]`}
77+
style={bodyTextStyle}
6178
>
6279
Years later, I wanted to build something the 11-year-old version of
6380
me would have loved: a better way to explore the world of Lineage 2.
@@ -67,8 +84,8 @@ export default function AboutPage() {
6784
</p>
6885

6986
<p
70-
className="mt-6 text-[18px] leading-[1.65]"
71-
style={{ color: "var(--ink-soft)" }}
87+
className={`${iaWriterQuattro.className} mt-7 text-[18px] leading-[1.6]`}
88+
style={bodyTextStyle}
7289
>
7390
I looked for a public API for Lineage 2 data and could not find one.
7491
There were datapacks, scattered XML files, SQL dumps, client files,
@@ -77,15 +94,15 @@ export default function AboutPage() {
7794
</p>
7895

7996
<p
80-
className="mt-6 text-[18px] leading-[1.65]"
81-
style={{ color: "var(--ink-soft)" }}
97+
className={`${iaWriterQuattro.className} mt-7 text-[18px] leading-[1.6]`}
98+
style={bodyTextStyle}
8299
>
83100
So I did the boring part.
84101
</p>
85102

86103
<p
87-
className="mt-6 text-[18px] leading-[1.65]"
88-
style={{ color: "var(--ink-soft)" }}
104+
className={`${iaWriterQuattro.className} mt-7 text-[18px] leading-[1.6]`}
105+
style={bodyTextStyle}
89106
>
90107
This API parses the source data, normalizes it, deduplicates noisy
91108
records, enriches entities with useful cross-links, and exposes
@@ -94,32 +111,25 @@ export default function AboutPage() {
94111
</p>
95112

96113
<p
97-
className="mt-6 text-[18px] leading-[1.65]"
98-
style={{ color: "var(--ink-soft)" }}
114+
className={`${iaWriterQuattro.className} mt-7 text-[18px] leading-[1.6]`}
115+
style={bodyTextStyle}
99116
>
100117
The current focus is Interlude, the chronicle closest to my own
101118
memories and the one many players still recognize instantly. More
102119
chronicles may come later.
103120
</p>
104121

105122
<p
106-
className="mt-6 text-[18px] leading-[1.65]"
107-
style={{ color: "var(--ink-soft)" }}
123+
className={`${iaWriterQuattro.className} mt-7 text-[18px] leading-[1.6]`}
124+
style={bodyTextStyle}
108125
>
109126
Use it to build an item explorer, drop calculator, Discord bot,
110127
knowledge base, or anything that brings this old world back to life.
111128
</p>
112129

113130
<p
114-
className="mt-6 text-[18px] leading-[1.65]"
115-
style={{ color: "var(--ink-soft)" }}
116-
>
117-
This is an unofficial fan project. Not affiliated with NCSoft.
118-
</p>
119-
120-
<p
121-
className="mt-6 text-[18px] leading-[1.65]"
122-
style={{ color: "var(--ink-soft)" }}
131+
className={`${iaWriterQuattro.className} mt-7 text-[18px] leading-[1.6]`}
132+
style={bodyTextStyle}
123133
>
124134
I built it because I wanted something like this to exist.
125135
</p>

0 commit comments

Comments
 (0)