Skip to content

Commit 26dbdd3

Browse files
committed
Website improvements
1 parent 21fff43 commit 26dbdd3

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

docs/360info-logo.png

16.7 KB
Loading

docs/_quarto.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,25 @@ execute:
66

77
website:
88
navbar:
9-
title: Sverto
10-
background: black
9+
logo: 360info-logo.png
10+
logo-href: https://github.com/360-info
11+
background: "#222222"
1112
search: true
1213
left:
13-
- text: "Home"
14+
- text: "Sverto"
1415
file: index.qmd
15-
- text: "Example: bar chart"
16-
file: examples/barchart/index.qmd
16+
- text: "Examples"
17+
menu:
18+
- text: "Bar chart"
19+
file: examples/barchart/index.qmd
1720
# - about.qmd
21+
right:
22+
- icon: github
23+
href: https://github.com/360-info/sverto
1824

1925
format:
2026
sverto-html:
2127
title-block-banner: "#e1e4e6"
28+
theme: default
29+
linkcolor: "#36a7e9"
30+

docs/index.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ If you want to refer to other JavaScript libraries in your Svelte component (lik
6868
npm install d3-scale
6969
```
7070

71-
## Use pre-compiled Svelte components
71+
## 🔨 Use pre-compiled Svelte components
7272

7373
If you'd prefer to compile your own Svelte components instead of letting this extension do it, you can skip steps 1 and 2 and simply refer to the compiled bundle with, for example, `Component = import("Component.js")` in an OJS block.
7474

7575
:::{.callout-note}
7676
You must compile the Svelte component to an ES6 bundle, and you must enable accessors when compiling if you want to be able to update them from OJS. Refer to [`_extensions/sverto/rollup.config.js`](https://github.com/360-info/sverto/blob/firstrelease/_extensions/sverto/rollup.config.js) for guidance on configuring Rollup to do this.
77-
```
77+
:::
7878

7979
## ❓ Issues
8080

0 commit comments

Comments
 (0)