-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 0849fc6 Author: envilion s. <[email protected]> Date: Sun Feb 4 19:07:33 2024 +0700 fix: styling on open sidebar button commit 83760be Author: envilion s. <[email protected]> Date: Sun Feb 4 19:04:04 2024 +0700 fix: styling in codeblock commit 46181e3 Author: envilion s. <[email protected]> Date: Sun Feb 4 19:01:35 2024 +0700 feat: create custom runtime commit dec6ee6 Author: envilion s. <[email protected]> Date: Sun Feb 4 15:08:49 2024 +0700 fix: remove unused custom plugin tailwindcss commit 9321eff Author: envilion s. <[email protected]> Date: Sun Feb 4 15:07:31 2024 +0700 fix: global styling & add nav links commit e47aa79 Author: envilion s. <[email protected]> Date: Sun Feb 4 01:50:24 2024 +0700 fix: format command in readme.md commit 4421cb1 Author: envilion s. <[email protected]> Date: Sun Feb 4 01:49:29 2024 +0700 fix: contributing step commit e3c30d2 Author: envilion s. <[email protected]> Date: Sun Feb 4 01:38:33 2024 +0700 fix: readme.md commit 2e2aeaf Author: Wisnu Kristanto <[email protected]> Date: Sun Feb 4 00:03:10 2024 +0700 feat: switch darkmode (#40) * feat: switch darkmode * feat: dark css on landing pages commit dd49b0c Author: Muhammad Dean Fahreza <[email protected]> Date: Sat Feb 3 23:39:34 2024 +0700 docs: Mempebaharui dokumentasi (#39) commit fb05669 Author: envilion s. <[email protected]> Date: Sat Feb 3 19:56:57 2024 +0700 feat: new syntax highlighting commit a0a5faf Author: envilion s. <[email protected]> Date: Sat Feb 3 17:39:38 2024 +0700 feat: add featured links in sidebar commit 50d503f Author: envil a.k.a pow <[email protected]> Date: Wed Jan 31 00:24:27 2024 +0700 fix: ignore package-lock.json file (#32) * fix: ignore package-lock.json file * fix: remove package-lock.json commit b65be51 Author: dherlyar <[email protected]> Date: Tue Jan 30 20:43:02 2024 +0700 Docs: instalasi minimal versi python ke 3.11.6 commit adce6f7 Author: dherlyar <[email protected]> Date: Tue Jan 30 20:31:54 2024 +0700 Docs: instalasi pip install commit 1bd953e Author: envil a.k.a pow <[email protected]> Date: Mon Jan 29 21:09:41 2024 +0700 docs: remove instalasi & informasi module link (#26) commit 03b6b4b Author: dherlyar <[email protected]> Date: Thu Jan 25 11:40:51 2024 +0700 docs: instalasi commit c7504f0 Author: dherlyar <[email protected]> Date: Thu Jan 25 10:51:29 2024 +0700 docs: commit 39faa3c Author: dherlyar <[email protected]> Date: Wed Jan 24 13:29:37 2024 +0700 ubah kode sumber commit e1bf2a6 Author: dherlyar <[email protected]> Date: Wed Jan 24 13:23:30 2024 +0700 docs: standar_deviasi & entropy ubah kode sumber standar_deviasi & entropy commit 7fcc67c Author: dherlyar <[email protected]> Date: Wed Jan 24 13:11:52 2024 +0700 docs: commit ce46eec Author: dherlyar <[email protected]> Date: Wed Jan 24 13:06:31 2024 +0700 docs: entropy menambahkan dokumentasi entropy commit b2ddd18 Author: dherlyar <[email protected]> Date: Wed Jan 24 12:25:35 2024 +0700 docs: entropy menambahkan dokumentasi entropy commit c9aacb6 Author: envil a.k.a pow <[email protected]> Date: Tue Jan 23 20:06:32 2024 +0700 feat: embel replit (#13) commit 8e544ed Author: envil a.k.a pow <[email protected]> Date: Tue Jan 23 19:41:51 2024 +0700 feat: fix responsive design landing page (#12) commit 4c63c46 Author: envilion s <[email protected]> Date: Tue Jan 23 19:18:43 2024 +0700 feat: compress img
- Loading branch information
envil a.k.a pow
committed
Feb 4, 2024
1 parent
dd1bfb4
commit 351628d
Showing
32 changed files
with
657 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
20.11.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,84 @@ | ||
# OpenSeries Web | ||
# Website OpenSeries | ||
|
||
Selamat datang di repositori OpenSeries! Repositori ini berisi kode sumber untuk website OpenSeries. Kami menggunakan runtime dan package manager dari Bun, jadi jika Anda ingin berkontribusi, pastikan untuk menginstal Bun terlebih dahulu dengan mengacu pada dokumentasi resmi di https://bun.sh/. | ||
|
||
## Memulai | ||
|
||
Untuk berkontribusi pada website OpenSeries, ikuti langkah-langkah berikut: | ||
|
||
1. Fork repositori ini di GitHub. | ||
|
||
2. Clone repositori yang telah di-fork ke mesin lokal Anda: | ||
|
||
```bash | ||
git clone https://github.com/nama-anda/OpenSeries.git | ||
``` | ||
|
||
3. Pindah ke direktori proyek: | ||
|
||
```bash | ||
cd OpenSeries | ||
``` | ||
|
||
4. Pastikan branch Anda diatur ke `develop`: | ||
|
||
```bash | ||
git checkout develop | ||
``` | ||
|
||
5. Buat branch baru untuk fitur atau perbaikan bug: | ||
|
||
```bash | ||
git checkout -b nama-fitur | ||
``` | ||
|
||
## Alur Pengembangan | ||
|
||
1. Instal paket yang diperlukan menggunakan Bun: | ||
|
||
```bash | ||
bun install | ||
``` | ||
|
||
2. Jalankan proyek menggunakan Bun: | ||
|
||
```bash | ||
bun dev | ||
``` | ||
|
||
3. Sebelum melakukan commit, jalankan linter Bun untuk memastikan kualitas kode: | ||
|
||
```bash | ||
bun lint | ||
``` | ||
|
||
4. Format kode menggunakan Bun Prettier: | ||
|
||
```bash | ||
bun format | ||
``` | ||
|
||
5. Lakukan commit perubahan Anda dengan menggunakan salah satu awalan pesan commit berikut: | ||
|
||
- `feat:` untuk fitur baru | ||
- `fix:` untuk perbaikan bug | ||
- `docs:` untuk perubahan dokumentasi | ||
- `add:` untuk menambahkan file atau aset | ||
|
||
Contoh commit: | ||
|
||
```bash | ||
git commit -m "feat: menambahkan fitur baru" | ||
``` | ||
|
||
## Pull Request | ||
|
||
Setelah membuat perubahan, dorong branch ke fork Anda di GitHub dan buat pull request yang dituju ke branch develop repositori ini. | ||
|
||
## Kontributor | ||
|
||
Terima kasih kepada semua kontributor yang telah membantu meningkatkan website OpenSeries! Jika Anda tertarik berkontribusi, silakan fork repositori ini dan kirim pull request ke branch develop. | ||
|
||
## Lisensi | ||
|
||
Proyek ini dilisensikan di bawah Lisensi MIT. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
"use client"; | ||
|
||
import { useNavStyle } from "@/hooks/useNavStyle"; | ||
import { ReactNode, useEffect } from "react"; | ||
|
||
type Props = { | ||
children: ReactNode; | ||
}; | ||
|
||
const Layout = ({ children }: Props) => { | ||
const { setLandingStyles } = useNavStyle(); | ||
|
||
useEffect(() => { | ||
setLandingStyles(); | ||
}, [setLandingStyles]); | ||
|
||
return <>{children}</>; | ||
}; | ||
|
||
export default Layout; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,26 @@ | ||
"use client"; | ||
|
||
import Sidebar from "@/components/Sidebar"; | ||
import { useNavStyle } from "@/hooks/useNavStyle"; | ||
import { useEffect } from "react"; | ||
import { PythonProvider } from "react-py"; | ||
|
||
export default function MdxLayout({ children }: { children: React.ReactNode }) { | ||
const { setDocsStyle } = useNavStyle(); | ||
const packages = { | ||
micropip: ["OpenSeriesBellshade"] | ||
}; | ||
|
||
useEffect(() => { | ||
setDocsStyle(); | ||
}, [setDocsStyle]); | ||
|
||
export default async function MdxLayout({ children }: { children: React.ReactNode }) { | ||
return ( | ||
<> | ||
<div className="flex h-dvh max-h-dvh flex-col overflow-hidden"> | ||
<div className="relative flex h-full"> | ||
<Sidebar /> | ||
<main className="prose prose-indigo w-full max-w-none overflow-y-auto rounded-xl p-10 prose-h1:bg-gradient-to-br prose-h1:from-indigo-600 prose-h1:to-rose-400 prose-h1:bg-clip-text prose-h1:text-transparent prose-img:w-full prose-img:rounded-xl"> | ||
{children} | ||
</main> | ||
</div> | ||
</div> | ||
</> | ||
<PythonProvider packages={packages}> | ||
<Sidebar /> | ||
<main className="prose prose-indigo max-w-none overflow-y-auto rounded-xl p-8 dark:prose-invert prose-pre:border prose-img:w-full prose-img:rounded-xl dark:prose-h1:bg-clip-text dark:prose-h1:font-bold dark:prose-pre:border-zinc-700 lg:pl-80"> | ||
{children} | ||
</main> | ||
</PythonProvider> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.