Skip to content

Commit 96b8abd

Browse files
committed
Updated secrets view and secret context
1 parent ea86759 commit 96b8abd

22 files changed

Lines changed: 657 additions & 768 deletions

File tree

‎README.md‎

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
11
# syntax-tm.github.io
22

3-
## Current Deployment
4-
5-
[View](https://syntax-tm.github.io/)
6-
73
## Preview
84

9-
<p align="center">
10-
<img src="docs/preview.webp" alt="Preview" />
11-
</p>
5+
<a href="https://syntax-tm.github.io">
6+
<p align="center">
7+
<img src="docs/preview.webp" alt="Preview" />
8+
</p>
9+
</a>
1210

1311
## Building
1412

15-
This project has been created using **webpack-cli**, you can now run
16-
1713
```sh
18-
yarn build
14+
yarn next build
1915
```
2016

21-
to bundle your application
22-
2317
## Deployment
2418

2519
The site is deployed to [GitHub pages](https://syntax-tm.github.io/) using [GitHub Workflow](/.github/workflows/static.yml).

‎src/app/boot/page.tsx‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
import React, { useEffect } from "react";
44
import { useRouter } from "next/navigation";
5-
import Background from '@components/background/background';
5+
//import Background from '@components/background/background';
6+
import WebGlBackground from '@components/background/webGlBackground';
67
import { useBoot } from '@context/BootContext';
78

89
export default function BootPage() {
@@ -23,7 +24,7 @@ export default function BootPage() {
2324

2425
return (
2526
<div className="root-container relative min-h-screen overflow-hidden pointer-events-auto opacity-100">
26-
<Background />
27+
<WebGlBackground />
2728
</div>
2829
);
2930
}

‎src/app/layout.tsx‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ import { library } from '@fortawesome/fontawesome-svg-core';
77
import { fas } from '@fortawesome/free-solid-svg-icons';
88
import { fab } from '@fortawesome/free-brands-svg-icons';
99
import Providers from "@app/providers";
10+
import LoadingView from "@components/loading/Loading";
1011
import '@fortawesome/fontawesome-svg-core/styles.css';
1112
import "@styles/global.scss";
12-
import { useSecret } from "@src/context/SecretContext";
13-
import localFont from 'next/font/local';
1413

1514
config.autoAddCss = false;
1615

@@ -50,10 +49,16 @@ export default function RootLayout({
5049
children: React.ReactNode;
5150
}>) {
5251

52+
const loadingView = (
53+
<>
54+
<LoadingView />
55+
</>
56+
);
57+
5358
return (
5459
<html lang="en">
5560
<body id="body" className={`${inter.className} text-white`}>
56-
<Suspense>
61+
<Suspense fallback={loadingView}>
5762
<Providers>
5863
{children}
5964
</Providers>

‎src/components/background/psp.svg‎

Lines changed: 0 additions & 103 deletions
This file was deleted.

‎src/components/boot/BootParticles.tsx‎

Lines changed: 0 additions & 90 deletions
This file was deleted.

0 commit comments

Comments
 (0)