Skip to content

Commit 0789e28

Browse files
committed
Clean up styleguide content, fix MD issues
1 parent e00c474 commit 0789e28

31 files changed

+110
-31
lines changed

ROBOTS.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Sitemap: /sitemap.xml
2+
3+
User-agent: *
4+
Disallow:

eleventy.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ module.exports = (config) => {
3030
"src/_content/places/*.{png,jpg,jpeg,webp,svg}": "venue/",
3131
});
3232
config.addPassthroughCopy("CNAME");
33+
config.addPassthroughCopy("ROBOTS.txt");
34+
3335

3436
/*
3537
Setup watch targets

src/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: default
33

44
title: Page Not Found
5-
description: >
5+
description: |
66
The page you're looking for doesn't exist.
77

88
permalink: /404.html

src/_content/styleguide/badges.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Badges
3-
description: >
3+
description: |
44
Badges are used to indicate status, denote a count, or to draw attention to an element. Badges are created by applying `.badge` to an element. Colors may be changed by applying a background color utility class, e.g. `bg-blue` to create a blue badge.
55
---
66

src/_content/styleguide/blocks-grids.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Blocks & Grids"
33

4-
description: >
4+
description: |
55
Blocks and grids are the building blocks of the website. They help to organize content and create a visual hierarchy.
66

77
There are a few key classes to use when shaping blocks:

src/_content/styleguide/buttons.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Buttons
3-
description: >
3+
description: |
44
Buttons are created by applying `.button` to an element. The button class is a utility class that applies padding, border, and background color.
55

66
The button class can be combined with other utility classes to create different button styles. Changing button colors requires changing the background color, e.g. `bg-blue` to create a blue button.

src/_content/styleguide/colors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Colors
3-
description: >
3+
description: |
44
The full color palette is configured in `tailwind.config.js`. The following is a full list of all defined colors and their shades. Note that Tailwind does not provide all of these classes unless used in _source_ files (not compiled output).
55
---
66

src/_content/styleguide/icons.html

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Icons
3+
4+
description: |
5+
Icons are used to visually communicate an action or idea. The `.icon` class can be applied to give them a consistent width and height. Additional height and width classes can be applied to change their sizing, e.g. `w-12 h-12`.
6+
7+
icons:
8+
- /assets/img/theme/icons/Bag.svg
9+
- /assets/img/theme/icons/Bull.svg
10+
- /assets/img/theme/icons/Checklist.svg
11+
- /assets/img/theme/icons/Compass.svg
12+
- /assets/img/theme/icons/Document.svg
13+
- /assets/img/theme/icons/Globe.svg
14+
- /assets/img/theme/icons/Hands.svg
15+
- /assets/img/theme/icons/Hat.svg
16+
- /assets/img/theme/icons/Heart.svg
17+
- /assets/img/theme/icons/Megaphone.svg
18+
- /assets/img/theme/icons/Money.svg
19+
- /assets/img/theme/icons/People.svg
20+
- /assets/img/theme/icons/Prompt.svg
21+
- /assets/img/theme/icons/Star.svg
22+
- /assets/img/theme/icons/Triangle.svg
23+
---
24+
25+
<table>
26+
<thead>
27+
<tr>
28+
<th>Icon</th>
29+
<th>Path</th>
30+
</tr>
31+
</thead>
32+
<tbody>
33+
{% for icon in icons %}
34+
<tr>
35+
<td><img src="{{ icon }}" alt="" class="icon" /></td>
36+
<td><code>{{ icon }}</code></td>
37+
</tr>
38+
{% endfor %}
39+
</tbody>
40+
</table>
41+
</ul>

src/_content/styleguide/logo-files.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Logo files
33

4-
description: >
4+
description: |
55
Logos are stored on GitHub in the [resources repository](https://github.com/djangocon/resources).
66

77
fullLogoFolder: https://raw.githubusercontent.com/djangocon/resources/main/us-2024/logos/full-logo/

src/_content/styleguide/people.html

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)