Skip to content

Commit a4740e3

Browse files
committed
Enhance landing page features and footer design; update styles for improved aesthetics
1 parent b3a2608 commit a4740e3

5 files changed

Lines changed: 73 additions & 34 deletions

File tree

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,19 @@ Butterfly is an open-source app for people who think better with space around th
4040

4141
Use it for class notes, meeting notes, research, math, worksheets, planning, whiteboarding, storyboards, product sketches, or any project that starts messy and needs room to grow. Write by hand with a stylus, touch, or mouse, type text and Markdown, add shapes and lines, place images and photos, import PDFs, SVGs, and image files, then export your work as PDF, SVG, images, or portable Butterfly files.
4242

43-
Butterfly tries to stay out of your way while you work. Recent files, quick-start templates, search, folders, imports, page navigation, and tool settings are close when you need them, but the document stays at the center. You can begin with a plain page, ruled paper, a grid, dotted paper, music paper, or your own template.
43+
## Features
4444

45-
As your document grows, Butterfly gives you ways to keep it understandable. Split work into pages and page folders, use layers, mark important places with areas and waypoints, save reusable parts in packs, and keep palettes and text styles ready for the next document. Almost everything you add remains editable, so you can move, resize, recolor, reorder, and refine your work later instead of starting over.
45+
* **✍️ Tunable drawing tools:** Shape each pen around your workflow with smoothing, thinning, pressure behavior, zoom-dependent strokes, and shape detection.
46+
* **🧩 Mixed content:** Combine handwriting, text, Markdown, shapes, images, photos, PDFs, SVGs, rulers, grids, textures, laser pointer notes, and presentation tools.
47+
* **🛠️ Always editable:** Move, resize, recolor, reorder, and refine most elements later instead of starting over.
48+
* **🗂️ Project structure:** Organize large documents with multiple pages, page folders, layers, named areas, and waypoints.
49+
* **🎨 Reusable setup:** Save templates, packs, palettes, stamps, and text styles so your favorite layouts and tools follow you.
50+
* **🚀 Quick start:** Jump in from recent files, search, folders, imports, quick-start templates, and storage locations.
51+
* **🔒 Local first:** Work offline, store files locally, choose a different data directory, or connect WebDAV and Nextcloud.
52+
* **📤 Flexible export:** Share your work as PDF, SVG, images, or portable Butterfly files.
53+
* **🤝 Experimental collaboration:** Work together with end-to-end encrypted sessions through Swamp or a self-hosted WebSocket server.
54+
55+
## Your work belongs to you
4656

4757
Your files stay under your control. Work offline, store documents on your device, choose a different data directory, or connect WebDAV and Nextcloud if you want your own sync setup. There is no required account, no required subscription, and no required proprietary cloud.
4858

@@ -66,7 +76,7 @@ Butterfly is free, community translated, available on phones, tablets, desktops,
6676
Try Butterfly in your browser, install it on your devices, or explore the documentation:
6777

6878
* [Download Butterfly](https://butterfly.linwood.dev/downloads)
69-
* [Try the web app](https://web.butterfly.linwood.dev)
79+
* [Try the web app](https://web.butterfly.linwood.dev) (Chromium-based browsers are recommended)
7080
* [Read the documentation](https://butterfly.linwood.dev/docs/v2/intro)
7181
* [Join the community](https://butterfly.linwood.dev/community)
7282

docs/src/components/Footer.astro

Lines changed: 33 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,55 +7,65 @@ import { Image } from "astro:assets";
77
<slot />
88
</StarlightFooter>
99
<footer class="real-footer">
10-
<a href="https://linwood.dev" target="_blank">
10+
<a class="brand" href="https://linwood.dev" target="_blank">
1111
<Image
1212
src="https://www.linwood.dev/logos/logo.png"
1313
width="32"
1414
height="32"
15-
alt="Linwood"
15+
alt=""
1616
/>
17+
<strong>Linwood</strong>
1718
</a>
18-
<div class="row">
19-
<a target="_blank" class="btn" href="https://linwood.dev/imprint">Impressum</a
20-
>
21-
<a target="_blank" class="btn" href="https://linwood.dev/privacypolicy"
22-
>Datenschutzerklärung</a
23-
>
19+
<div class="links">
20+
<a target="_blank" class="btn" href="https://linwood.dev/imprint">Imprint</a>
21+
<a target="_blank" class="btn" href="https://linwood.dev/privacypolicy">
22+
Privacy policy
23+
</a>
2424
</div>
2525
</footer>
2626

2727
<style lang="scss">
2828
.real-footer {
2929
display: flex;
30-
flex-direction: column;
30+
flex-wrap: wrap;
3131
align-items: center;
3232
justify-content: center;
33+
gap: 0.75rem 1.25rem;
3334
width: fit-content;
34-
border-radius: 0.4rem;
3535
margin-top: 5rem;
36-
background-color: var(--sl-color-gray-6);
37-
padding: 0.5rem 1rem;
3836
margin-left: auto;
3937
margin-right: auto;
38+
padding: 1rem;
39+
background-color: var(--sl-color-gray-6);
40+
border-radius: 1rem;
4041
}
41-
.row {
42+
43+
.brand {
4244
display: flex;
4345
align-items: center;
44-
gap: 1rem;
45-
margin-top: 0.5rem;
46+
gap: 0.5rem;
47+
color: var(--sl-color-white);
48+
text-decoration: none;
4649
}
47-
.divider {
48-
align-self: stretch;
49-
width: 2px;
50-
background-color: var(--sl-color-gray-4);
50+
51+
.brand:hover {
52+
text-decoration: none;
53+
}
54+
55+
.links {
56+
display: flex;
57+
flex-wrap: wrap;
58+
justify-content: center;
59+
gap: 0.5rem;
5160
}
5261

5362
.btn {
54-
color: var(--sl-color-gray-10);
63+
color: var(--sl-color-white);
5564
font-weight: 500;
5665
text-decoration: none;
57-
&:hover {
58-
text-decoration: underline;
59-
}
66+
}
67+
68+
.btn:hover {
69+
text-decoration: none;
6070
}
6171
</style>

docs/src/components/LandingFeature.astro

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ const { image, alt, reverse = false, portrait = false } = Astro.props;
6363
max-height: 40rem;
6464
object-fit: contain;
6565
border: 1px solid var(--sl-color-gray-5);
66-
border-radius: 0.65rem;
67-
background: white;
66+
border-radius: 1rem;
6867
box-shadow: var(--sl-shadow-md);
6968
}
7069

@@ -129,6 +128,17 @@ const { image, alt, reverse = false, portrait = false } = Astro.props;
129128
--sl-content-width: 86rem;
130129
}
131130

131+
:global(html:has(.landing-feature) .sl-markdown-content > p > img) {
132+
border: 1px solid var(--sl-color-gray-5);
133+
border-radius: 1rem;
134+
box-shadow: var(--sl-shadow-md);
135+
overflow: hidden;
136+
}
137+
138+
:global(html:has(.landing-feature) .sl-markdown-content > p:has(> img) + .card-grid) {
139+
margin-top: clamp(1.5rem, 4vw, 3rem) !important;
140+
}
141+
132142
@media (prefers-reduced-motion: no-preference) {
133143
@supports (animation-timeline: view()) {
134144
.landing-feature {

docs/src/content/docs/index.mdx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ hero:
1111
link: /downloads/
1212
icon: download
1313
variant: primary
14-
- text: Try it in your browser
15-
link: https://web.butterfly.linwood.dev
16-
icon: rocket
1714
- text: Read the Butterfly blog
1815
link: https://linwood.dev/butterfly
1916
icon: external
@@ -64,8 +61,6 @@ Butterfly is a creative workspace for people who think visually. Capture lecture
6461

6562
An infinite canvas should still be easy to navigate. Butterfly lets one document contain multiple infinite pages, page folders, layers, named areas, and waypoints. Move from the big picture to one exact detail without losing your place.
6663

67-
![A large Butterfly canvas with pages, handwritten notes, and drawing tools](@assets/img/showcase-canvas.png)
68-
6964
<CardGrid stagger>
7065
<Card title="Every element stays editable" icon="pencil">
7166
Move, resize, recolor, and reorganize content after placing it. Your first attempt never has to be your final one.
@@ -132,7 +127,7 @@ No subscription is required. Download Butterfly, open the web app, and create yo
132127
/>
133128
<LinkCard
134129
title="Try the web app"
135-
description="Start a canvas in your browser without installing anything."
130+
description="Start a canvas in your browser without installing anything. Chromium-based browsers are recommended."
136131
href="https://web.butterfly.linwood.dev"
137132
/>
138133
<LinkCard

docs/src/styles/linwood-style.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
}
2323
header {
2424
backdrop-filter: lw.$elevation-filter;
25+
background: color-mix(in srgb, var(--ls-background) 72%, transparent);
26+
border-bottom: 1px solid var(--sl-color-gray-5);
27+
box-shadow: 0 0.35rem 1rem color-mix(in srgb, var(--ls-background-text) 5%, transparent);
28+
isolation: isolate;
2529
}
2630
.tagline, label, .site-title {
2731
color: var(--ls-background-text);
@@ -64,6 +68,16 @@ option {
6468
.sl-link-card a {
6569
text-decoration: none;
6670
}
71+
72+
.sl-link-card {
73+
--sl-color-gray-3: color-mix(in srgb, var(--ls-background-text) 78%, transparent);
74+
border-radius: 1rem;
75+
}
76+
77+
.card {
78+
border-radius: 1rem;
79+
}
80+
6781
.sidebar-content {
6882
padding-left: 6px;
6983
summary {

0 commit comments

Comments
 (0)