Skip to content

Commit 5084859

Browse files
authored
docs: improve README download and usage sections (#25)
* feat: update README.md with a few new sections for how to download and use server mono * feat: add new ASCII art * feat: update README.md copy * fix: nit on ServerMono in quotes
1 parent 8fed69f commit 5084859

File tree

2 files changed

+65
-2
lines changed

2 files changed

+65
-2
lines changed

README.md

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,70 @@ Server Mono continues the long tradition of monospace fonts, renowned for their
88

99
This single-weight font was released in 2024 by the Internet Development Studio Company of Seattle, Washington. Created by designers Tim Vanhille and Matthieu Salvaggio, with supplemental direction from Jimmy Lee and the Internet Development Studio Company community.
1010

11-
### Setup Website (MacOS)
11+
## Download
12+
13+
You can download the latest version from our [GitHub Releases](https://github.com/internet-development/www-server-mono/releases) page.
14+
15+
Alternatively, you can install it locally using [Homebrew `font-server-mono`](https://formulae.brew.sh/cask/font-server-mono)
16+
17+
```bash
18+
brew install --cask font-server-mono
19+
```
20+
21+
## Usage
22+
23+
Add the downloaded font files to your website's public/static directory. The examples below use a `/fonts/` prefix, but you can adjust this path to match your project structure.
24+
25+
Copy the below snippet into your CSS file:
26+
27+
```css
28+
/* Regular weight - used for normal text */
29+
@font-face {
30+
font-family: 'ServerMono';
31+
src: url('/fonts/ServerMono-Regular.woff2') format('woff2'), /* Best compression, modern browsers */
32+
url('/fonts/ServerMono-Regular.woff') format('woff'), /* Good compression, wider support */
33+
url('/fonts/ServerMono-Regular.otf') format('opentype'); /* Largest files, universal support */
34+
font-weight: normal;
35+
font-style: normal;
36+
font-display: swap;
37+
}
38+
39+
/* Slanted variant - used for italic/oblique text */
40+
@font-face {
41+
font-family: 'ServerMono';
42+
src: url('/fonts/ServerMono-RegularSlanted.woff2') format('woff2'),
43+
url('/fonts/ServerMono-RegularSlanted.woff') format('woff'),
44+
url('/fonts/ServerMono-RegularSlanted.otf') format('opentype');
45+
font-weight: normal;
46+
font-style: oblique;
47+
font-display: swap;
48+
}
49+
50+
```
51+
52+
Then you can use it across your entire site like so:
53+
54+
```css
55+
:root {
56+
font-family: 'ServerMono', monospace;
57+
}
58+
```
59+
60+
## Setup Website (MacOS)
1261

1362
Start by cloning the repository
1463

1564
Then run the server
1665

17-
```sh
66+
```bash
1867
npm install
1968
npm run dev
2069
```
2170

2271
Go to `http://localhost:10000` in your browser of choice.
2372

73+
---
74+
2475
### Contact
2576

2677
- [Internet Development Studio Company](https://internet.dev)

components/MarketingServerMono.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n
171171
<Title style={{ marginTop: `2rem` }}>ASCII</Title>
172172
<P style={{ marginTop: `1rem`, whiteSpace: 'pre-wrap', lineHeight: 1, fontSize: 12 }}>
173173
{`
174+
174175
▄████████ ▄███████▄ ███ █▄
175176
███ ███ ███ ███ ███ ███
176177
███ █▀ ███ ███ ███ ███
@@ -179,6 +180,17 @@ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n
179180
███ █▄ ███ ███ ███
180181
███ ███ ███ ███ ███
181182
████████▀ ▄████▀ ████████▀
183+
184+
`}
185+
{`
186+
187+
███████╗███████╗██████╗ ██╗ ██╗███████╗██████╗ ███╗ ███╗ ██████╗ ███╗ ██╗ ██████╗
188+
██╔════╝██╔════╝██╔══██╗██║ ██║██╔════╝██╔══██╗ ████╗ ████║██╔═══██╗████╗ ██║██╔═══██╗
189+
███████╗█████╗ ██████╔╝██║ ██║█████╗ ██████╔╝ ██╔████╔██║██║ ██║██╔██╗ ██║██║ ██║
190+
╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██╔══╝ ██╔══██╗ ██║╚██╔╝██║██║ ██║██║╚██╗██║██║ ██║
191+
███████║███████╗██║ ██║ ╚████╔╝ ███████╗██║ ██║ ██║ ╚═╝ ██║╚██████╔╝██║ ╚████║╚██████╔╝
192+
╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝
193+
182194
`}
183195
</P>
184196
</div>

0 commit comments

Comments
 (0)