singularity-components 0.1.140 → 0.1.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/dist/components/blocks/cards/blogpost-card.d.ts +8 -0
- package/dist/components/blocks/cards/blogpost-card.js +65 -0
- package/dist/components/blocks/cards/blogpost-card.js.map +1 -0
- package/dist/components/blocks/cards/card.d.ts +14 -0
- package/dist/components/blocks/cards/card.js +86 -0
- package/dist/components/blocks/cards/card.js.map +1 -0
- package/dist/components/blocks/index.d.ts +3 -0
- package/dist/components/blocks/index.js +3 -0
- package/dist/components/blocks/index.js.map +1 -0
- package/dist/components/index.d.ts +9 -6
- package/dist/components/index.js +4 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/primitives/badge/badge.d.ts +12 -4
- package/dist/components/primitives/badge/badge.js +14 -14
- package/dist/components/primitives/badge/badge.js.map +1 -1
- package/dist/components/primitives/button/button.d.ts +12 -7
- package/dist/components/primitives/button/button.js +46 -15
- package/dist/components/primitives/button/button.js.map +1 -1
- package/dist/components/primitives/icon/icon.d.ts +2 -2
- package/dist/components/primitives/icon/icon.js +6 -12
- package/dist/components/primitives/icon/icon.js.map +1 -1
- package/dist/components/primitives/index.d.ts +6 -4
- package/dist/components/primitives/index.js +2 -0
- package/dist/components/primitives/index.js.map +1 -1
- package/dist/components/primitives/layout/layout.d.ts +3 -2
- package/dist/components/primitives/layout/layout.js +7 -6
- package/dist/components/primitives/layout/layout.js.map +1 -1
- package/dist/components/primitives/link/link-button.d.ts +13 -0
- package/dist/components/primitives/link/link-button.js +21 -0
- package/dist/components/primitives/link/link-button.js.map +1 -0
- package/dist/components/primitives/link/link.d.ts +36 -0
- package/dist/components/primitives/link/link.js +56 -0
- package/dist/components/primitives/link/link.js.map +1 -0
- package/dist/components/primitives/stack/stack.d.ts +2 -1
- package/dist/components/primitives/stack/stack.js +15 -4
- package/dist/components/primitives/stack/stack.js.map +1 -1
- package/dist/components/primitives/text/internal/text-element.d.ts +25 -3
- package/dist/components/primitives/text/internal/text-element.js +20 -12
- package/dist/components/primitives/text/internal/text-element.js.map +1 -1
- package/dist/components/primitives/text/text-div.d.ts +1 -1
- package/dist/components/primitives/text/text-div.js.map +1 -1
- package/dist/components/primitives/text/text-heading.js +7 -7
- package/dist/components/primitives/text/text-heading.js.map +1 -1
- package/dist/components/primitives/text/text-paragraph.d.ts +8 -2
- package/dist/components/primitives/text/text-paragraph.js +12 -1
- package/dist/components/primitives/text/text-paragraph.js.map +1 -1
- package/dist/components/primitives/text/text-span.js.map +1 -1
- package/dist/components/primitives/text/text-time.js.map +1 -1
- package/dist/components/primitives/ui-image.js +2 -5
- package/dist/components/primitives/ui-image.js.map +1 -1
- package/dist/components/primitives/ui-link.d.ts +4 -2
- package/dist/components/primitives/ui-link.js +5 -11
- package/dist/components/primitives/ui-link.js.map +1 -1
- package/dist/components/sections/body/body.d.ts +19 -0
- package/dist/components/sections/body/body.js +49 -0
- package/dist/components/sections/body/body.js.map +1 -0
- package/dist/components/sections/footer/footer.d.ts +12 -0
- package/dist/components/sections/footer/footer.js +59 -0
- package/dist/components/sections/footer/footer.js.map +1 -0
- package/dist/components/sections/hero/hero.d.ts +6 -0
- package/dist/components/sections/hero/hero.js +271 -0
- package/dist/components/sections/hero/hero.js.map +1 -0
- package/dist/components/sections/index.d.ts +3 -0
- package/dist/components/sections/index.js +4 -0
- package/dist/components/sections/index.js.map +1 -0
- package/dist/components/templates/blogpost/blogpost.d.ts +5 -0
- package/dist/components/templates/blogpost/blogpost.js +173 -0
- package/dist/components/templates/blogpost/blogpost.js.map +1 -0
- package/dist/components/templates/index.d.ts +3 -0
- package/dist/components/templates/index.js +3 -0
- package/dist/components/templates/index.js.map +1 -0
- package/dist/components/templates/startpage/startpage.d.ts +5 -0
- package/dist/components/templates/startpage/startpage.js +48 -0
- package/dist/components/templates/startpage/startpage.js.map +1 -0
- package/dist/components/units/index.d.ts +2 -5
- package/dist/components/units/index.js +0 -3
- package/dist/components/units/index.js.map +1 -1
- package/dist/css/variables.css +75 -73
- package/dist/css/variables.css.map +1 -1
- package/dist/data/posts.d.ts +20 -0
- package/dist/data/posts.js +266 -0
- package/dist/data/posts.js.map +1 -0
- package/dist/index.d.ts +9 -6
- package/dist/lib/hooks/useIsClient.d.ts +3 -0
- package/dist/lib/hooks/useIsClient.js +14 -0
- package/dist/lib/hooks/useIsClient.js.map +1 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +1 -0
- package/dist/lib/index.js.map +1 -1
- package/dist/main.css +712 -584
- package/dist/main.css.map +1 -1
- package/dist/utils.js.map +1 -1
- package/package.json +35 -24
- package/dist/components/primitives/accordion/accordion.stories.d.ts +0 -15
- package/dist/components/primitives/accordion/accordion.stories.js +0 -60
- package/dist/components/primitives/accordion/accordion.stories.js.map +0 -1
- package/dist/components/primitives/alert/alert.stories.d.ts +0 -22
- package/dist/components/primitives/alert/alert.stories.js +0 -37
- package/dist/components/primitives/alert/alert.stories.js.map +0 -1
- package/dist/components/primitives/button/button.stories.d.ts +0 -34
- package/dist/components/primitives/button/button.stories.js +0 -74
- package/dist/components/primitives/button/button.stories.js.map +0 -1
- package/dist/components/primitives/button/button_with_icon_variant.d.ts +0 -2
- package/dist/components/primitives/button/button_with_icon_variant.js +0 -1
- package/dist/components/primitives/button/button_with_icon_variant.js.map +0 -1
- package/dist/components/primitives/icon/icon.stories.d.ts +0 -27
- package/dist/components/primitives/icon/icon.stories.js +0 -30
- package/dist/components/primitives/icon/icon.stories.js.map +0 -1
- package/dist/components/primitives/layout/layout.stories.d.ts +0 -32
- package/dist/components/primitives/layout/layout.stories.js +0 -72
- package/dist/components/primitives/layout/layout.stories.js.map +0 -1
- package/dist/components/primitives/separator/separator.stories.d.ts +0 -15
- package/dist/components/primitives/separator/separator.stories.js +0 -18
- package/dist/components/primitives/separator/separator.stories.js.map +0 -1
- package/dist/components/primitives/skeleton/skeleton.stories.d.ts +0 -13
- package/dist/components/primitives/skeleton/skeleton.stories.js +0 -16
- package/dist/components/primitives/skeleton/skeleton.stories.js.map +0 -1
- package/dist/components/primitives/spinner/spinner.stories.d.ts +0 -16
- package/dist/components/primitives/spinner/spinner.stories.js +0 -34
- package/dist/components/primitives/spinner/spinner.stories.js.map +0 -1
- package/dist/components/primitives/stack/stack.stories.d.ts +0 -13
- package/dist/components/primitives/stack/stack.stories.js +0 -26
- package/dist/components/primitives/stack/stack.stories.js.map +0 -1
- package/dist/components/primitives/text/text-div.stories.d.ts +0 -32
- package/dist/components/primitives/text/text-div.stories.js +0 -59
- package/dist/components/primitives/text/text-div.stories.js.map +0 -1
- package/dist/components/primitives/text/text-heading.stories.d.ts +0 -27
- package/dist/components/primitives/text/text-heading.stories.js +0 -47
- package/dist/components/primitives/text/text-heading.stories.js.map +0 -1
- package/dist/components/primitives/text/text-span.stories.d.ts +0 -31
- package/dist/components/primitives/text/text-span.stories.js +0 -59
- package/dist/components/primitives/text/text-span.stories.js.map +0 -1
- package/dist/components/units/cards/blog-card.d.ts +0 -19
- package/dist/components/units/cards/blog-card.js +0 -82
- package/dist/components/units/cards/blog-card.js.map +0 -1
- package/dist/components/units/cards/card.d.ts +0 -15
- package/dist/components/units/cards/card.js +0 -89
- package/dist/components/units/cards/card.js.map +0 -1
- package/dist/components/units/cards/cards.d.ts +0 -17
- package/dist/components/units/cards/cards.js +0 -37
- package/dist/components/units/cards/cards.js.map +0 -1
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
const posts = [
|
|
2
|
+
{
|
|
3
|
+
slug: "the-art-of-slow-living",
|
|
4
|
+
title: "The Art of Slow Living",
|
|
5
|
+
excerpt: "In a world that never stops moving, there's a quiet revolution happening \u2014 one that asks us to pause, breathe, and savor.",
|
|
6
|
+
body: `In a world that never stops moving, there's a quiet revolution happening \u2014 one that asks us to pause, breathe, and savor the moments that make up our days.
|
|
7
|
+
|
|
8
|
+
Slow living isn't about doing everything at a snail's pace. It's about being intentional with your time, choosing quality over quantity, and finding joy in the everyday. Whether it's brewing a cup of tea with care, taking a longer route through the park, or simply sitting with your thoughts \u2014 these small acts of presence add up.
|
|
9
|
+
|
|
10
|
+
## Why Slow Down?
|
|
11
|
+
|
|
12
|
+
Research consistently shows that chronic busyness leads to burnout, anxiety, and a diminished sense of well-being. When we rush through life, we miss the textures, flavors, and connections that give it meaning.
|
|
13
|
+
|
|
14
|
+
## Practical Steps
|
|
15
|
+
|
|
16
|
+
1. **Start your morning without screens.** Give yourself 30 minutes before checking notifications.
|
|
17
|
+
2. **Cook one meal from scratch each week.** The process itself becomes meditative.
|
|
18
|
+
3. **Single-task.** Give your full attention to one thing at a time.
|
|
19
|
+
4. **Spend time in nature.** Even 15 minutes outdoors can reset your nervous system.
|
|
20
|
+
|
|
21
|
+
The beauty of slow living is that it doesn't require a complete lifestyle overhaul. It begins with a single choice to be present.`,
|
|
22
|
+
image: "https://images.unsplash.com/photo-1506744038136-46273834b3fb?w=800&h=500&fit=crop",
|
|
23
|
+
date: "2026-02-01",
|
|
24
|
+
author: "Elena Marsh",
|
|
25
|
+
featured: true
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
slug: "designing-with-intention",
|
|
29
|
+
title: "Designing with Intention",
|
|
30
|
+
excerpt: "Good design isn't decoration \u2014 it's communication. Every color, typeface, and pixel should earn its place.",
|
|
31
|
+
body: `Good design isn't decoration \u2014 it's communication. Every color, typeface, and pixel should earn its place on the page.
|
|
32
|
+
|
|
33
|
+
When we design with intention, we start by asking questions: Who is this for? What should they feel? What action should they take? The answers shape every decision, from the warmth of a color palette to the weight of a heading.
|
|
34
|
+
|
|
35
|
+
## The Role of Constraints
|
|
36
|
+
|
|
37
|
+
Constraints are a designer's best friend. A limited palette forces creativity. A strict grid creates rhythm. When everything is possible, nothing stands out.
|
|
38
|
+
|
|
39
|
+
## Color as Emotion
|
|
40
|
+
|
|
41
|
+
Colors carry meaning. Warm terracottas evoke trust and earthiness. Golds suggest warmth and optimism. The combination tells a story before a single word is read.
|
|
42
|
+
|
|
43
|
+
## Typography as Voice
|
|
44
|
+
|
|
45
|
+
Your typeface choices are the voice of your brand. A serif display font like Playfair Display brings elegance and editorial authority. Paired with a clean sans-serif for body text, it creates a hierarchy that guides the reader effortlessly.
|
|
46
|
+
|
|
47
|
+
Design with intention means every element serves the whole.`,
|
|
48
|
+
image: "https://images.unsplash.com/photo-1558618666-fcd25c85f82e?w=800&h=500&fit=crop",
|
|
49
|
+
date: "2026-01-28",
|
|
50
|
+
author: "James Kato"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
slug: "morning-rituals-around-the-world",
|
|
54
|
+
title: "Morning Rituals Around the World",
|
|
55
|
+
excerpt: "From Japanese tea ceremonies to Scandinavian fika, how different cultures start their day reveals what they value most.",
|
|
56
|
+
body: `From Japanese tea ceremonies to Scandinavian fika, how different cultures start their day reveals what they value most.
|
|
57
|
+
|
|
58
|
+
## Japan: The Way of Tea
|
|
59
|
+
|
|
60
|
+
In Japan, the morning tea ceremony is a practice of mindfulness. Each movement is deliberate, each moment savored. It's not about the tea \u2014 it's about presence.
|
|
61
|
+
|
|
62
|
+
## Scandinavia: Fika
|
|
63
|
+
|
|
64
|
+
The Swedish tradition of fika \u2014 a coffee break with pastries \u2014 is less about caffeine and more about connection. It's a built-in pause in the day to share conversation with friends or colleagues.
|
|
65
|
+
|
|
66
|
+
## India: Yoga and Chai
|
|
67
|
+
|
|
68
|
+
In many Indian households, the morning begins with yoga or meditation, followed by a cup of spiced chai. The combination of movement and warmth prepares both body and mind for the day ahead.
|
|
69
|
+
|
|
70
|
+
## Italy: The Standing Espresso
|
|
71
|
+
|
|
72
|
+
Italians take their morning espresso standing at the bar \u2014 a quick, intense ritual that's social and efficient. It's a moment of shared energy before the day begins.
|
|
73
|
+
|
|
74
|
+
These rituals remind us that how we begin our day shapes everything that follows.`,
|
|
75
|
+
image: "https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?w=800&h=500&fit=crop",
|
|
76
|
+
date: "2026-01-20",
|
|
77
|
+
author: "Sofia Andersson",
|
|
78
|
+
featured: true
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
slug: "the-beauty-of-imperfection",
|
|
82
|
+
title: "The Beauty of Imperfection",
|
|
83
|
+
excerpt: "Wabi-sabi teaches us to find beauty in the worn, the weathered, and the wonderfully imperfect.",
|
|
84
|
+
body: `Wabi-sabi teaches us to find beauty in the worn, the weathered, and the wonderfully imperfect.
|
|
85
|
+
|
|
86
|
+
In a culture obsessed with perfection \u2014 flawless skin, pixel-perfect designs, curated feeds \u2014 wabi-sabi offers a radical alternative. This Japanese aesthetic philosophy finds beauty in impermanence, incompleteness, and imperfection.
|
|
87
|
+
|
|
88
|
+
## What is Wabi-Sabi?
|
|
89
|
+
|
|
90
|
+
Wabi refers to a rustic simplicity, a quiet contentment. Sabi refers to the beauty that comes with age and wear. Together, they describe an aesthetic that values the authentic over the polished.
|
|
91
|
+
|
|
92
|
+
## Applying Wabi-Sabi
|
|
93
|
+
|
|
94
|
+
- **In your home:** Choose handmade ceramics over mass-produced perfection.
|
|
95
|
+
- **In your work:** Ship the good-enough version rather than waiting for perfect.
|
|
96
|
+
- **In yourself:** Embrace your quirks \u2014 they're what make you interesting.
|
|
97
|
+
|
|
98
|
+
The cracked pot, the faded photograph, the well-worn book \u2014 these carry stories that perfection never could.`,
|
|
99
|
+
image: "https://images.unsplash.com/photo-1493106819501-66d381c466f3?w=800&h=500&fit=crop",
|
|
100
|
+
date: "2026-01-15",
|
|
101
|
+
author: "Elena Marsh"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
slug: "building-a-reading-habit",
|
|
105
|
+
title: "Building a Reading Habit",
|
|
106
|
+
excerpt: "Reading more doesn't require willpower \u2014 it requires environment design and a bit of curiosity.",
|
|
107
|
+
body: `Reading more doesn't require willpower \u2014 it requires environment design and a bit of curiosity.
|
|
108
|
+
|
|
109
|
+
Most people who say they want to read more are really saying they want to scroll less. The solution isn't discipline \u2014 it's making reading the easier choice.
|
|
110
|
+
|
|
111
|
+
## Environment Design
|
|
112
|
+
|
|
113
|
+
1. **Keep a book visible.** On your nightstand, your desk, your bag.
|
|
114
|
+
2. **Remove friction.** If you read on a Kindle, keep it charged and accessible.
|
|
115
|
+
3. **Create a reading nook.** A comfortable chair with good light signals "this is where I read."
|
|
116
|
+
|
|
117
|
+
## The Two-Page Rule
|
|
118
|
+
|
|
119
|
+
Don't commit to a chapter. Commit to two pages. Most nights, you'll keep going. On the nights you don't, you've still read two pages more than zero.
|
|
120
|
+
|
|
121
|
+
## Follow Your Curiosity
|
|
122
|
+
|
|
123
|
+
Abandon books that bore you. Life is too short for obligatory reading. Follow what fascinates you, even if it's "not serious enough."
|
|
124
|
+
|
|
125
|
+
The goal isn't to read more books. It's to enjoy reading again.`,
|
|
126
|
+
image: "https://images.unsplash.com/photo-1512820790803-83ca734da794?w=800&h=500&fit=crop",
|
|
127
|
+
date: "2026-01-10",
|
|
128
|
+
author: "James Kato"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
slug: "color-in-everyday-life",
|
|
132
|
+
title: "Color in Everyday Life",
|
|
133
|
+
excerpt: "We rarely notice it, but color shapes our moods, decisions, and memories more than we realize.",
|
|
134
|
+
body: `We rarely notice it, but color shapes our moods, decisions, and memories more than we realize.
|
|
135
|
+
|
|
136
|
+
Think about the last time a sunset stopped you in your tracks, or a room felt inexplicably cozy. Chances are, color was doing the heavy lifting.
|
|
137
|
+
|
|
138
|
+
## The Psychology of Color
|
|
139
|
+
|
|
140
|
+
- **Warm colors** (reds, oranges, yellows) increase energy and appetite. Restaurants use them for a reason.
|
|
141
|
+
- **Cool colors** (blues, greens) promote calm and focus. Think hospitals and meditation apps.
|
|
142
|
+
- **Neutrals** create breathing room. They let other elements \u2014 and people \u2014 take center stage.
|
|
143
|
+
|
|
144
|
+
## Color in Design
|
|
145
|
+
|
|
146
|
+
A well-chosen color palette does more than look good. It creates hierarchy, draws attention, and establishes mood \u2014 all before a user reads a single word.
|
|
147
|
+
|
|
148
|
+
## Your Daily Palette
|
|
149
|
+
|
|
150
|
+
Notice the colors around you today. The golden light of morning. The deep green of a houseplant. The warm brown of your coffee. These aren't accidents \u2014 they're the palette of your life.`,
|
|
151
|
+
image: "https://images.unsplash.com/photo-1525909002-1b05e0c869d8?w=800&h=500&fit=crop",
|
|
152
|
+
date: "2026-01-05",
|
|
153
|
+
author: "Sofia Andersson",
|
|
154
|
+
featured: true
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
slug: "the-power-of-walking",
|
|
158
|
+
title: "The Power of Walking",
|
|
159
|
+
excerpt: "A daily walk is the most underrated tool for creativity, clarity, and calm.",
|
|
160
|
+
body: `Walking is humanity's oldest form of movement \u2014 and still one of its most powerful. Great thinkers from Aristotle to Steve Jobs were known for their walking meetings and strolls.
|
|
161
|
+
|
|
162
|
+
## Why Walking Works
|
|
163
|
+
|
|
164
|
+
Walking increases blood flow to the brain, boosts creative thinking by up to 60%, and reduces cortisol levels. It's exercise, meditation, and brainstorming rolled into one.
|
|
165
|
+
|
|
166
|
+
## Making It a Practice
|
|
167
|
+
|
|
168
|
+
You don't need a trail or a destination. A 20-minute loop around your neighborhood is enough. Leave your phone behind \u2014 or at least keep it in your pocket.`,
|
|
169
|
+
image: "https://images.unsplash.com/photo-1476480862126-209bfaa8edc8?w=800&h=500&fit=crop",
|
|
170
|
+
date: "2026-01-02",
|
|
171
|
+
author: "Elena Marsh"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
slug: "minimalism-beyond-aesthetics",
|
|
175
|
+
title: "Minimalism Beyond Aesthetics",
|
|
176
|
+
excerpt: "True minimalism isn't about owning less \u2014 it's about making room for what matters.",
|
|
177
|
+
body: `Minimalism has been reduced to white walls and empty shelves. But the philosophy runs much deeper than aesthetics.
|
|
178
|
+
|
|
179
|
+
## The Core Idea
|
|
180
|
+
|
|
181
|
+
Minimalism asks one question: does this add value to my life? Apply it to your schedule, your relationships, your commitments \u2014 not just your closet.
|
|
182
|
+
|
|
183
|
+
## Digital Minimalism
|
|
184
|
+
|
|
185
|
+
Our phones hold more clutter than our homes. Audit your apps, notifications, and subscriptions. Keep only what serves you.`,
|
|
186
|
+
image: "https://images.unsplash.com/photo-1494438639946-1ebd1d20bf85?w=800&h=500&fit=crop",
|
|
187
|
+
date: "2025-12-28",
|
|
188
|
+
author: "James Kato"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
slug: "the-lost-art-of-letter-writing",
|
|
192
|
+
title: "The Lost Art of Letter Writing",
|
|
193
|
+
excerpt: "In an age of instant messaging, a handwritten letter carries a weight that no text can match.",
|
|
194
|
+
body: `There's something irreplaceable about receiving a handwritten letter. The texture of the paper, the imperfections of the handwriting, the knowledge that someone sat down and gave you their time.
|
|
195
|
+
|
|
196
|
+
## Why Write Letters
|
|
197
|
+
|
|
198
|
+
Letters slow us down. They force us to organize our thoughts, choose our words carefully, and express ourselves with intention.
|
|
199
|
+
|
|
200
|
+
## Getting Started
|
|
201
|
+
|
|
202
|
+
Buy a simple set of stationery. Write to someone you care about. It doesn't need to be long \u2014 even a few heartfelt lines will mean the world.`,
|
|
203
|
+
image: "https://images.unsplash.com/photo-1517971071642-34a2d3ecc9cd?w=800&h=500&fit=crop",
|
|
204
|
+
date: "2025-12-20",
|
|
205
|
+
author: "Sofia Andersson"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
slug: "cooking-as-meditation",
|
|
209
|
+
title: "Cooking as Meditation",
|
|
210
|
+
excerpt: "The kitchen can be your sanctuary \u2014 if you let the process matter more than the result.",
|
|
211
|
+
body: `We often think of cooking as a chore \u2014 something to get through before we can eat. But approached differently, it becomes a meditative practice.
|
|
212
|
+
|
|
213
|
+
## The Mindful Kitchen
|
|
214
|
+
|
|
215
|
+
Focus on the sounds: the sizzle of oil, the chop of a knife, the bubble of a simmer. Engage your senses fully and the kitchen becomes a place of calm.
|
|
216
|
+
|
|
217
|
+
## Simple Rituals
|
|
218
|
+
|
|
219
|
+
Start with a recipe you love. Prep all your ingredients before you begin. Put on music. Pour yourself a drink. Let the process be the point.`,
|
|
220
|
+
image: "https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=800&h=500&fit=crop",
|
|
221
|
+
date: "2025-12-15",
|
|
222
|
+
author: "Elena Marsh"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
slug: "digital-detox-weekend",
|
|
226
|
+
title: "The Digital Detox Weekend",
|
|
227
|
+
excerpt: "48 hours without screens sounds terrifying \u2014 until you try it and realize how much you've been missing.",
|
|
228
|
+
body: `A digital detox weekend isn't about hating technology. It's about remembering what life feels like without constant input.
|
|
229
|
+
|
|
230
|
+
## The Rules
|
|
231
|
+
|
|
232
|
+
No phone, no laptop, no tablet for 48 hours. Use a paper map, a physical book, an alarm clock. Tell people in advance so they don't worry.
|
|
233
|
+
|
|
234
|
+
## What You'll Discover
|
|
235
|
+
|
|
236
|
+
Boredom arrives first \u2014 then creativity. You'll notice birdsong, have longer conversations, and sleep better than you have in months.`,
|
|
237
|
+
image: "https://images.unsplash.com/photo-1528297506728-9533d2ac3fa4?w=800&h=500&fit=crop",
|
|
238
|
+
date: "2025-12-10",
|
|
239
|
+
author: "James Kato"
|
|
240
|
+
}
|
|
241
|
+
];
|
|
242
|
+
const mockComments = [
|
|
243
|
+
{
|
|
244
|
+
id: "1",
|
|
245
|
+
author: "Reader One",
|
|
246
|
+
text: "This really resonated with me. Thank you for sharing.",
|
|
247
|
+
date: "2026-02-02"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
id: "2",
|
|
251
|
+
author: "Curious Mind",
|
|
252
|
+
text: "I've been trying to slow down lately \u2014 this gave me some great ideas.",
|
|
253
|
+
date: "2026-02-03"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
id: "3",
|
|
257
|
+
author: "Design Fan",
|
|
258
|
+
text: "Beautiful writing and perspective. More of this please!",
|
|
259
|
+
date: "2026-02-05"
|
|
260
|
+
}
|
|
261
|
+
];
|
|
262
|
+
export {
|
|
263
|
+
mockComments,
|
|
264
|
+
posts
|
|
265
|
+
};
|
|
266
|
+
//# sourceMappingURL=posts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/data/posts.ts"],"sourcesContent":["export interface BlogPost {\r\n slug: string;\r\n title: string;\r\n excerpt: string;\r\n body: string;\r\n image: string;\r\n date: string;\r\n author: string;\r\n featured?: boolean;\r\n}\r\n\r\nexport interface Comment {\r\n id: string;\r\n author: string;\r\n text: string;\r\n date: string;\r\n}\r\n\r\nexport const posts: BlogPost[] = [\r\n {\r\n slug: \"the-art-of-slow-living\",\r\n title: \"The Art of Slow Living\",\r\n excerpt:\r\n \"In a world that never stops moving, there's a quiet revolution happening — one that asks us to pause, breathe, and savor.\",\r\n body: `In a world that never stops moving, there's a quiet revolution happening — one that asks us to pause, breathe, and savor the moments that make up our days.\r\n\r\nSlow living isn't about doing everything at a snail's pace. It's about being intentional with your time, choosing quality over quantity, and finding joy in the everyday. Whether it's brewing a cup of tea with care, taking a longer route through the park, or simply sitting with your thoughts — these small acts of presence add up.\r\n\r\n## Why Slow Down?\r\n\r\nResearch consistently shows that chronic busyness leads to burnout, anxiety, and a diminished sense of well-being. When we rush through life, we miss the textures, flavors, and connections that give it meaning.\r\n\r\n## Practical Steps\r\n\r\n1. **Start your morning without screens.** Give yourself 30 minutes before checking notifications.\r\n2. **Cook one meal from scratch each week.** The process itself becomes meditative.\r\n3. **Single-task.** Give your full attention to one thing at a time.\r\n4. **Spend time in nature.** Even 15 minutes outdoors can reset your nervous system.\r\n\r\nThe beauty of slow living is that it doesn't require a complete lifestyle overhaul. It begins with a single choice to be present.`,\r\n image:\r\n \"https://images.unsplash.com/photo-1506744038136-46273834b3fb?w=800&h=500&fit=crop\",\r\n date: \"2026-02-01\",\r\n author: \"Elena Marsh\",\r\n featured: true,\r\n },\r\n {\r\n slug: \"designing-with-intention\",\r\n title: \"Designing with Intention\",\r\n excerpt:\r\n \"Good design isn't decoration — it's communication. Every color, typeface, and pixel should earn its place.\",\r\n body: `Good design isn't decoration — it's communication. Every color, typeface, and pixel should earn its place on the page.\r\n\r\n When we design with intention, we start by asking questions: Who is this for? What should they feel? What action should they take? The answers shape every decision, from the warmth of a color palette to the weight of a heading.\r\n\r\n ## The Role of Constraints\r\n\r\n Constraints are a designer's best friend. A limited palette forces creativity. A strict grid creates rhythm. When everything is possible, nothing stands out.\r\n\r\n ## Color as Emotion\r\n\r\n Colors carry meaning. Warm terracottas evoke trust and earthiness. Golds suggest warmth and optimism. The combination tells a story before a single word is read.\r\n\r\n ## Typography as Voice\r\n\r\n Your typeface choices are the voice of your brand. A serif display font like Playfair Display brings elegance and editorial authority. Paired with a clean sans-serif for body text, it creates a hierarchy that guides the reader effortlessly.\r\n\r\n Design with intention means every element serves the whole.`,\r\n image:\r\n \"https://images.unsplash.com/photo-1558618666-fcd25c85f82e?w=800&h=500&fit=crop\",\r\n date: \"2026-01-28\",\r\n author: \"James Kato\",\r\n },\r\n {\r\n slug: \"morning-rituals-around-the-world\",\r\n title: \"Morning Rituals Around the World\",\r\n excerpt:\r\n \"From Japanese tea ceremonies to Scandinavian fika, how different cultures start their day reveals what they value most.\",\r\n body: `From Japanese tea ceremonies to Scandinavian fika, how different cultures start their day reveals what they value most.\r\n\r\n## Japan: The Way of Tea\r\n\r\nIn Japan, the morning tea ceremony is a practice of mindfulness. Each movement is deliberate, each moment savored. It's not about the tea — it's about presence.\r\n\r\n## Scandinavia: Fika\r\n\r\nThe Swedish tradition of fika — a coffee break with pastries — is less about caffeine and more about connection. It's a built-in pause in the day to share conversation with friends or colleagues.\r\n\r\n## India: Yoga and Chai\r\n\r\nIn many Indian households, the morning begins with yoga or meditation, followed by a cup of spiced chai. The combination of movement and warmth prepares both body and mind for the day ahead.\r\n\r\n## Italy: The Standing Espresso\r\n\r\nItalians take their morning espresso standing at the bar — a quick, intense ritual that's social and efficient. It's a moment of shared energy before the day begins.\r\n\r\nThese rituals remind us that how we begin our day shapes everything that follows.`,\r\n image:\r\n \"https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?w=800&h=500&fit=crop\",\r\n date: \"2026-01-20\",\r\n author: \"Sofia Andersson\",\r\n featured: true,\r\n },\r\n {\r\n slug: \"the-beauty-of-imperfection\",\r\n title: \"The Beauty of Imperfection\",\r\n excerpt:\r\n \"Wabi-sabi teaches us to find beauty in the worn, the weathered, and the wonderfully imperfect.\",\r\n body: `Wabi-sabi teaches us to find beauty in the worn, the weathered, and the wonderfully imperfect.\r\n\r\nIn a culture obsessed with perfection — flawless skin, pixel-perfect designs, curated feeds — wabi-sabi offers a radical alternative. This Japanese aesthetic philosophy finds beauty in impermanence, incompleteness, and imperfection.\r\n\r\n## What is Wabi-Sabi?\r\n\r\nWabi refers to a rustic simplicity, a quiet contentment. Sabi refers to the beauty that comes with age and wear. Together, they describe an aesthetic that values the authentic over the polished.\r\n\r\n## Applying Wabi-Sabi\r\n\r\n- **In your home:** Choose handmade ceramics over mass-produced perfection.\r\n- **In your work:** Ship the good-enough version rather than waiting for perfect.\r\n- **In yourself:** Embrace your quirks — they're what make you interesting.\r\n\r\nThe cracked pot, the faded photograph, the well-worn book — these carry stories that perfection never could.`,\r\n image:\r\n \"https://images.unsplash.com/photo-1493106819501-66d381c466f3?w=800&h=500&fit=crop\",\r\n date: \"2026-01-15\",\r\n author: \"Elena Marsh\",\r\n },\r\n {\r\n slug: \"building-a-reading-habit\",\r\n title: \"Building a Reading Habit\",\r\n excerpt:\r\n \"Reading more doesn't require willpower — it requires environment design and a bit of curiosity.\",\r\n body: `Reading more doesn't require willpower — it requires environment design and a bit of curiosity.\r\n\r\nMost people who say they want to read more are really saying they want to scroll less. The solution isn't discipline — it's making reading the easier choice.\r\n\r\n## Environment Design\r\n\r\n1. **Keep a book visible.** On your nightstand, your desk, your bag.\r\n2. **Remove friction.** If you read on a Kindle, keep it charged and accessible.\r\n3. **Create a reading nook.** A comfortable chair with good light signals \"this is where I read.\"\r\n\r\n## The Two-Page Rule\r\n\r\nDon't commit to a chapter. Commit to two pages. Most nights, you'll keep going. On the nights you don't, you've still read two pages more than zero.\r\n\r\n## Follow Your Curiosity\r\n\r\nAbandon books that bore you. Life is too short for obligatory reading. Follow what fascinates you, even if it's \"not serious enough.\"\r\n\r\nThe goal isn't to read more books. It's to enjoy reading again.`,\r\n image:\r\n \"https://images.unsplash.com/photo-1512820790803-83ca734da794?w=800&h=500&fit=crop\",\r\n date: \"2026-01-10\",\r\n author: \"James Kato\",\r\n },\r\n {\r\n slug: \"color-in-everyday-life\",\r\n title: \"Color in Everyday Life\",\r\n excerpt:\r\n \"We rarely notice it, but color shapes our moods, decisions, and memories more than we realize.\",\r\n body: `We rarely notice it, but color shapes our moods, decisions, and memories more than we realize.\r\n\r\nThink about the last time a sunset stopped you in your tracks, or a room felt inexplicably cozy. Chances are, color was doing the heavy lifting.\r\n\r\n## The Psychology of Color\r\n\r\n- **Warm colors** (reds, oranges, yellows) increase energy and appetite. Restaurants use them for a reason.\r\n- **Cool colors** (blues, greens) promote calm and focus. Think hospitals and meditation apps.\r\n- **Neutrals** create breathing room. They let other elements — and people — take center stage.\r\n\r\n## Color in Design\r\n\r\nA well-chosen color palette does more than look good. It creates hierarchy, draws attention, and establishes mood — all before a user reads a single word.\r\n\r\n## Your Daily Palette\r\n\r\nNotice the colors around you today. The golden light of morning. The deep green of a houseplant. The warm brown of your coffee. These aren't accidents — they're the palette of your life.`,\r\n image:\r\n \"https://images.unsplash.com/photo-1525909002-1b05e0c869d8?w=800&h=500&fit=crop\",\r\n date: \"2026-01-05\",\r\n author: \"Sofia Andersson\",\r\n featured: true,\r\n },\r\n {\r\n slug: \"the-power-of-walking\",\r\n title: \"The Power of Walking\",\r\n excerpt:\r\n \"A daily walk is the most underrated tool for creativity, clarity, and calm.\",\r\n body: `Walking is humanity's oldest form of movement — and still one of its most powerful. Great thinkers from Aristotle to Steve Jobs were known for their walking meetings and strolls.\r\n\r\n## Why Walking Works\r\n\r\nWalking increases blood flow to the brain, boosts creative thinking by up to 60%, and reduces cortisol levels. It's exercise, meditation, and brainstorming rolled into one.\r\n\r\n## Making It a Practice\r\n\r\nYou don't need a trail or a destination. A 20-minute loop around your neighborhood is enough. Leave your phone behind — or at least keep it in your pocket.`,\r\n image:\r\n \"https://images.unsplash.com/photo-1476480862126-209bfaa8edc8?w=800&h=500&fit=crop\",\r\n date: \"2026-01-02\",\r\n author: \"Elena Marsh\",\r\n },\r\n {\r\n slug: \"minimalism-beyond-aesthetics\",\r\n title: \"Minimalism Beyond Aesthetics\",\r\n excerpt:\r\n \"True minimalism isn't about owning less — it's about making room for what matters.\",\r\n body: `Minimalism has been reduced to white walls and empty shelves. But the philosophy runs much deeper than aesthetics.\r\n\r\n## The Core Idea\r\n\r\nMinimalism asks one question: does this add value to my life? Apply it to your schedule, your relationships, your commitments — not just your closet.\r\n\r\n## Digital Minimalism\r\n\r\nOur phones hold more clutter than our homes. Audit your apps, notifications, and subscriptions. Keep only what serves you.`,\r\n image:\r\n \"https://images.unsplash.com/photo-1494438639946-1ebd1d20bf85?w=800&h=500&fit=crop\",\r\n date: \"2025-12-28\",\r\n author: \"James Kato\",\r\n },\r\n {\r\n slug: \"the-lost-art-of-letter-writing\",\r\n title: \"The Lost Art of Letter Writing\",\r\n excerpt:\r\n \"In an age of instant messaging, a handwritten letter carries a weight that no text can match.\",\r\n body: `There's something irreplaceable about receiving a handwritten letter. The texture of the paper, the imperfections of the handwriting, the knowledge that someone sat down and gave you their time.\r\n\r\n## Why Write Letters\r\n\r\nLetters slow us down. They force us to organize our thoughts, choose our words carefully, and express ourselves with intention.\r\n\r\n## Getting Started\r\n\r\nBuy a simple set of stationery. Write to someone you care about. It doesn't need to be long — even a few heartfelt lines will mean the world.`,\r\n image:\r\n \"https://images.unsplash.com/photo-1517971071642-34a2d3ecc9cd?w=800&h=500&fit=crop\",\r\n date: \"2025-12-20\",\r\n author: \"Sofia Andersson\",\r\n },\r\n {\r\n slug: \"cooking-as-meditation\",\r\n title: \"Cooking as Meditation\",\r\n excerpt:\r\n \"The kitchen can be your sanctuary — if you let the process matter more than the result.\",\r\n body: `We often think of cooking as a chore — something to get through before we can eat. But approached differently, it becomes a meditative practice.\r\n\r\n## The Mindful Kitchen\r\n\r\nFocus on the sounds: the sizzle of oil, the chop of a knife, the bubble of a simmer. Engage your senses fully and the kitchen becomes a place of calm.\r\n\r\n## Simple Rituals\r\n\r\nStart with a recipe you love. Prep all your ingredients before you begin. Put on music. Pour yourself a drink. Let the process be the point.`,\r\n image:\r\n \"https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=800&h=500&fit=crop\",\r\n date: \"2025-12-15\",\r\n author: \"Elena Marsh\",\r\n },\r\n {\r\n slug: \"digital-detox-weekend\",\r\n title: \"The Digital Detox Weekend\",\r\n excerpt:\r\n \"48 hours without screens sounds terrifying — until you try it and realize how much you've been missing.\",\r\n body: `A digital detox weekend isn't about hating technology. It's about remembering what life feels like without constant input.\r\n\r\n## The Rules\r\n\r\nNo phone, no laptop, no tablet for 48 hours. Use a paper map, a physical book, an alarm clock. Tell people in advance so they don't worry.\r\n\r\n## What You'll Discover\r\n\r\nBoredom arrives first — then creativity. You'll notice birdsong, have longer conversations, and sleep better than you have in months.`,\r\n image:\r\n \"https://images.unsplash.com/photo-1528297506728-9533d2ac3fa4?w=800&h=500&fit=crop\",\r\n date: \"2025-12-10\",\r\n author: \"James Kato\",\r\n },\r\n];\r\n\r\nexport const mockComments: Comment[] = [\r\n {\r\n id: \"1\",\r\n author: \"Reader One\",\r\n text: \"This really resonated with me. Thank you for sharing.\",\r\n date: \"2026-02-02\",\r\n },\r\n {\r\n id: \"2\",\r\n author: \"Curious Mind\",\r\n text: \"I've been trying to slow down lately — this gave me some great ideas.\",\r\n date: \"2026-02-03\",\r\n },\r\n {\r\n id: \"3\",\r\n author: \"Design Fan\",\r\n text: \"Beautiful writing and perspective. More of this please!\",\r\n date: \"2026-02-05\",\r\n },\r\n];\r\n"],"mappings":"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","names":[]}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './components/primitives/accordion/accordion.js';
|
|
2
2
|
export { Alert, AlertAction, AlertDescription, AlertTitle, alertVariants } from './components/primitives/alert/alert.js';
|
|
3
|
-
export { Badge, badgeVariants } from './components/primitives/badge/badge.js';
|
|
3
|
+
export { Badge, badgeVariants, badgeVariantsProps } from './components/primitives/badge/badge.js';
|
|
4
4
|
export { Badges, BadgesProps } from './components/primitives/badge/badges.js';
|
|
5
5
|
export { Button, buttonVariants, buttonVariantsProps } from './components/primitives/button/button.js';
|
|
6
6
|
export { Icon, iconVariants, iconVariantsProps } from './components/primitives/icon/icon.js';
|
|
7
7
|
export { Layout, LayoutProps, layoutVariants, layoutVariantsProps } from './components/primitives/layout/layout.js';
|
|
8
|
+
export { Link, linkVariants } from './components/primitives/link/link.js';
|
|
9
|
+
export { LinkButton } from './components/primitives/link/link-button.js';
|
|
8
10
|
export { Separator } from './components/primitives/separator/separator.js';
|
|
9
11
|
export { Skeleton } from './components/primitives/skeleton/skeleton.js';
|
|
10
12
|
export { Spinner } from './components/primitives/spinner/spinner.js';
|
|
11
13
|
export { Stack, StackProps, stackVariants } from './components/primitives/stack/stack.js';
|
|
12
14
|
export { TextDiv } from './components/primitives/text/text-div.js';
|
|
13
15
|
export { TextHeading, TextHeadingProps, textHeadingVariants, textHeadingVariantsProps } from './components/primitives/text/text-heading.js';
|
|
14
|
-
export { TextParagraph } from './components/primitives/text/text-paragraph.js';
|
|
16
|
+
export { TextParagraph, textParagraphVariants, textParagraphVariantsProps } from './components/primitives/text/text-paragraph.js';
|
|
15
17
|
export { TextSpan } from './components/primitives/text/text-span.js';
|
|
16
18
|
export { TextTime } from './components/primitives/text/text-time.js';
|
|
17
19
|
export { UiImage } from './components/primitives/ui-image.js';
|
|
18
20
|
export { UiLink } from './components/primitives/ui-link.js';
|
|
21
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './components/blocks/cards/card.js';
|
|
22
|
+
export { Body } from './components/sections/body/body.js';
|
|
23
|
+
export { BlogPost } from './components/templates/blogpost/blogpost.js';
|
|
24
|
+
export { StartPage } from './components/templates/startpage/startpage.js';
|
|
19
25
|
export { BaseImageProps, DefaultImage, ImageComponentType, ImageProvider, useImage } from './components/providers/ImageContext.js';
|
|
20
26
|
export { BaseLinkProps, DefaultLink, LinkComponentType, LinkProvider, useLink } from './components/providers/LinkContext.js';
|
|
21
27
|
export { SingularityProvider } from './components/providers/SingularityContext.js';
|
|
22
|
-
export { BlogPost } from './components/units/cards/blog-card.js';
|
|
23
|
-
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardImage, CardTitle } from './components/units/cards/card.js';
|
|
24
|
-
export { Cards, CardsProps, getGridColsClass } from './components/units/cards/cards.js';
|
|
25
28
|
import 'react/jsx-runtime';
|
|
26
29
|
import '@base-ui/react/accordion';
|
|
27
30
|
import 'class-variance-authority/types';
|
|
@@ -31,5 +34,5 @@ import '@base-ui/react/use-render';
|
|
|
31
34
|
import '@base-ui/react/button';
|
|
32
35
|
import 'lucide-react';
|
|
33
36
|
import '@base-ui/react/separator';
|
|
34
|
-
import './components/primitives/text/internal/text-element.js';
|
|
35
37
|
import './lib/types.js';
|
|
38
|
+
import './components/primitives/text/internal/text-element.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useSyncExternalStore } from "react";
|
|
3
|
+
function useIsClient() {
|
|
4
|
+
return useSyncExternalStore(
|
|
5
|
+
() => () => {
|
|
6
|
+
},
|
|
7
|
+
() => true,
|
|
8
|
+
() => false
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
useIsClient
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=useIsClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/lib/hooks/useIsClient.tsx"],"sourcesContent":["\"use client\";\r\nimport { useSyncExternalStore } from \"react\";\r\n\r\nexport function useIsClient() {\r\n return useSyncExternalStore(\r\n () => () => {},\r\n () => true,\r\n () => false,\r\n );\r\n}\r\n"],"mappings":";AACA,SAAS,4BAA4B;AAE9B,SAAS,cAAc;AAC5B,SAAO;AAAA,IACL,MAAM,MAAM;AAAA,IAAC;AAAA,IACb,MAAM;AAAA,IACN,MAAM;AAAA,EACR;AACF;","names":[]}
|
package/dist/lib/index.d.ts
CHANGED
package/dist/lib/index.js
CHANGED
package/dist/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/lib/index.ts"],"sourcesContent":["export * from \"./helpers\";\r\n"],"mappings":"AAAA,cAAc;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/lib/index.ts"],"sourcesContent":["export * from \"./helpers\";\r\nexport * from \"./hooks/useIsClient\";\r\n"],"mappings":"AAAA,cAAc;AACd,cAAc;","names":[]}
|