Skip to content

Commit bfad957

Browse files
committed
feat: improvements of sites, new content etc
1 parent f091a07 commit bfad957

8 files changed

Lines changed: 18 additions & 16 deletions

File tree

pages/index.mdx

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
# Introduction
1+
# About VZN-Scripts
22

3-
Welcome to Nextra! This is a basic docs template. You can use it as a starting point for your own project :)
3+
Welcome to the **VZN Scripts documentation!**
44

5-
## What is Nextra?
5+
Here you will find all **guides** and **documentation** related to the scripts we offer.
66

7-
A **simple**, **powerful** and **flexible** site generation framework with everything you love from Next.js.
7+
If you still have questions join our Discord and open a ticket: [Discord Invite](discord.gg/wqzrVM3QYk)
88

9-
## Documentation
9+
Link to our Tebex: [https://vzn-scripts.tebex.io](https://vzn-scripts.tebex.io)
1010

11-
The documentation is available at [https://nextra.site](https://nextra.site).
12-
13-
```ts
14-
console.log("Test code");
15-
```
11+
<img style={{ marginTop: 30 }} src="/static/logo.png" alt="vzn-scripts banner" />

pages/vzn-notify.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Link to buy
2121

2222
Configure it how do you want
2323

24-
```lua
24+
```lua showLineNumbers filename="config.lua"
2525
Config = {}
2626

2727
---@type boolean

pages/vzn-notify/Integration/esx.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ After this step the script should automatically works, but if not do next steps!
1414

1515
### Replace this function with this code below
1616

17-
```lua
17+
```lua copy filename="es_extended/client/functions.lua"
1818
function ESX.ShowNotification(message, notifyType, length)
1919
exports['vzn-scripts']:esxNotification(notifyType, length, message)
2020
end

pages/vzn-notify/Integration/ox_lib.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To integrate vzn-notify with ox_lib do steps below!
1111

1212
### Replace this function with this code below
1313

14-
```lua
14+
```lua copy filename="ox_lib/resource/interface/client/notify.lua"
1515
function lib.notify(data)
1616
local sound = settings.notification_audio and data.sound
1717
data.sound = nil

pages/vzn-notify/Integration/qb-core.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To integrate vzn-notify with qb-core do steps below!
1111

1212
### Replace this function with this code below
1313

14-
```lua
14+
```lua copy filename="qb-core/client/functions.lua"
1515
function QBCore.Functions.Notify(text, texttype, length, icon)
1616
exports['vzn-notify']:qbCoreNotification(text, texttype, length)
1717
end

pages/vzn-notify/api.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
To show / hide notifications (for example, some cinematic mode etc) you can use export
66

7-
```lua
7+
```lua copy
88
exports['vzn-notify']:setVisible(visible)
99
```
1010

@@ -15,7 +15,7 @@ exports['vzn-notify']:setVisible(visible)
1515

1616
To add new notification you have to use export
1717

18-
```lua
18+
```lua copy
1919
---@class NotifyData
2020
---@field notifType? "error" | "success" | "primary" | "warning" | "money"
2121
---@field designType? 1 | 2 | 3 | 4

public/static/logo.png

623 KB
Loading

theme.config.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ const config: DocsThemeConfig = {
8989
footer: {
9090
text: "VZN Scripts",
9191
},
92+
primaryHue: 203,
93+
primarySaturation: 100,
94+
toc: {
95+
backToTop: true,
96+
},
97+
navigation: true
9298
};
9399

94100
export default config;

0 commit comments

Comments
 (0)