Compare commits

14 Commits
Author SHA1 Message Date
selimaj-dev 2f80aa1a5b changes 2024-07-26 04:11:14 +02:00
selimaj-dev 0026b74a4c updated 2024-07-03 10:59:47 +02:00
selimaj-dev 209995d7a4 funcs and vars 2024-07-01 18:47:56 +02:00
selimaj-dev 578f27e579 organized pages 2024-06-25 15:41:17 +02:00
selimaj-dev 6bd3491ff5 updated pages 2024-06-25 15:35:14 +02:00
selimaj-dev a3ad55a1e7 removed actions 2024-06-25 15:22:13 +02:00
selimaj-dev 3e481bd4b1 fix8 2024-06-25 15:02:47 +02:00
selimaj-dev 652040ba21 fix8 2024-06-25 14:57:04 +02:00
selimaj-dev ff12f75c46 fix8 2024-06-25 14:55:24 +02:00
selimaj-dev 288f07c65a fix7 2024-06-25 14:51:21 +02:00
selimaj-dev 4fc31cc313 fix6 2024-06-25 14:47:30 +02:00
selimaj-dev 0e7755cdbf fix6 2024-06-25 14:44:41 +02:00
selimaj-dev 89ddabcc67 fix5 2024-06-25 14:24:10 +02:00
selimaj-dev 03333de65d fix4 2024-06-25 14:15:53 +02:00
25 changed files with 6515 additions and 0 deletions
+130
View File
@@ -0,0 +1,130 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional stylelint cache
.stylelintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
out
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# vuepress v2.x temp and cache directory
.temp
.cache
# Docusaurus cache and generated files
.docusaurus
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 Shu Ding
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+23
View File
@@ -0,0 +1,23 @@
# Nextra Docs Template
This is a template for creating documentation with [Nextra](https://nextra.site).
[**Live Demo →**](https://nextra-docs-template.vercel.app)
[![](.github/screenshot.png)](https://nextra-docs-template.vercel.app)
## Quick Start
Click the button to clone this repository and deploy it on Vercel:
[![](https://vercel.com/button)](https://vercel.com/new/clone?s=https%3A%2F%2Fgithub.com%2Fshuding%2Fnextra-docs-template&showOptionalTeamCreation=false)
## Local Development
First, run `pnpm i` to install the dependencies.
Then, run `pnpm dev` to start the development server and visit localhost:3000.
## License
This project is licensed under the MIT License.
+9
View File
@@ -0,0 +1,9 @@
.themeSwitcher:hover {
fill: var(--shiki-color-text);
transform: scale(1.07);
}
.themeSwitcher {
fill: var(--shiki-color-text);
transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
+103
View File
@@ -0,0 +1,103 @@
import { useTheme } from "nextra-theme-docs";
import styles from './Images.module.css';
export default function Logo() {
const { theme, setTheme } = useTheme();
return <svg className={styles.themeSwitcher} onClick={() => setTheme(theme === 'light'? 'dark' : 'light')} version="1.0" xmlns="http://www.w3.org/2000/svg"
width="50px" height="50px" viewBox="0 0 1280.000000 1280.000000"
preserveAspectRatio="xMidYMid meet">
<g transform="translate(0.000000,1260.000000) scale(0.100000,-0.100000)"
fill="" stroke="none">
<path d="M6324 12781 c-22 -10 -50 -31 -62 -46 -12 -15 -97 -149 -188 -296
-162 -262 -167 -269 -199 -269 -18 0 -52 -3 -76 -6 l-44 -6 -228 245 c-239
256 -264 277 -343 277 -19 0 -49 -6 -67 -14 -66 -27 -87 -67 -208 -389 l-114
-306 -67 -21 c-36 -11 -73 -20 -80 -20 -8 0 -131 84 -274 187 -142 103 -277
193 -299 201 -48 16 -95 9 -151 -23 -68 -40 -78 -73 -134 -420 -28 -171 -50
-313 -50 -317 0 -8 -127 -78 -143 -78 -7 0 -146 61 -310 136 -287 131 -301
136 -352 132 -67 -6 -125 -42 -151 -95 -22 -44 -22 -62 -11 -453 l9 -275 -60
-48 -60 -47 -323 76 c-347 82 -373 84 -435 42 -17 -12 -40 -35 -52 -53 -42
-61 -39 -95 42 -435 l74 -315 -41 -52 -42 -52 -81 -1 c-45 0 -195 5 -333 11
-188 7 -261 7 -287 -1 -80 -27 -133 -104 -134 -194 0 -43 19 -92 136 -347
l135 -297 -31 -62 c-17 -33 -36 -63 -43 -65 -7 -3 -156 -27 -332 -55 -312 -49
-365 -63 -365 -95 0 -8 -4 -15 -10 -15 -14 0 -58 -80 -65 -120 -4 -21 -1 -52
7 -75 8 -22 98 -156 201 -299 103 -142 187 -265 187 -273 0 -8 -9 -45 -20 -81
l-21 -67 -306 -114 c-322 -121 -362 -142 -389 -208 -8 -18 -14 -48 -14 -67 0
-79 21 -105 272 -338 l240 -223 -7 -70 c-4 -38 -7 -70 -8 -70 -14 -4 -77 -59
-77 -68 0 -7 -106 -77 -235 -156 -129 -80 -244 -154 -254 -165 -27 -29 -51
-89 -51 -126 0 -38 24 -98 51 -126 11 -12 144 -97 295 -190 185 -114 275 -175
278 -189 3 -11 7 -47 11 -81 l6 -61 -245 -228 c-255 -237 -276 -262 -276 -340
0 -64 40 -129 101 -161 15 -7 154 -61 310 -119 155 -57 287 -109 293 -115 11
-11 46 -117 46 -141 0 -9 -87 -137 -194 -286 -205 -287 -216 -308 -196 -384
32 -116 54 -126 447 -189 l323 -53 35 -64 c19 -35 35 -69 35 -77 0 -7 -61
-145 -135 -307 -148 -323 -154 -344 -114 -427 13 -26 38 -54 62 -70 47 -32 49
-32 472 -19 l270 9 48 -60 47 -60 -76 -318 c-53 -226 -74 -331 -71 -362 8 -79
80 -151 159 -159 31 -3 136 18 362 71 l318 76 60 -47 60 -48 -9 -280 c-11
-391 -11 -404 11 -448 26 -53 84 -89 151 -95 51 -4 66 2 352 132 165 75 305
136 311 136 15 0 142 -70 142 -78 0 -3 23 -148 51 -322 41 -256 56 -323 75
-358 40 -69 135 -105 209 -80 22 8 156 98 299 201 142 103 265 187 273 187 8
0 45 -9 81 -20 l67 -21 114 -306 c121 -322 142 -362 208 -389 18 -8 48 -14 67
-14 79 0 104 20 342 276 l227 245 61 -6 c34 -4 70 -8 81 -10 14 -3 74 -93 189
-280 93 -151 179 -284 190 -294 54 -51 141 -64 205 -31 53 27 65 43 246 338
108 177 167 263 180 266 11 3 47 7 81 11 l61 6 227 -245 c238 -255 264 -276
341 -276 65 0 129 40 161 102 8 15 61 154 119 310 58 155 110 287 115 292 11
11 117 46 141 46 9 0 117 -73 240 -161 328 -237 322 -233 383 -233 69 0 122
28 156 80 23 37 33 83 80 368 l52 326 65 35 c35 19 69 35 77 35 7 0 145 -61
307 -135 246 -113 302 -135 342 -135 63 0 120 30 154 82 33 49 32 44 20 468
l-8 275 60 47 60 48 317 -75 c175 -41 331 -75 348 -75 46 0 111 37 141 80 46
67 44 93 -39 443 l-76 318 48 60 47 60 270 -8 c423 -13 425 -13 472 19 24 16
49 44 62 70 40 83 34 104 -114 427 -74 162 -135 300 -135 307 0 8 16 42 35 77
l35 64 323 53 c393 63 415 73 447 189 20 76 9 97 -196 384 -107 149 -194 277
-194 286 0 24 35 130 46 141 5 5 136 56 292 114 156 58 295 112 310 120 62 32
102 96 102 161 0 77 -21 103 -276 341 l-245 227 6 61 c4 34 8 70 11 81 3 14
93 75 278 188 151 93 283 179 295 191 27 28 51 88 51 126 0 38 -24 98 -51 126
-11 11 -143 97 -294 190 -187 115 -277 175 -280 189 -2 11 -6 47 -10 81 l-6
60 245 228 c255 237 276 263 276 341 0 68 -42 130 -110 164 -19 10 -162 64
-317 122 l-282 104 -21 67 c-11 36 -20 73 -20 80 0 8 84 131 187 274 103 142
193 277 201 299 25 74 -11 169 -80 209 -35 20 -102 34 -360 75 -174 28 -319
51 -321 51 -7 0 -77 129 -77 142 0 6 61 146 136 311 130 286 136 301 132 352
-6 67 -42 125 -95 151 -44 22 -57 22 -448 11 l-280 -9 -48 60 -47 60 76 318
c53 227 74 331 71 362 -5 49 -37 100 -81 130 -62 42 -88 40 -435 -42 l-323
-77 -60 48 -59 48 8 270 c13 423 13 425 -19 472 -16 24 -44 49 -70 62 -81 39
-101 34 -426 -114 -163 -74 -302 -135 -309 -135 -7 0 -41 16 -76 35 l-64 35
-53 323 c-63 393 -73 415 -189 447 -76 20 -97 9 -384 -196 -149 -107 -277
-194 -286 -194 -24 0 -130 35 -141 46 -5 5 -56 136 -114 292 -58 156 -112 295
-120 310 -32 62 -96 102 -161 102 -77 0 -103 -21 -341 -276 l-227 -245 -61 6
c-34 4 -70 8 -81 11 -13 3 -72 89 -180 266 -88 143 -171 274 -184 290 -53 64
-140 84 -217 49z m186 -1136 c154 -54 261 -221 247 -387 -11 -134 -95 -256
-216 -316 -50 -24 -67 -27 -161 -27 -94 0 -111 3 -161 27 -121 60 -205 182
-216 316 -19 226 173 423 397 408 36 -3 85 -12 110 -21z m-662 -935 c266 -280
318 -330 368 -354 108 -53 245 -44 341 21 22 15 190 171 373 346 l332 319 37
-7 c20 -3 117 -26 216 -50 701 -172 1335 -493 1895 -961 133 -110 383 -356
510 -500 101 -116 260 -316 260 -328 0 -3 -438 -7 -972 -8 l-973 -3 -3 -592
-2 -593 275 0 c151 0 275 -3 275 -8 0 -13 -559 -2206 -567 -2224 -6 -12 -134
343 -398 1093 -214 611 -391 1117 -393 1125 -3 12 40 14 277 14 l281 0 0 595
0 595 -1390 0 -1390 0 0 -595 0 -595 280 0 c154 0 280 -2 280 -5 0 -10 -630
-2240 -639 -2260 -8 -19 -130 343 -662 1960 -50 154 -94 286 -96 293 -4 9 56
12 281 12 l286 0 -2 593 -3 592 -1158 5 -1159 5 82 107 c95 125 282 329 466
508 559 544 1271 948 2029 1150 141 38 325 79 341 77 6 -1 151 -148 322 -327z
m-3877 -2494 c75 -17 134 -53 192 -115 74 -79 91 -126 92 -251 0 -99 -2 -109
-32 -171 -39 -79 -102 -140 -181 -177 -50 -24 -70 -27 -157 -27 -87 0 -107 3
-157 27 -235 110 -296 421 -119 605 98 102 228 141 362 109z m9030 -20 c107
-25 202 -102 256 -206 25 -50 28 -65 28 -160 0 -93 -3 -112 -27 -162 -34 -74
-112 -152 -186 -186 -50 -24 -69 -27 -157 -27 -87 0 -107 3 -157 27 -114 53
-195 160 -218 286 -39 220 139 436 365 441 22 0 65 -5 96 -13z m-394 -1090
c241 -107 443 -203 450 -213 8 -12 16 -101 23 -243 30 -618 -67 -1250 -282
-1835 -153 -417 -394 -855 -657 -1195 -76 -98 -323 -381 -377 -432 l-29 -27
-415 90 c-357 78 -425 90 -486 86 -121 -7 -236 -85 -286 -195 -11 -24 -64
-250 -118 -504 -55 -253 -100 -461 -102 -462 -10 -7 -138 -60 -223 -94 -1014
-399 -2176 -425 -3211 -71 -257 88 -463 177 -469 203 -3 12 -48 221 -100 466
-56 261 -104 463 -117 489 -30 62 -98 128 -164 158 -103 47 -127 45 -580 -52
l-409 -88 -84 89 c-385 409 -706 911 -923 1449 -207 511 -328 1143 -328 1713
0 182 20 475 33 489 7 6 187 89 402 183 324 142 391 168 400 156 5 -8 300
-833 655 -1835 l645 -1821 1037 0 1037 0 15 53 c8 28 118 455 246 947 127 492
234 903 238 913 4 11 107 -327 286 -948 l279 -965 1046 2 1045 3 537 1840
c296 1012 538 1841 538 1843 2 6 33 -8 448 -192z m-6884 -4274 c80 -37 145
-101 184 -180 25 -51 28 -67 28 -162 0 -95 -3 -111 -28 -162 -84 -170 -275
-255 -454 -199 -164 51 -266 189 -266 361 0 279 284 460 536 342z m5629 -14
c295 -136 295 -552 0 -691 -60 -28 -77 -32 -157 -32 -80 0 -97 4 -155 31 -80
38 -149 105 -187 182 -25 51 -28 67 -28 162 0 87 4 113 22 153 46 99 126 173
228 210 74 26 201 19 277 -15z"/>
</g>
</svg>;
}
+5
View File
@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
+7
View File
@@ -0,0 +1,7 @@
const withNextra = require('nextra')({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.tsx',
basePath: "/index"
})
module.exports = withNextra()
+5721
View File
File diff suppressed because it is too large Load Diff
+33
View File
@@ -0,0 +1,33 @@
{
"name": "nextra-docs-template",
"version": "0.0.1",
"description": "Nextra docs template",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
},
"repository": {
"type": "git",
"url": "git+https://github.com/shuding/nextra-docs-template.git"
},
"author": "Shu Ding <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/shuding/nextra-docs-template/issues"
},
"homepage": "https://github.com/shuding/nextra-docs-template#readme",
"dependencies": {
"@types/got": "^9.6.12",
"next": "^13.0.6",
"nextra": "latest",
"nextra-theme-docs": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-grid-layout-next": "^2.2.0"
},
"devDependencies": {
"@types/node": "^18.11.10",
"typescript": "^4.9.3"
}
}
+14
View File
@@ -0,0 +1,14 @@
{
"index": {
"title": "Home",
"type": "page"
},
"docs": {
"title": "Docs",
"type": "page"
},
"packages": {
"title": "Packages",
"type": "page"
}
}
+55
View File
@@ -0,0 +1,55 @@
.grid {
display: grid;
gap: 10px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
margin-top: 20px;
}
.gridItem {
color: var(--text-color-light);
border: 1px solid var(--shiki-color-ansi-black-dim);
padding: 20px;
text-align: center;
}
.gridItem:hover {
color: #0366d6;
background-color: #1976d21c;
cursor: pointer;
}
.pkgTitle {
font-weight: bold;
}
.pkgVersion {
font-size: 12px;
font-weight:700;
}
.searchBox {
padding: 8px;
font-size: 16px;
outline: none;
transition: border-color 0.3s ease;
height: 40px;
border-radius: 10px;
border: 1px solid #005cc523;
}
.pageBtn {
background-color: var(--background-color-light);
color: var(--text-color-light);
width: 30px;
height: 30px;
}
.pageBtn:hover {
background-color: #1976d234;
}
+9
View File
@@ -0,0 +1,9 @@
import Image from 'next/image';
import styles from './Home.module.css';
export default function Home() {
return <>
<h1 style={{textAlign: "center", fontSize: "40px", fontWeight: "bold"}}>Wyst</h1>
<h1 style={{textAlign: "center", fontSize: "27px", fontWeight: "revert"}}>A Modern Low Level Language</h1>
</>
}
+84
View File
@@ -0,0 +1,84 @@
import { useEffect, useState } from 'react'
import { useTheme } from 'nextra-theme-docs';
import styles from './Packages.module.css';
const Packages = () => {
const [CurrentSearchQuery, setCurrentSearchQuery] = useState('*');
const [currentSearch, setCurrentSearch] = useState([]);
const [currentPage, setCurrentPage] = useState(1);
const handleSearchChange = async (value) => {
if (value === "") {setCurrentSearch([]);return;}
// https://pms-xdib.onrender.com
const response = await fetch(`https://pms-xdib.onrender.com/search/${value}/${currentPage}`);
const data = await response.json();
if (data && data.items) {
if (data.items.length === 0 && currentPage > 1) {
setCurrentPage(currentPage - 1);
return;
}
const items = data.items.map((item, i) => {
return (
<a className={styles.gridItem} key={i} href={item.repo} target="_blank">
<h1 className={styles.pkgTitle}>{item.name}</h1>
<h4 className={styles.pkgVersion}>{item.version}</h4>
</a>
)
});
setCurrentSearch(items);
}
};
const filters = <input type="text" className={styles.searchBox} placeholder='Search packages' onChange={(event) => {setCurrentSearchQuery(event.target.value)}} />;
const handlePrevClick = () => {
setCurrentPage(prev => prev > 1 ? prev-1 : prev);
};
const handleNextClick = () => {
setCurrentPage(prev => prev+1);
};
useEffect(() => {
const ac = setTimeout(() => {handleSearchChange(CurrentSearchQuery!=='' ? CurrentSearchQuery : '*')}, 600);
return () => {
clearTimeout(ac);
}
}, [CurrentSearchQuery]);
useEffect(() => {
const ac = setTimeout(() => {
handleSearchChange(CurrentSearchQuery);
}, 300);
return () => {
clearTimeout(ac);
}
}, [currentPage]);
return (
<>
{filters}
<div>
<div className={styles.grid} style={{ gridTemplateColumns: `repeat(${3}, 1fr)` }}>
{currentSearch}
</div>
</div>
<div style={{ display: 'flex', justifyContent: 'center', alignItems: 'center', marginTop: "20px" }}>
<button
className={styles.pageBtn}
onClick={handlePrevClick}
style={{marginRight: "20px"}}
>
{"<"}
</button>
<button
className={styles.pageBtn}
onClick={handleNextClick}
>
{">"}
</button>
</div>
</>
);
};
export default Packages;
+3
View File
@@ -0,0 +1,3 @@
{
"index": "Introduction"
}
+11
View File
@@ -0,0 +1,11 @@
# Defining functions
```c
int my_func(int x) {
printf("the number is: %d", x)
}
```
# Calling functions
```c
my_func(69);
```
+11
View File
@@ -0,0 +1,11 @@
# Introduction
Welcome to Nextra! This is a basic docs template. You can use it as a starting point for your own project :)
## What is Nextra?
A **simple**, **powerful** and **flexible** site generation framework with everything you love from Next.js.
## Documentation
The documentation is available at [https://nextra.site](https://nextra.site).
+23
View File
@@ -0,0 +1,23 @@
# Defining a structure
```c
struct Point {
int x;
int y;
int z;
}
```
# Using a structure as a variable
```rust
Point my_point { x: 0, y: 10, z: 20 };
```
# Using a structure
```rust
Point { x: 30, y: 40, z: 50 }
```
# Getting items from a structure
```rust
my_point.x
```
+3
View File
@@ -0,0 +1,3 @@
import Home from './components/home'
<Home/>
+3
View File
@@ -0,0 +1,3 @@
import Packages from './components/packages'
<Packages/>
+6
View File
@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" viewBox="0 0 700 700" width="700" height="700" opacity="1"><defs><linearGradient gradientTransform="rotate(150, 0.5, 0.5)" x1="50%" y1="0%" x2="50%" y2="100%" id="ffflux-gradient"><stop stop-color="hsl(0, 0%, 0%)" stop-opacity="1" offset="0%"></stop><stop stop-color="hsl(0, 0%, 0%)" stop-opacity="1" offset="100%"></stop></linearGradient><filter id="ffflux-filter" x="-20%" y="-20%" width="140%" height="140%" filterUnits="objectBoundingBox" primitiveUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feTurbulence type="fractalNoise" baseFrequency="0.001 0.002" numOctaves="2" seed="327" stitchTiles="stitch" x="0%" y="0%" width="100%" height="100%" result="turbulence"></feTurbulence>
<feGaussianBlur stdDeviation="100 100" x="0%" y="0%" width="100%" height="100%" in="turbulence" edgeMode="duplicate" result="blur"></feGaussianBlur>
<feBlend mode="color-dodge" x="0%" y="0%" width="100%" height="100%" in="SourceGraphic" in2="blur" result="blend"></feBlend>
</filter></defs><rect width="700" height="700" fill="url(#ffflux-gradient)" filter="url(#ffflux-filter)"></rect></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

+100
View File
@@ -0,0 +1,100 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="1280.000000pt" height="1280.000000pt" viewBox="0 0 1280.000000 1280.000000"
preserveAspectRatio="xMidYMid meet">
<g transform="translate(0.000000,1280.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M6324 12781 c-22 -10 -50 -31 -62 -46 -12 -15 -97 -149 -188 -296
-162 -262 -167 -269 -199 -269 -18 0 -52 -3 -76 -6 l-44 -6 -228 245 c-239
256 -264 277 -343 277 -19 0 -49 -6 -67 -14 -66 -27 -87 -67 -208 -389 l-114
-306 -67 -21 c-36 -11 -73 -20 -80 -20 -8 0 -131 84 -274 187 -142 103 -277
193 -299 201 -48 16 -95 9 -151 -23 -68 -40 -78 -73 -134 -420 -28 -171 -50
-313 -50 -317 0 -8 -127 -78 -143 -78 -7 0 -146 61 -310 136 -287 131 -301
136 -352 132 -67 -6 -125 -42 -151 -95 -22 -44 -22 -62 -11 -453 l9 -275 -60
-48 -60 -47 -323 76 c-347 82 -373 84 -435 42 -17 -12 -40 -35 -52 -53 -42
-61 -39 -95 42 -435 l74 -315 -41 -52 -42 -52 -81 -1 c-45 0 -195 5 -333 11
-188 7 -261 7 -287 -1 -80 -27 -133 -104 -134 -194 0 -43 19 -92 136 -347
l135 -297 -31 -62 c-17 -33 -36 -63 -43 -65 -7 -3 -156 -27 -332 -55 -312 -49
-365 -63 -365 -95 0 -8 -4 -15 -10 -15 -14 0 -58 -80 -65 -120 -4 -21 -1 -52
7 -75 8 -22 98 -156 201 -299 103 -142 187 -265 187 -273 0 -8 -9 -45 -20 -81
l-21 -67 -306 -114 c-322 -121 -362 -142 -389 -208 -8 -18 -14 -48 -14 -67 0
-79 21 -105 272 -338 l240 -223 -7 -70 c-4 -38 -7 -70 -8 -70 -14 -4 -77 -59
-77 -68 0 -7 -106 -77 -235 -156 -129 -80 -244 -154 -254 -165 -27 -29 -51
-89 -51 -126 0 -38 24 -98 51 -126 11 -12 144 -97 295 -190 185 -114 275 -175
278 -189 3 -11 7 -47 11 -81 l6 -61 -245 -228 c-255 -237 -276 -262 -276 -340
0 -64 40 -129 101 -161 15 -7 154 -61 310 -119 155 -57 287 -109 293 -115 11
-11 46 -117 46 -141 0 -9 -87 -137 -194 -286 -205 -287 -216 -308 -196 -384
32 -116 54 -126 447 -189 l323 -53 35 -64 c19 -35 35 -69 35 -77 0 -7 -61
-145 -135 -307 -148 -323 -154 -344 -114 -427 13 -26 38 -54 62 -70 47 -32 49
-32 472 -19 l270 9 48 -60 47 -60 -76 -318 c-53 -226 -74 -331 -71 -362 8 -79
80 -151 159 -159 31 -3 136 18 362 71 l318 76 60 -47 60 -48 -9 -280 c-11
-391 -11 -404 11 -448 26 -53 84 -89 151 -95 51 -4 66 2 352 132 165 75 305
136 311 136 15 0 142 -70 142 -78 0 -3 23 -148 51 -322 41 -256 56 -323 75
-358 40 -69 135 -105 209 -80 22 8 156 98 299 201 142 103 265 187 273 187 8
0 45 -9 81 -20 l67 -21 114 -306 c121 -322 142 -362 208 -389 18 -8 48 -14 67
-14 79 0 104 20 342 276 l227 245 61 -6 c34 -4 70 -8 81 -10 14 -3 74 -93 189
-280 93 -151 179 -284 190 -294 54 -51 141 -64 205 -31 53 27 65 43 246 338
108 177 167 263 180 266 11 3 47 7 81 11 l61 6 227 -245 c238 -255 264 -276
341 -276 65 0 129 40 161 102 8 15 61 154 119 310 58 155 110 287 115 292 11
11 117 46 141 46 9 0 117 -73 240 -161 328 -237 322 -233 383 -233 69 0 122
28 156 80 23 37 33 83 80 368 l52 326 65 35 c35 19 69 35 77 35 7 0 145 -61
307 -135 246 -113 302 -135 342 -135 63 0 120 30 154 82 33 49 32 44 20 468
l-8 275 60 47 60 48 317 -75 c175 -41 331 -75 348 -75 46 0 111 37 141 80 46
67 44 93 -39 443 l-76 318 48 60 47 60 270 -8 c423 -13 425 -13 472 19 24 16
49 44 62 70 40 83 34 104 -114 427 -74 162 -135 300 -135 307 0 8 16 42 35 77
l35 64 323 53 c393 63 415 73 447 189 20 76 9 97 -196 384 -107 149 -194 277
-194 286 0 24 35 130 46 141 5 5 136 56 292 114 156 58 295 112 310 120 62 32
102 96 102 161 0 77 -21 103 -276 341 l-245 227 6 61 c4 34 8 70 11 81 3 14
93 75 278 188 151 93 283 179 295 191 27 28 51 88 51 126 0 38 -24 98 -51 126
-11 11 -143 97 -294 190 -187 115 -277 175 -280 189 -2 11 -6 47 -10 81 l-6
60 245 228 c255 237 276 263 276 341 0 68 -42 130 -110 164 -19 10 -162 64
-317 122 l-282 104 -21 67 c-11 36 -20 73 -20 80 0 8 84 131 187 274 103 142
193 277 201 299 25 74 -11 169 -80 209 -35 20 -102 34 -360 75 -174 28 -319
51 -321 51 -7 0 -77 129 -77 142 0 6 61 146 136 311 130 286 136 301 132 352
-6 67 -42 125 -95 151 -44 22 -57 22 -448 11 l-280 -9 -48 60 -47 60 76 318
c53 227 74 331 71 362 -5 49 -37 100 -81 130 -62 42 -88 40 -435 -42 l-323
-77 -60 48 -59 48 8 270 c13 423 13 425 -19 472 -16 24 -44 49 -70 62 -81 39
-101 34 -426 -114 -163 -74 -302 -135 -309 -135 -7 0 -41 16 -76 35 l-64 35
-53 323 c-63 393 -73 415 -189 447 -76 20 -97 9 -384 -196 -149 -107 -277
-194 -286 -194 -24 0 -130 35 -141 46 -5 5 -56 136 -114 292 -58 156 -112 295
-120 310 -32 62 -96 102 -161 102 -77 0 -103 -21 -341 -276 l-227 -245 -61 6
c-34 4 -70 8 -81 11 -13 3 -72 89 -180 266 -88 143 -171 274 -184 290 -53 64
-140 84 -217 49z m186 -1136 c154 -54 261 -221 247 -387 -11 -134 -95 -256
-216 -316 -50 -24 -67 -27 -161 -27 -94 0 -111 3 -161 27 -121 60 -205 182
-216 316 -19 226 173 423 397 408 36 -3 85 -12 110 -21z m-662 -935 c266 -280
318 -330 368 -354 108 -53 245 -44 341 21 22 15 190 171 373 346 l332 319 37
-7 c20 -3 117 -26 216 -50 701 -172 1335 -493 1895 -961 133 -110 383 -356
510 -500 101 -116 260 -316 260 -328 0 -3 -438 -7 -972 -8 l-973 -3 -3 -592
-2 -593 275 0 c151 0 275 -3 275 -8 0 -13 -559 -2206 -567 -2224 -6 -12 -134
343 -398 1093 -214 611 -391 1117 -393 1125 -3 12 40 14 277 14 l281 0 0 595
0 595 -1390 0 -1390 0 0 -595 0 -595 280 0 c154 0 280 -2 280 -5 0 -10 -630
-2240 -639 -2260 -8 -19 -130 343 -662 1960 -50 154 -94 286 -96 293 -4 9 56
12 281 12 l286 0 -2 593 -3 592 -1158 5 -1159 5 82 107 c95 125 282 329 466
508 559 544 1271 948 2029 1150 141 38 325 79 341 77 6 -1 151 -148 322 -327z
m-3877 -2494 c75 -17 134 -53 192 -115 74 -79 91 -126 92 -251 0 -99 -2 -109
-32 -171 -39 -79 -102 -140 -181 -177 -50 -24 -70 -27 -157 -27 -87 0 -107 3
-157 27 -235 110 -296 421 -119 605 98 102 228 141 362 109z m9030 -20 c107
-25 202 -102 256 -206 25 -50 28 -65 28 -160 0 -93 -3 -112 -27 -162 -34 -74
-112 -152 -186 -186 -50 -24 -69 -27 -157 -27 -87 0 -107 3 -157 27 -114 53
-195 160 -218 286 -39 220 139 436 365 441 22 0 65 -5 96 -13z m-394 -1090
c241 -107 443 -203 450 -213 8 -12 16 -101 23 -243 30 -618 -67 -1250 -282
-1835 -153 -417 -394 -855 -657 -1195 -76 -98 -323 -381 -377 -432 l-29 -27
-415 90 c-357 78 -425 90 -486 86 -121 -7 -236 -85 -286 -195 -11 -24 -64
-250 -118 -504 -55 -253 -100 -461 -102 -462 -10 -7 -138 -60 -223 -94 -1014
-399 -2176 -425 -3211 -71 -257 88 -463 177 -469 203 -3 12 -48 221 -100 466
-56 261 -104 463 -117 489 -30 62 -98 128 -164 158 -103 47 -127 45 -580 -52
l-409 -88 -84 89 c-385 409 -706 911 -923 1449 -207 511 -328 1143 -328 1713
0 182 20 475 33 489 7 6 187 89 402 183 324 142 391 168 400 156 5 -8 300
-833 655 -1835 l645 -1821 1037 0 1037 0 15 53 c8 28 118 455 246 947 127 492
234 903 238 913 4 11 107 -327 286 -948 l279 -965 1046 2 1045 3 537 1840
c296 1012 538 1841 538 1843 2 6 33 -8 448 -192z m-6884 -4274 c80 -37 145
-101 184 -180 25 -51 28 -67 28 -162 0 -95 -3 -111 -28 -162 -84 -170 -275
-255 -454 -199 -164 51 -266 189 -266 361 0 279 284 460 536 342z m5629 -14
c295 -136 295 -552 0 -691 -60 -28 -77 -32 -157 -32 -80 0 -97 4 -155 31 -80
38 -149 105 -187 182 -25 51 -28 67 -28 162 0 87 4 113 22 153 46 99 126 173
228 210 74 26 201 19 277 -15z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.9 KiB

+100
View File
@@ -0,0 +1,100 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="1280.000000pt" height="1280.000000pt" viewBox="0 0 1280.000000 1280.000000"
preserveAspectRatio="xMidYMid meet">
<g transform="translate(0.000000,1280.000000) scale(0.100000,-0.100000)"
fill="#fff" stroke="none">
<path d="M6324 12781 c-22 -10 -50 -31 -62 -46 -12 -15 -97 -149 -188 -296
-162 -262 -167 -269 -199 -269 -18 0 -52 -3 -76 -6 l-44 -6 -228 245 c-239
256 -264 277 -343 277 -19 0 -49 -6 -67 -14 -66 -27 -87 -67 -208 -389 l-114
-306 -67 -21 c-36 -11 -73 -20 -80 -20 -8 0 -131 84 -274 187 -142 103 -277
193 -299 201 -48 16 -95 9 -151 -23 -68 -40 -78 -73 -134 -420 -28 -171 -50
-313 -50 -317 0 -8 -127 -78 -143 -78 -7 0 -146 61 -310 136 -287 131 -301
136 -352 132 -67 -6 -125 -42 -151 -95 -22 -44 -22 -62 -11 -453 l9 -275 -60
-48 -60 -47 -323 76 c-347 82 -373 84 -435 42 -17 -12 -40 -35 -52 -53 -42
-61 -39 -95 42 -435 l74 -315 -41 -52 -42 -52 -81 -1 c-45 0 -195 5 -333 11
-188 7 -261 7 -287 -1 -80 -27 -133 -104 -134 -194 0 -43 19 -92 136 -347
l135 -297 -31 -62 c-17 -33 -36 -63 -43 -65 -7 -3 -156 -27 -332 -55 -312 -49
-365 -63 -365 -95 0 -8 -4 -15 -10 -15 -14 0 -58 -80 -65 -120 -4 -21 -1 -52
7 -75 8 -22 98 -156 201 -299 103 -142 187 -265 187 -273 0 -8 -9 -45 -20 -81
l-21 -67 -306 -114 c-322 -121 -362 -142 -389 -208 -8 -18 -14 -48 -14 -67 0
-79 21 -105 272 -338 l240 -223 -7 -70 c-4 -38 -7 -70 -8 -70 -14 -4 -77 -59
-77 -68 0 -7 -106 -77 -235 -156 -129 -80 -244 -154 -254 -165 -27 -29 -51
-89 -51 -126 0 -38 24 -98 51 -126 11 -12 144 -97 295 -190 185 -114 275 -175
278 -189 3 -11 7 -47 11 -81 l6 -61 -245 -228 c-255 -237 -276 -262 -276 -340
0 -64 40 -129 101 -161 15 -7 154 -61 310 -119 155 -57 287 -109 293 -115 11
-11 46 -117 46 -141 0 -9 -87 -137 -194 -286 -205 -287 -216 -308 -196 -384
32 -116 54 -126 447 -189 l323 -53 35 -64 c19 -35 35 -69 35 -77 0 -7 -61
-145 -135 -307 -148 -323 -154 -344 -114 -427 13 -26 38 -54 62 -70 47 -32 49
-32 472 -19 l270 9 48 -60 47 -60 -76 -318 c-53 -226 -74 -331 -71 -362 8 -79
80 -151 159 -159 31 -3 136 18 362 71 l318 76 60 -47 60 -48 -9 -280 c-11
-391 -11 -404 11 -448 26 -53 84 -89 151 -95 51 -4 66 2 352 132 165 75 305
136 311 136 15 0 142 -70 142 -78 0 -3 23 -148 51 -322 41 -256 56 -323 75
-358 40 -69 135 -105 209 -80 22 8 156 98 299 201 142 103 265 187 273 187 8
0 45 -9 81 -20 l67 -21 114 -306 c121 -322 142 -362 208 -389 18 -8 48 -14 67
-14 79 0 104 20 342 276 l227 245 61 -6 c34 -4 70 -8 81 -10 14 -3 74 -93 189
-280 93 -151 179 -284 190 -294 54 -51 141 -64 205 -31 53 27 65 43 246 338
108 177 167 263 180 266 11 3 47 7 81 11 l61 6 227 -245 c238 -255 264 -276
341 -276 65 0 129 40 161 102 8 15 61 154 119 310 58 155 110 287 115 292 11
11 117 46 141 46 9 0 117 -73 240 -161 328 -237 322 -233 383 -233 69 0 122
28 156 80 23 37 33 83 80 368 l52 326 65 35 c35 19 69 35 77 35 7 0 145 -61
307 -135 246 -113 302 -135 342 -135 63 0 120 30 154 82 33 49 32 44 20 468
l-8 275 60 47 60 48 317 -75 c175 -41 331 -75 348 -75 46 0 111 37 141 80 46
67 44 93 -39 443 l-76 318 48 60 47 60 270 -8 c423 -13 425 -13 472 19 24 16
49 44 62 70 40 83 34 104 -114 427 -74 162 -135 300 -135 307 0 8 16 42 35 77
l35 64 323 53 c393 63 415 73 447 189 20 76 9 97 -196 384 -107 149 -194 277
-194 286 0 24 35 130 46 141 5 5 136 56 292 114 156 58 295 112 310 120 62 32
102 96 102 161 0 77 -21 103 -276 341 l-245 227 6 61 c4 34 8 70 11 81 3 14
93 75 278 188 151 93 283 179 295 191 27 28 51 88 51 126 0 38 -24 98 -51 126
-11 11 -143 97 -294 190 -187 115 -277 175 -280 189 -2 11 -6 47 -10 81 l-6
60 245 228 c255 237 276 263 276 341 0 68 -42 130 -110 164 -19 10 -162 64
-317 122 l-282 104 -21 67 c-11 36 -20 73 -20 80 0 8 84 131 187 274 103 142
193 277 201 299 25 74 -11 169 -80 209 -35 20 -102 34 -360 75 -174 28 -319
51 -321 51 -7 0 -77 129 -77 142 0 6 61 146 136 311 130 286 136 301 132 352
-6 67 -42 125 -95 151 -44 22 -57 22 -448 11 l-280 -9 -48 60 -47 60 76 318
c53 227 74 331 71 362 -5 49 -37 100 -81 130 -62 42 -88 40 -435 -42 l-323
-77 -60 48 -59 48 8 270 c13 423 13 425 -19 472 -16 24 -44 49 -70 62 -81 39
-101 34 -426 -114 -163 -74 -302 -135 -309 -135 -7 0 -41 16 -76 35 l-64 35
-53 323 c-63 393 -73 415 -189 447 -76 20 -97 9 -384 -196 -149 -107 -277
-194 -286 -194 -24 0 -130 35 -141 46 -5 5 -56 136 -114 292 -58 156 -112 295
-120 310 -32 62 -96 102 -161 102 -77 0 -103 -21 -341 -276 l-227 -245 -61 6
c-34 4 -70 8 -81 11 -13 3 -72 89 -180 266 -88 143 -171 274 -184 290 -53 64
-140 84 -217 49z m186 -1136 c154 -54 261 -221 247 -387 -11 -134 -95 -256
-216 -316 -50 -24 -67 -27 -161 -27 -94 0 -111 3 -161 27 -121 60 -205 182
-216 316 -19 226 173 423 397 408 36 -3 85 -12 110 -21z m-662 -935 c266 -280
318 -330 368 -354 108 -53 245 -44 341 21 22 15 190 171 373 346 l332 319 37
-7 c20 -3 117 -26 216 -50 701 -172 1335 -493 1895 -961 133 -110 383 -356
510 -500 101 -116 260 -316 260 -328 0 -3 -438 -7 -972 -8 l-973 -3 -3 -592
-2 -593 275 0 c151 0 275 -3 275 -8 0 -13 -559 -2206 -567 -2224 -6 -12 -134
343 -398 1093 -214 611 -391 1117 -393 1125 -3 12 40 14 277 14 l281 0 0 595
0 595 -1390 0 -1390 0 0 -595 0 -595 280 0 c154 0 280 -2 280 -5 0 -10 -630
-2240 -639 -2260 -8 -19 -130 343 -662 1960 -50 154 -94 286 -96 293 -4 9 56
12 281 12 l286 0 -2 593 -3 592 -1158 5 -1159 5 82 107 c95 125 282 329 466
508 559 544 1271 948 2029 1150 141 38 325 79 341 77 6 -1 151 -148 322 -327z
m-3877 -2494 c75 -17 134 -53 192 -115 74 -79 91 -126 92 -251 0 -99 -2 -109
-32 -171 -39 -79 -102 -140 -181 -177 -50 -24 -70 -27 -157 -27 -87 0 -107 3
-157 27 -235 110 -296 421 -119 605 98 102 228 141 362 109z m9030 -20 c107
-25 202 -102 256 -206 25 -50 28 -65 28 -160 0 -93 -3 -112 -27 -162 -34 -74
-112 -152 -186 -186 -50 -24 -69 -27 -157 -27 -87 0 -107 3 -157 27 -114 53
-195 160 -218 286 -39 220 139 436 365 441 22 0 65 -5 96 -13z m-394 -1090
c241 -107 443 -203 450 -213 8 -12 16 -101 23 -243 30 -618 -67 -1250 -282
-1835 -153 -417 -394 -855 -657 -1195 -76 -98 -323 -381 -377 -432 l-29 -27
-415 90 c-357 78 -425 90 -486 86 -121 -7 -236 -85 -286 -195 -11 -24 -64
-250 -118 -504 -55 -253 -100 -461 -102 -462 -10 -7 -138 -60 -223 -94 -1014
-399 -2176 -425 -3211 -71 -257 88 -463 177 -469 203 -3 12 -48 221 -100 466
-56 261 -104 463 -117 489 -30 62 -98 128 -164 158 -103 47 -127 45 -580 -52
l-409 -88 -84 89 c-385 409 -706 911 -923 1449 -207 511 -328 1143 -328 1713
0 182 20 475 33 489 7 6 187 89 402 183 324 142 391 168 400 156 5 -8 300
-833 655 -1835 l645 -1821 1037 0 1037 0 15 53 c8 28 118 455 246 947 127 492
234 903 238 913 4 11 107 -327 286 -948 l279 -965 1046 2 1045 3 537 1840
c296 1012 538 1841 538 1843 2 6 33 -8 448 -192z m-6884 -4274 c80 -37 145
-101 184 -180 25 -51 28 -67 28 -162 0 -95 -3 -111 -28 -162 -84 -170 -275
-255 -454 -199 -164 51 -266 189 -266 361 0 279 284 460 536 342z m5629 -14
c295 -136 295 -552 0 -691 -60 -28 -77 -32 -157 -32 -80 0 -97 4 -155 31 -80
38 -149 105 -187 182 -25 51 -28 67 -28 162 0 87 4 113 22 153 46 99 126 173
228 210 74 26 201 19 277 -15z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.9 KiB

+21
View File
@@ -0,0 +1,21 @@
import React from 'react'
import { DocsThemeConfig, useTheme } from 'nextra-theme-docs'
import Logo from './components/images'
const config: DocsThemeConfig = {
logo: <span><Logo/></span>,
project: {
link: 'https://github.com/wyst-lang/wyst',
},
chat: {
link: 'https://discord.gg/nCePwckd4q',
},
docsRepositoryBase: 'https://github.com/wyst-lang/wyst',
useNextSeoProps() {
return {
titleTemplate: '%s - Wyst'
}
},
}
export default config
+20
View File
@@ -0,0 +1,20 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"incremental": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx",],
"exclude": ["node_modules"]
}