Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit 2fb6091

Browse files
committed
Address some stragglers
1 parent d17e0a8 commit 2fb6091

File tree

3 files changed

+18
-23
lines changed

3 files changed

+18
-23
lines changed

website/docs/guides/layout.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,6 @@ A component's height and width determine its size on the screen. The simplest wa
2626
<window bind:this={win}>
2727
<view style="width: 50px; height: 30px; background-color: yellow;"/>
2828
</window>
29-
30-
<style>
31-
#rootView{
32-
height: '100%';
33-
background-color: blue;
34-
}
35-
#label {
36-
flex: 1;
37-
color: white;
38-
background-color: green;
39-
}
40-
#view {
41-
flex: 3;
42-
background-color: white;
43-
}
44-
</style>
4529
```
4630

4731

website/docusaurus.config.js

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
title: "Svelte NodeGui",
3-
tagline: "Build performant, native, cross platform desktop apps with React",
3+
tagline: "Build performant, native, cross-platform desktop apps with Svelte",
44
url: "https://svelte.nodegui.org",
55
baseUrl: "/",
66
favicon: "img/favicon.ico",
@@ -29,6 +29,17 @@ module.exports = {
2929
position: "right",
3030
},
3131
],
32+
/**
33+
* Prism doesn't yet support Svelte, so Docusaurus can't highlight it.
34+
* @see https://github.com/PrismJS/prism/issues/2090
35+
* There is a community-made support layer, but I don't see how I'd integrate it with Docusaurus.
36+
* The may technically be a convoluted way by importing "prism-svelte" in .docusaurus/client-modules.js,
37+
* but life is too short.
38+
* @see https://github.com/pngwn/prism-svelte
39+
*/
40+
// prism: {
41+
// additionalLanguages: ['svelte'],
42+
// },
3243
},
3344
footer: {
3445
style: "dark",
@@ -68,10 +79,10 @@ module.exports = {
6879
label: "NodeGui",
6980
to: "https://nodegui.org",
7081
},
71-
{
72-
label: "FAQ",
73-
to: "https://nodegui.org/faq",
74-
},
82+
// {
83+
// label: "FAQ",
84+
// to: "https://nodegui.org/faq",
85+
// },
7586
],
7687
},
7788
],

website/src/components/CreateNativeApps.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ export const CreateNativeApps = () => {
1515
return (
1616
<div>
1717
<h3>
18-
Create native apps for Windows, MacOs and Linux using Svelte and CSS
18+
Create native apps for Windows, MacOS and Linux using Svelte and CSS
1919
</h3>
2020

2121
<p>
22-
lets you create truly native apps and doesn't compromise on your
22+
Svelte NodeGui lets you create truly native apps and doesn't compromise on your
2323
users' experience. It provides a core set of platform agnostic native
2424
widgets that map directly to the platform’s native UI building blocks.
2525
</p>

0 commit comments

Comments
 (0)