Skip to content

Commit c54f70a

Browse files
feat: add extensive collection of font assets and create font demonstration page
1 parent 98704f1 commit c54f70a

162 files changed

Lines changed: 1768 additions & 3 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/(site)/fonts/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,19 +389,19 @@ function FontCard({
389389
<div className="my-auto flex flex-1 items-center justify-center overflow-hidden">
390390
<AnimatePresence mode="wait">
391391
<motion.p
392-
key={customText + localSize + localWeight}
392+
key={customText}
393393
initial={{ opacity: 0, y: 10 }}
394394
animate={{ opacity: 1, y: 0 }}
395395
exit={{ opacity: 0, y: -10 }}
396396
transition={{ duration: 0.3, ease: auraEase }}
397397
contentEditable
398398
suppressContentEditableWarning
399399
onClick={(e) => e.stopPropagation()}
400-
className="w-full bg-transparent outline-none transition-colors"
400+
className="w-full bg-transparent outline-none"
401401
style={{
402402
fontFamily: family.fontFamily,
403403
fontStyle: family.fontStyle || "normal",
404-
fontSize: `${localSize}px`,
404+
fontSize: `${viewMode === "grid" ? Math.min(localSize, 80) : localSize}px`,
405405
fontWeight: localWeight,
406406
lineHeight: 1.2,
407407
color: "var(--color-accent-primary)",
33.7 KB
Binary file not shown.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/**
2+
* @license
3+
*
4+
* Font Family: Aktura
5+
* Designed by: Gaetan Baehr
6+
* URL: https://www.fontshare.com/fonts/aktura
7+
* © 2026 Indian Type Foundry
8+
*
9+
* Aktura Regular
10+
11+
*
12+
*/
13+
@font-face {
14+
font-family: 'Aktura-Regular';
15+
src: url('../fonts/Aktura-Regular.woff2') format('woff2'),
16+
url('../fonts/Aktura-Regular.woff') format('woff'),
17+
url('../fonts/Aktura-Regular.ttf') format('truetype');
18+
font-weight: 400;
19+
font-display: swap;
20+
font-style: normal;
21+
}
22+
71.3 KB
Binary file not shown.
73.8 KB
Binary file not shown.
74.9 KB
Binary file not shown.
75.7 KB
Binary file not shown.
75.4 KB
Binary file not shown.
75.3 KB
Binary file not shown.
67.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)