Skip to content

Commit 8f47428

Browse files
committed
Added website explanation as the text area placeholder
1 parent e01d587 commit 8f47428

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

_sass/minima/custom-styles.scss

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ textarea {
1919
color: $text-color;
2020
background-color: $code-background-color;
2121
border-color: $border-color-01;
22+
@include relative-font-size(1);
2223

2324
width: 100%;
2425
}

index.html

+20-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,27 @@
66
<script src="{{ 'js-base64/base64.js' | node_module_url }}"></script>
77

88
{%- assign textarea_id = 'textarea' -%}
9+
{%- capture textarea_placeholder -%}
10+
{{ site.tagline }}.
911

10-
<textarea id="{{ textarea_id }}" autofocus wrap="off"></textarea>
12+
{{ site.description }}
13+
14+
- Doesn't need cookies = immune to data loss by accident
15+
- Doesn't use a server = no downtimes
16+
- Doesn't use analytics = respects your privacy
17+
18+
---
19+
20+
One example use case is this:
21+
- You start working on a new project.
22+
- You open a new browser window / tab group for this.
23+
- You open a {{ site.title | downcase }} to write down to do lists, ideas, reminders, etc.
24+
- You safely close and reopen the browser or power off and restart your machine when needed.
25+
- You get it synced to your other devices in supported browsers and update the notes on the go.
26+
27+
{%- endcapture -%}
28+
29+
<textarea id="{{ textarea_id }}" placeholder="{{ textarea_placeholder}}" autofocus></textarea>
1130

1231
<script>
1332
function main() {

0 commit comments

Comments
 (0)