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
9 changed files with 50 additions and 2282 deletions
-84
View File
@@ -1,84 +0,0 @@
name: Deploy Next.js site to Pages
on:
push:
branches: ["master"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
# - name: Install pnpm
# run: npm install -g pnpm
- name: Install Dependencies
run: npm install
- name: Build with Next.js
run: npm run build
- name: Cache Dependencies
uses: actions/cache@v4
with:
path: |
node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node-modules-
- name: Cache Build Output
uses: actions/cache@v4
with:
path: |
.next/cache
key: ${{ runner.os }}-nextjs-build-output-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-nextjs-build-output-
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: nextjs-build
path: .next/
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download Artifacts
uses: actions/download-artifact@v3
with:
name: nextjs-build
path: .
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./next/.next
publish_branch: master # Change this to master if using the master branch for GitHub Pages
allow_empty_commit: false
keep_files: false
force_orphan: false
enable_jekyll: false
disable_nojekyll: false
exclude_assets: .github
+5 -1
View File
@@ -1,5 +1,9 @@
import Image from 'next/image';
import styles from './Home.module.css'; import styles from './Home.module.css';
export default function Home() { export default function Home() {
return <div className={styles.content}></div> 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>
</>
} }
+1 -15
View File
@@ -1,17 +1,3 @@
{ {
"index": "Introduction", "index": "Introduction"
"docs": {
"title": "Docs",
"type": "page"
},
"packages": {
"title": "Packages",
"type": "page"
},
"contact": {
"title": "Contact ↗",
"type": "page",
"href": "https://twitter.com/shuding_",
"newWindow": true
}
} }
+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);
```
+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/>
-2181
View File
File diff suppressed because it is too large Load Diff
+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

+1 -1
View File
@@ -15,7 +15,7 @@ const config: DocsThemeConfig = {
return { return {
titleTemplate: '%s - Wyst' titleTemplate: '%s - Wyst'
} }
} },
} }
export default config export default config