Compare commits
58 Commits
378e5aea4e
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 720ed614b1 | |||
| 0ad73e0d3f | |||
| ab9044651c | |||
| 0aa0cc72a7 | |||
| 8c47404d02 | |||
| 3187ff439b | |||
| c0dc4eaca4 | |||
| 0787ece69f | |||
| 7bf6ea44c5 | |||
| 0513ff5585 | |||
| 144a81f8a4 | |||
| 42281ca58e | |||
| df7e0333fe | |||
| 9276918313 | |||
| ebf1435dec | |||
| cddce94945 | |||
| c810952feb | |||
| 544becce29 | |||
| cf0dd009e6 | |||
| 2313b37550 | |||
| 57d4d29e72 | |||
| 66939367b7 | |||
| d365a92ac6 | |||
| 4ce983a7e8 | |||
| 073a270c74 | |||
| 2e1c4da22d | |||
| 92a78a1178 | |||
| 5bcc960704 | |||
| d06e45847e | |||
| 40402267e1 | |||
| a8904c1c46 | |||
| 9a7eb6999a | |||
| 626e5f2130 | |||
| 64a5bac02c | |||
| 3b01218fe9 | |||
| 054c6a8067 | |||
| bf20391e3d | |||
| 605d27d546 | |||
| 7a484672da | |||
| 501c195d79 | |||
| eb07af78b2 | |||
| 2f34411338 | |||
| b255fe9df7 | |||
| c7e86b9f67 | |||
| 90f6509272 | |||
| eccdea5013 | |||
| 98ecd4e984 | |||
| c2ae195cb8 | |||
| fdbc4b1ed8 | |||
| 4be005725a | |||
| 560e3ab225 | |||
|
|
8976f4f9d8 | ||
|
|
cbb6b997e2 | ||
|
|
e61d3525a0 | ||
|
|
2c34229cc0 | ||
| 96834072af | |||
| db845bf6c6 | |||
| e8a8da31ac |
@@ -1,10 +1,16 @@
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches: [master]
|
||||
jobs:
|
||||
image_build:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
packages: write
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Docker buildx setup
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
@@ -13,9 +19,9 @@ jobs:
|
||||
with:
|
||||
registry: gitea.tymur999.com
|
||||
username: tymur999
|
||||
password: ${{ secrets.OCI_REPO_KEY }}
|
||||
password: ${{ secrets.OCI_TOKEN }}
|
||||
|
||||
- name: Build and push rqbit
|
||||
- name: Build and push tymur999.com
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
17
.idea/dataSources.xml
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
||||
<data-source source="LOCAL" name="postgres@tymur999srv" uuid="17303c19-0923-4ed6-ae47-bceb69a2958e">
|
||||
<driver-ref>postgresql</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
|
||||
<jdbc-url>jdbc:postgresql://tymur999srv:5432/postgres</jdbc-url>
|
||||
<jdbc-additional-properties>
|
||||
<property name="com.intellij.clouds.kubernetes.db.host.port" />
|
||||
<property name="com.intellij.clouds.kubernetes.db.enabled" value="false" />
|
||||
<property name="com.intellij.clouds.kubernetes.db.container.port" />
|
||||
</jdbc-additional-properties>
|
||||
<working-dir>$ProjectFileDir$</working-dir>
|
||||
</data-source>
|
||||
</component>
|
||||
</project>
|
||||
6
.idea/jsLibraryMappings.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="JavaScriptLibraryMappings">
|
||||
<includedPredefinedLibrary name="Node.js Core" />
|
||||
</component>
|
||||
</project>
|
||||
2
.idea/watcherTasks.xml
generated
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectTasksOptions" suppressed-tasks="SCSS" />
|
||||
<component name="ProjectTasksOptions" suppressed-tasks="SCSS;Sass" />
|
||||
</project>
|
||||
19
Dockerfile
@@ -1,12 +1,21 @@
|
||||
FROM node:latest AS build
|
||||
|
||||
WORKDIR /blog
|
||||
COPY package.json /blog/
|
||||
RUN npm install
|
||||
|
||||
COPY . /blog/
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:alpine
|
||||
COPY --from=build /blog/build/ /var/www/html/
|
||||
COPY nginx.conf /etc/nginx/
|
||||
FROM docker.io/nginx:trixie
|
||||
RUN useradd tymur999 -u 3000
|
||||
RUN chown tymur999:tymur999 -R /etc/logrotate.d/nginx \
|
||||
/etc/nginx \
|
||||
/etc/init.d/nginx \
|
||||
/usr/lib/nginx \
|
||||
/usr/share/nginx \
|
||||
/var/cache/nginx \
|
||||
/var/log/nginx
|
||||
USER tymur999:tymur999
|
||||
|
||||
COPY --from=build --chown=tymur999:tymur999 /blog/build/ /var/www/html/
|
||||
COPY --link nginx.conf /etc/nginx/
|
||||
EXPOSE 8000
|
||||
51
README.md
@@ -1,46 +1,11 @@
|
||||
# Getting Started with Create React App
|
||||
# Welcome to my [personal website](https://tymur999.com)
|
||||
|
||||
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
||||
## My name is Tymur Arsentiev, and I'm a SEP Intern at JPMorganChase.
|
||||
I was born in Ukraine, but moved to Chicago when I was 4. I'm studying Computer Science at Georgia Tech, which is in Atlanta.
|
||||
|
||||
## Available Scripts
|
||||
I made this personal website to showcase my skills and serve as my own blog.
|
||||
This website is an ejected create-react-app made with React, Typescript, Sass, MDX, and Three.js.
|
||||
|
||||
In the project directory, you can run:
|
||||
|
||||
### `npm start`
|
||||
|
||||
Runs the app in the development mode.\
|
||||
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
|
||||
|
||||
The page will reload if you make edits.\
|
||||
You will also see any lint errors in the console.
|
||||
|
||||
### `npm test`
|
||||
|
||||
Launches the test runner in the interactive watch mode.\
|
||||
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
|
||||
|
||||
### `npm run build`
|
||||
|
||||
Builds the app for production to the `build` folder.\
|
||||
It correctly bundles React in production mode and optimizes the build for the best performance.
|
||||
|
||||
The build is minified and the filenames include the hashes.\
|
||||
Your app is ready to be deployed!
|
||||
|
||||
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
|
||||
|
||||
### `npm run eject`
|
||||
|
||||
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
|
||||
|
||||
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
|
||||
|
||||
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
|
||||
|
||||
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
|
||||
|
||||
## Learn More
|
||||
|
||||
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
||||
|
||||
To learn React, check out the [React documentation](https://reactjs.org/).
|
||||
There is no backend at all, so all the blog articles are served from a Typescript file.
|
||||
All articles are written in MDX to be compatible with React.
|
||||
Yet another site that proves programmers have their midlife crisis and decide to make their own blog.
|
||||
56
k8s.yaml
Normal file
@@ -0,0 +1,56 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata: &metadata
|
||||
name: blog
|
||||
labels: &label
|
||||
app: blog
|
||||
spec:
|
||||
selector:
|
||||
matchLabels: *label
|
||||
template:
|
||||
metadata: *metadata
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: gitea.tymur999.com/tymur999/blog:latest
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
name: http
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: blog
|
||||
labels: &labels
|
||||
app: blog
|
||||
spec:
|
||||
selector: *labels
|
||||
ports:
|
||||
- port: 8000
|
||||
protocol: TCP
|
||||
targetPort: http
|
||||
name: http
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: blog
|
||||
labels:
|
||||
app: blog
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
tls:
|
||||
- hosts:
|
||||
- tymur999.com
|
||||
rules:
|
||||
- host: tymur999.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: blog
|
||||
port:
|
||||
name: http
|
||||
@@ -1,81 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: blog-nginx
|
||||
data:
|
||||
nginx.conf: |
|
||||
worker_processes auto;
|
||||
pid /tmp/nginx.pid;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include mime.types;
|
||||
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
# Prevent nginx HTTP Server Detection
|
||||
server_tokens off;
|
||||
|
||||
keepalive_timeout 65;
|
||||
|
||||
server {
|
||||
server_name tymur999.com;
|
||||
listen 8000;
|
||||
|
||||
# set max upload size and increase upload timeout:
|
||||
client_max_body_size 10G;
|
||||
client_body_timeout 300s;
|
||||
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
|
||||
gzip on;
|
||||
gzip_vary on;
|
||||
gzip_comp_level 4;
|
||||
gzip_min_length 256;
|
||||
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
|
||||
gzip_types application/atom+xml text/javascript application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/wasm application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
|
||||
|
||||
# HTTP response headers borrowed from Nextcloud `.htaccess`
|
||||
add_header Referrer-Policy "no-referrer" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||
add_header X-Permitted-Cross-Domain-Policies "none" always;
|
||||
add_header X-Robots-Tag "noindex, nofollow" always;
|
||||
add_header X-XSS-Protection "1; mode=block" always;
|
||||
|
||||
# Path to the root of your installation
|
||||
root /var/www/html;
|
||||
index index.html;
|
||||
|
||||
location = /robots.txt {
|
||||
allow all;
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
# Serve static files
|
||||
location ~ \.(?:css|js|mjs|svg|gif|ico|jpg|png|webp|wasm|tflite|map|ogg|flac)$ {
|
||||
try_files $uri /index.php$request_uri;
|
||||
add_header Cache-Control "public, max-age=15778463";
|
||||
add_header Referrer-Policy "no-referrer" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||
add_header X-Permitted-Cross-Domain-Policies "none" always;
|
||||
add_header X-Robots-Tag "noindex, nofollow" always;
|
||||
add_header X-XSS-Protection "1; mode=block" always;
|
||||
}
|
||||
|
||||
location ~ \.(otf|woff2?)$ {
|
||||
try_files $uri /index.php$request_uri;
|
||||
expires 7d; # Cache-Control policy borrowed from `.htaccess`
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php$request_uri;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata: &meta
|
||||
name: blog
|
||||
labels: &labels
|
||||
app: blog
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels: *labels
|
||||
template:
|
||||
metadata: *meta
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
protocol: TCP
|
||||
name: http
|
||||
volumeMounts:
|
||||
- mountPath: /var/www/html
|
||||
name: html
|
||||
readOnly: true
|
||||
- mountPath: /etc/nginx/nginx.conf
|
||||
name: nginx-conf
|
||||
subPath: nginx.conf
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: html
|
||||
persistentVolumeClaim:
|
||||
claimName: blog-html
|
||||
- name: nginx-conf
|
||||
configMap:
|
||||
name: blog-nginx
|
||||
items:
|
||||
- key: nginx.conf
|
||||
path: nginx.conf
|
||||
@@ -1,22 +0,0 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: blog
|
||||
labels:
|
||||
app: blog
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
tls:
|
||||
- hosts:
|
||||
- tymur999.com
|
||||
rules:
|
||||
- host: tymur999.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: blog
|
||||
port:
|
||||
name: http
|
||||
@@ -1,11 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: blog-html
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1T
|
||||
volumeName: blog-html
|
||||
@@ -1,13 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: blog
|
||||
labels: &labels
|
||||
app: blog
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
||||
targetPort: http
|
||||
name: http
|
||||
selector: *labels
|
||||
@@ -1,21 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: blog-html
|
||||
spec:
|
||||
capacity:
|
||||
storage: 1T
|
||||
volumeMode: Filesystem
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Delete
|
||||
local:
|
||||
path: /hdd/blog
|
||||
nodeAffinity:
|
||||
required:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: In
|
||||
values:
|
||||
- tymur999srv
|
||||
13
nginx.conf
@@ -1,5 +1,6 @@
|
||||
worker_processes auto;
|
||||
pid /tmp/nginx.pid;
|
||||
user tymur999;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
@@ -53,7 +54,7 @@ http {
|
||||
|
||||
# Serve static files
|
||||
location ~ \.(?:css|js|mjs|svg|gif|ico|jpg|png|webp|wasm|tflite|map|ogg|flac)$ {
|
||||
try_files $uri /index.php$request_uri;
|
||||
try_files $uri @index;
|
||||
add_header Cache-Control "public, max-age=15778463";
|
||||
add_header Referrer-Policy "no-referrer" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
@@ -64,12 +65,18 @@ http {
|
||||
}
|
||||
|
||||
location ~ \.(otf|woff2?)$ {
|
||||
try_files $uri /index.php$request_uri;
|
||||
try_files $uri @index;
|
||||
expires 7d; # Cache-Control policy borrowed from `.htaccess`
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php$request_uri;
|
||||
try_files $uri @index;
|
||||
}
|
||||
|
||||
location @index {
|
||||
add_header Cache-Control no-cache;
|
||||
expires 0;
|
||||
try_files /index.html =404;
|
||||
}
|
||||
}
|
||||
}
|
||||
437
package-lock.json
generated
@@ -15,7 +15,9 @@
|
||||
"@fortawesome/free-regular-svg-icons": "^7.2.0",
|
||||
"@fortawesome/free-solid-svg-icons": "^7.2.0",
|
||||
"@fortawesome/react-fontawesome": "^3.2.0",
|
||||
"@react-three/drei": "^10.7.7",
|
||||
"@react-three/fiber": "^9.5.0",
|
||||
"@react-three/postprocessing": "^3.0.4",
|
||||
"motion": "^12.34.3",
|
||||
"react": "^19.2.4",
|
||||
"react-dom": "^19.2.4",
|
||||
@@ -62,8 +64,7 @@
|
||||
"typescript": "^5.9.3",
|
||||
"webpack": "^5.105.4",
|
||||
"webpack-cli": "^6.0.1",
|
||||
"webpack-dev-server": "^5.2.3",
|
||||
"webpack-manifest-plugin": "^6.0.1"
|
||||
"webpack-dev-server": "^5.2.3"
|
||||
}
|
||||
},
|
||||
"node_modules/@adobe/css-tools": {
|
||||
@@ -2110,7 +2111,6 @@
|
||||
"version": "0.12.0",
|
||||
"resolved": "https://registry.npmjs.org/@dimforge/rapier3d-compat/-/rapier3d-compat-0.12.0.tgz",
|
||||
"integrity": "sha512-uekIGetywIgopfD97oDL5PfeezkFpNhwlzlaEYNOA0N6ghdsOvh/HYjSMek5Q2O1PYvRSDFcqFVJl4r4ZBwOow==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
"node_modules/@discoveryjs/json-ext": {
|
||||
@@ -2845,6 +2845,24 @@
|
||||
"react": ">=16"
|
||||
}
|
||||
},
|
||||
"node_modules/@mediapipe/tasks-vision": {
|
||||
"version": "0.10.17",
|
||||
"resolved": "https://registry.npmjs.org/@mediapipe/tasks-vision/-/tasks-vision-0.10.17.tgz",
|
||||
"integrity": "sha512-CZWV/q6TTe8ta61cZXjfnnHsfWIdFhms03M9T7Cnd5y2mdpylJM0rF1qRq+wsQVRMLz1OYPVEBU9ph2Bx8cxrg==",
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
"node_modules/@monogrid/gainmap-js": {
|
||||
"version": "3.4.0",
|
||||
"resolved": "https://registry.npmjs.org/@monogrid/gainmap-js/-/gainmap-js-3.4.0.tgz",
|
||||
"integrity": "sha512-2Z0FATFHaoYJ8b+Y4y4Hgfn3FRFwuU5zRrk+9dFWp4uGAdHGqVEdP7HP+gLA3X469KXHmfupJaUbKo1b/aDKIg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"promise-worker-transferable": "^1.0.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"three": ">= 0.159.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@noble/hashes": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz",
|
||||
@@ -3389,6 +3407,46 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/@react-three/drei": {
|
||||
"version": "10.7.7",
|
||||
"resolved": "https://registry.npmjs.org/@react-three/drei/-/drei-10.7.7.tgz",
|
||||
"integrity": "sha512-ff+J5iloR0k4tC++QtD/j9u3w5fzfgFAWDtAGQah9pF2B1YgOq/5JxqY0/aVoQG5r3xSZz0cv5tk2YuBob4xEQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.26.0",
|
||||
"@mediapipe/tasks-vision": "0.10.17",
|
||||
"@monogrid/gainmap-js": "^3.0.6",
|
||||
"@use-gesture/react": "^10.3.1",
|
||||
"camera-controls": "^3.1.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"detect-gpu": "^5.0.56",
|
||||
"glsl-noise": "^0.0.0",
|
||||
"hls.js": "^1.5.17",
|
||||
"maath": "^0.10.8",
|
||||
"meshline": "^3.3.1",
|
||||
"stats-gl": "^2.2.8",
|
||||
"stats.js": "^0.17.0",
|
||||
"suspend-react": "^0.1.3",
|
||||
"three-mesh-bvh": "^0.8.3",
|
||||
"three-stdlib": "^2.35.6",
|
||||
"troika-three-text": "^0.52.4",
|
||||
"tunnel-rat": "^0.1.2",
|
||||
"use-sync-external-store": "^1.4.0",
|
||||
"utility-types": "^3.11.0",
|
||||
"zustand": "^5.0.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@react-three/fiber": "^9.0.0",
|
||||
"react": "^19",
|
||||
"react-dom": "^19",
|
||||
"three": ">=0.159"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"react-dom": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/@react-three/fiber": {
|
||||
"version": "9.5.0",
|
||||
"resolved": "https://registry.npmjs.org/@react-three/fiber/-/fiber-9.5.0.tgz",
|
||||
@@ -3437,6 +3495,32 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/@react-three/postprocessing": {
|
||||
"version": "3.0.4",
|
||||
"resolved": "https://registry.npmjs.org/@react-three/postprocessing/-/postprocessing-3.0.4.tgz",
|
||||
"integrity": "sha512-e4+F5xtudDYvhxx3y0NtWXpZbwvQ0x1zdOXWTbXMK6fFLVDd4qucN90YaaStanZGS4Bd5siQm0lGL/5ogf8iDQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"maath": "^0.6.0",
|
||||
"n8ao": "^1.9.4",
|
||||
"postprocessing": "^6.36.6"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@react-three/fiber": "^9.0.0",
|
||||
"react": "^19.0",
|
||||
"three": ">= 0.156.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@react-three/postprocessing/node_modules/maath": {
|
||||
"version": "0.6.0",
|
||||
"resolved": "https://registry.npmjs.org/maath/-/maath-0.6.0.tgz",
|
||||
"integrity": "sha512-dSb2xQuP7vDnaYqfoKzlApeRcR2xtN8/f7WV/TMAkBC8552TwTLtOO0JTcSygkYMjNDPoo6V01jTw/aPi4JrMw==",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"@types/three": ">=0.144.0",
|
||||
"three": ">=0.144.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@svgr/babel-plugin-add-jsx-attribute": {
|
||||
"version": "8.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-8.0.0.tgz",
|
||||
@@ -3906,7 +3990,6 @@
|
||||
"version": "23.1.3",
|
||||
"resolved": "https://registry.npmjs.org/@tweenjs/tween.js/-/tween.js-23.1.3.tgz",
|
||||
"integrity": "sha512-vJmvvwFxYuGnF2axRtPYocag6Clbb5YS7kLL+SO/TeVFzHqDIWrNKYtcsPMibjDx9O+bu+psAy9NKfWklassUA==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/aria-query": {
|
||||
@@ -3968,6 +4051,12 @@
|
||||
"@types/ms": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/draco3d": {
|
||||
"version": "1.4.10",
|
||||
"resolved": "https://registry.npmjs.org/@types/draco3d/-/draco3d-1.4.10.tgz",
|
||||
"integrity": "sha512-AX22jp8Y7wwaBgAixaSvkoG4M/+PlAcm3Qs4OW8yT9DM4xUpWKeFhLueTAyZF39pviAdcDdeJoACapiAceqNcw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/eslint": {
|
||||
"version": "8.56.12",
|
||||
"resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.12.tgz",
|
||||
@@ -4383,6 +4472,12 @@
|
||||
"undici-types": "~7.18.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/offscreencanvas": {
|
||||
"version": "2019.7.3",
|
||||
"resolved": "https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.7.3.tgz",
|
||||
"integrity": "sha512-ieXiYmgSRXUDeOntE1InxjWyvEelZGP63M+cGuquuRLuIKKT1osnkXjxev9B7d1nXSug5vpunx+gNlbVxMlC9A==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/parse-json": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz",
|
||||
@@ -4503,14 +4598,12 @@
|
||||
"version": "0.17.4",
|
||||
"resolved": "https://registry.npmjs.org/@types/stats.js/-/stats.js-0.17.4.tgz",
|
||||
"integrity": "sha512-jIBvWWShCvlBqBNIZt0KAshWpvSjhkwkEu4ZUcASoAvhmrgAUI2t1dXrjSL4xXVLB4FznPrIsX3nKXFl/Dt4vA==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/three": {
|
||||
"version": "0.183.1",
|
||||
"resolved": "https://registry.npmjs.org/@types/three/-/three-0.183.1.tgz",
|
||||
"integrity": "sha512-f2Pu5Hrepfgavttdye3PsH5RWyY/AvdZQwIVhrc4uNtvF7nOWJacQKcoVJn0S4f0yYbmAE6AR+ve7xDcuYtMGw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@dimforge/rapier3d-compat": "~0.12.0",
|
||||
@@ -4559,6 +4652,24 @@
|
||||
"dev": true,
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/@use-gesture/core": {
|
||||
"version": "10.3.1",
|
||||
"resolved": "https://registry.npmjs.org/@use-gesture/core/-/core-10.3.1.tgz",
|
||||
"integrity": "sha512-WcINiDt8WjqBdUXye25anHiNxPc0VOrlT8F6LLkU6cycrOGUDyY/yyFmsg3k8i5OLvv25llc0QC45GhR/C8llw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@use-gesture/react": {
|
||||
"version": "10.3.1",
|
||||
"resolved": "https://registry.npmjs.org/@use-gesture/react/-/react-10.3.1.tgz",
|
||||
"integrity": "sha512-Yy19y6O2GJq8f7CHf7L0nxL8bf4PZCPaVOCgJrusOeFHY1LvHgYXnmnXg6N5iwAnbgbZCDjo60SiM6IPJi9C5g==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@use-gesture/core": "10.3.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">= 16.8.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@webassemblyjs/ast": {
|
||||
"version": "1.14.1",
|
||||
"resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz",
|
||||
@@ -4724,7 +4835,6 @@
|
||||
"version": "0.1.69",
|
||||
"resolved": "https://registry.npmjs.org/@webgpu/types/-/types-0.1.69.tgz",
|
||||
"integrity": "sha512-RPmm6kgRbI8e98zSD3RVACvnuktIja5+yLgDAkTmxLr90BEwdTXRQWNLF3ETTTyH/8mKhznZuN5AveXYFEsMGQ==",
|
||||
"dev": true,
|
||||
"license": "BSD-3-Clause"
|
||||
},
|
||||
"node_modules/@webpack-cli/configtest": {
|
||||
@@ -5294,6 +5404,15 @@
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/bidi-js": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/bidi-js/-/bidi-js-1.0.3.tgz",
|
||||
"integrity": "sha512-RKshQI1R3YQ+n9YJz2QQ147P66ELpa1FQEg20Dk8oW9t2KgLbpDLLp9aGZ7y8WHSshDknG0bknqGw5/tyCs5tw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"require-from-string": "^2.0.2"
|
||||
}
|
||||
},
|
||||
"node_modules/big.js": {
|
||||
"version": "5.2.2",
|
||||
"resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
|
||||
@@ -5580,6 +5699,19 @@
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/camera-controls": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/camera-controls/-/camera-controls-3.1.2.tgz",
|
||||
"integrity": "sha512-xkxfpG2ECZ6Ww5/9+kf4mfg1VEYAoe9aDSY+IwF0UEs7qEzwy0aVRfs2grImIECs/PoBtWFrh7RXsQkwG922JA==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=22.0.0",
|
||||
"npm": ">=10.5.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"three": ">=0.126.1"
|
||||
}
|
||||
},
|
||||
"node_modules/caniuse-api": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz",
|
||||
@@ -6008,11 +6140,28 @@
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/cross-env": {
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz",
|
||||
"integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"cross-spawn": "^7.0.1"
|
||||
},
|
||||
"bin": {
|
||||
"cross-env": "src/bin/cross-env.js",
|
||||
"cross-env-shell": "src/bin/cross-env-shell.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.14",
|
||||
"npm": ">=6",
|
||||
"yarn": ">=1"
|
||||
}
|
||||
},
|
||||
"node_modules/cross-spawn": {
|
||||
"version": "7.0.6",
|
||||
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
|
||||
"integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"path-key": "^3.1.0",
|
||||
@@ -6534,6 +6683,15 @@
|
||||
"npm": "1.2.8000 || >= 1.4.16"
|
||||
}
|
||||
},
|
||||
"node_modules/detect-gpu": {
|
||||
"version": "5.0.70",
|
||||
"resolved": "https://registry.npmjs.org/detect-gpu/-/detect-gpu-5.0.70.tgz",
|
||||
"integrity": "sha512-bqerEP1Ese6nt3rFkwPnGbsUF9a4q+gMmpTVVOEzoCyeCc+y7/RvJnQZJx1JwhgQI5Ntg0Kgat8Uu7XpBqnz1w==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"webgl-constants": "^1.1.1"
|
||||
}
|
||||
},
|
||||
"node_modules/detect-libc": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
|
||||
@@ -6676,6 +6834,12 @@
|
||||
"tslib": "^2.0.3"
|
||||
}
|
||||
},
|
||||
"node_modules/draco3d": {
|
||||
"version": "1.5.7",
|
||||
"resolved": "https://registry.npmjs.org/draco3d/-/draco3d-1.5.7.tgz",
|
||||
"integrity": "sha512-m6WCKt/erDXcw+70IJXnG7M3awwQPAsZvJGX5zY7beBqpELw6RDGkYVU0W43AFxye4pDZ5i2Lbyc/NNGqwjUVQ==",
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
"node_modules/dunder-proto": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
|
||||
@@ -7170,7 +7334,6 @@
|
||||
"version": "0.8.2",
|
||||
"resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz",
|
||||
"integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/file-loader": {
|
||||
@@ -7578,6 +7741,12 @@
|
||||
"dev": true,
|
||||
"license": "BSD-2-Clause"
|
||||
},
|
||||
"node_modules/glsl-noise": {
|
||||
"version": "0.0.0",
|
||||
"resolved": "https://registry.npmjs.org/glsl-noise/-/glsl-noise-0.0.0.tgz",
|
||||
"integrity": "sha512-b/ZCF6amfAUb7dJM/MxRs7AetQEahYzJ8PtgfrmEdtw6uyGOr+ZSGtgjFm6mfsBkxJ4d2W7kg+Nlqzqvn3Bc0w==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/gopd": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
|
||||
@@ -7722,6 +7891,12 @@
|
||||
"he": "bin/he"
|
||||
}
|
||||
},
|
||||
"node_modules/hls.js": {
|
||||
"version": "1.6.15",
|
||||
"resolved": "https://registry.npmjs.org/hls.js/-/hls.js-1.6.15.tgz",
|
||||
"integrity": "sha512-E3a5VwgXimGHwpRGV+WxRTKeSp2DW5DI5MWv34ulL3t5UNmyJWCQ1KmLEHbYzcfThfXG8amBL+fCYPneGHC4VA==",
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
"node_modules/hpack.js": {
|
||||
"version": "2.1.6",
|
||||
"resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz",
|
||||
@@ -7998,6 +8173,12 @@
|
||||
],
|
||||
"license": "BSD-3-Clause"
|
||||
},
|
||||
"node_modules/immediate": {
|
||||
"version": "3.0.6",
|
||||
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
|
||||
"integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/immutable": {
|
||||
"version": "5.1.4",
|
||||
"resolved": "https://registry.npmjs.org/immutable/-/immutable-5.1.4.tgz",
|
||||
@@ -8287,11 +8468,16 @@
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/is-promise": {
|
||||
"version": "2.2.2",
|
||||
"resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz",
|
||||
"integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/isexe": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
|
||||
"integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
|
||||
"dev": true,
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/isobject": {
|
||||
@@ -8451,6 +8637,15 @@
|
||||
"shell-quote": "^1.8.3"
|
||||
}
|
||||
},
|
||||
"node_modules/lie": {
|
||||
"version": "3.3.0",
|
||||
"resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz",
|
||||
"integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"immediate": "~3.0.5"
|
||||
}
|
||||
},
|
||||
"node_modules/lilconfig": {
|
||||
"version": "3.1.3",
|
||||
"resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
|
||||
@@ -8582,6 +8777,16 @@
|
||||
"lz-string": "bin/bin.js"
|
||||
}
|
||||
},
|
||||
"node_modules/maath": {
|
||||
"version": "0.10.8",
|
||||
"resolved": "https://registry.npmjs.org/maath/-/maath-0.10.8.tgz",
|
||||
"integrity": "sha512-tRvbDF0Pgqz+9XUa4jjfgAQ8/aPKmQdWXilFu2tMy4GWj4NOsx99HlULO4IeREfbO3a0sA145DZYyvXPkybm0g==",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"@types/three": ">=0.134.0",
|
||||
"three": ">=0.134.0"
|
||||
}
|
||||
},
|
||||
"node_modules/make-error": {
|
||||
"version": "1.3.6",
|
||||
"resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
|
||||
@@ -8838,11 +9043,19 @@
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/meshline": {
|
||||
"version": "3.3.1",
|
||||
"resolved": "https://registry.npmjs.org/meshline/-/meshline-3.3.1.tgz",
|
||||
"integrity": "sha512-/TQj+JdZkeSUOl5Mk2J7eLcYTLiQm2IDzmlSvYm7ov15anEcDJ92GHqqazxTSreeNgfnYu24kiEvvv0WlbCdFQ==",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"three": ">=0.137"
|
||||
}
|
||||
},
|
||||
"node_modules/meshoptimizer": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/meshoptimizer/-/meshoptimizer-1.0.1.tgz",
|
||||
"integrity": "sha512-Vix+QlA1YYT3FwmBBZ+49cE5y/b+pRrcXKqGpS5ouh33d3lSp2PoTpCw19E0cKDFWalembrHnIaZetf27a+W2g==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/methods": {
|
||||
@@ -9642,6 +9855,16 @@
|
||||
"multicast-dns": "cli.js"
|
||||
}
|
||||
},
|
||||
"node_modules/n8ao": {
|
||||
"version": "1.10.1",
|
||||
"resolved": "https://registry.npmjs.org/n8ao/-/n8ao-1.10.1.tgz",
|
||||
"integrity": "sha512-hhI1pC+BfOZBV1KMwynBrVlIm8wqLxj/abAWhF2nZ0qQKyzTSQa1QtLVS2veRiuoBQXojxobcnp0oe+PUoxf/w==",
|
||||
"license": "ISC",
|
||||
"peerDependencies": {
|
||||
"postprocessing": ">=6.30.0",
|
||||
"three": ">=0.137"
|
||||
}
|
||||
},
|
||||
"node_modules/nanoid": {
|
||||
"version": "3.3.11",
|
||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
|
||||
@@ -9939,7 +10162,6 @@
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
|
||||
"integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
@@ -10763,6 +10985,21 @@
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/postprocessing": {
|
||||
"version": "6.39.0",
|
||||
"resolved": "https://registry.npmjs.org/postprocessing/-/postprocessing-6.39.0.tgz",
|
||||
"integrity": "sha512-/G6JY8hs426lcto/pBZlnFSkyEo1fHsh4gy7FPJtq1SaSUOzJgDW6f6f1K/+aMOYzK/eQEefyOb3++jPPIUeDA==",
|
||||
"license": "Zlib",
|
||||
"peerDependencies": {
|
||||
"three": ">= 0.168.0 < 0.184.0"
|
||||
}
|
||||
},
|
||||
"node_modules/potpack": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/potpack/-/potpack-1.0.2.tgz",
|
||||
"integrity": "sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ==",
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/pretty-error": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-4.0.0.tgz",
|
||||
@@ -10809,6 +11046,16 @@
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/promise-worker-transferable": {
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/promise-worker-transferable/-/promise-worker-transferable-1.0.4.tgz",
|
||||
"integrity": "sha512-bN+0ehEnrXfxV2ZQvU2PetO0n4gqBD4ulq3MI1WOPLgr7/Mg9yRQkX5+0v1vagr74ZTsl7XtzlaYDo2EuCeYJw==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"is-promise": "^2.1.0",
|
||||
"lie": "^3.0.2"
|
||||
}
|
||||
},
|
||||
"node_modules/property-information": {
|
||||
"version": "7.1.0",
|
||||
"resolved": "https://registry.npmjs.org/property-information/-/property-information-7.1.0.tgz",
|
||||
@@ -11268,7 +11515,6 @@
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
|
||||
"integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
@@ -11757,7 +12003,6 @@
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
|
||||
"integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"shebang-regex": "^3.0.0"
|
||||
@@ -11770,7 +12015,6 @@
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
|
||||
"integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
@@ -12033,6 +12277,32 @@
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/stats-gl": {
|
||||
"version": "2.4.2",
|
||||
"resolved": "https://registry.npmjs.org/stats-gl/-/stats-gl-2.4.2.tgz",
|
||||
"integrity": "sha512-g5O9B0hm9CvnM36+v7SFl39T7hmAlv541tU81ME8YeSb3i1CIP5/QdDeSB3A0la0bKNHpxpwxOVRo2wFTYEosQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/three": "*",
|
||||
"three": "^0.170.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/three": "*",
|
||||
"three": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/stats-gl/node_modules/three": {
|
||||
"version": "0.170.0",
|
||||
"resolved": "https://registry.npmjs.org/three/-/three-0.170.0.tgz",
|
||||
"integrity": "sha512-FQK+LEpYc0fBD+J8g6oSEyyNzjp+Q7Ks1C568WWaoMRLW+TkNNWmenWeGgJjV105Gd+p/2ql1ZcjYvNiPZBhuQ==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/stats.js": {
|
||||
"version": "0.17.0",
|
||||
"resolved": "https://registry.npmjs.org/stats.js/-/stats.js-0.17.0.tgz",
|
||||
"integrity": "sha512-hNKz8phvYLPEcRkeG1rsGmV5ChMjKDAWU7/OJJdDErPBNChQXxCo3WZurGpnWc6gZhAzEPFad1aVgyOANH1sMw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/statuses": {
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
|
||||
@@ -12399,6 +12669,38 @@
|
||||
"integrity": "sha512-di3BsL2FEQ1PA7Hcvn4fyJOlxRRgFYBpMTcyOgkwJIaDOdJMebEFPA+t98EvjuljDx4hNulAGwF6KIjtwI5jgQ==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/three-mesh-bvh": {
|
||||
"version": "0.8.3",
|
||||
"resolved": "https://registry.npmjs.org/three-mesh-bvh/-/three-mesh-bvh-0.8.3.tgz",
|
||||
"integrity": "sha512-4G5lBaF+g2auKX3P0yqx+MJC6oVt6sB5k+CchS6Ob0qvH0YIhuUk1eYr7ktsIpY+albCqE80/FVQGV190PmiAg==",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"three": ">= 0.159.0"
|
||||
}
|
||||
},
|
||||
"node_modules/three-stdlib": {
|
||||
"version": "2.36.1",
|
||||
"resolved": "https://registry.npmjs.org/three-stdlib/-/three-stdlib-2.36.1.tgz",
|
||||
"integrity": "sha512-XyGQrFmNQ5O/IoKm556ftwKsBg11TIb301MB5dWNicziQBEs2g3gtOYIf7pFiLa0zI2gUwhtCjv9fmjnxKZ1Cg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/draco3d": "^1.4.0",
|
||||
"@types/offscreencanvas": "^2019.6.4",
|
||||
"@types/webxr": "^0.5.2",
|
||||
"draco3d": "^1.4.1",
|
||||
"fflate": "^0.6.9",
|
||||
"potpack": "^1.0.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"three": ">=0.128.0"
|
||||
}
|
||||
},
|
||||
"node_modules/three-stdlib/node_modules/fflate": {
|
||||
"version": "0.6.10",
|
||||
"resolved": "https://registry.npmjs.org/fflate/-/fflate-0.6.10.tgz",
|
||||
"integrity": "sha512-IQrh3lEPM93wVCEczc9SaAOvkmcoQn/G8Bo1e8ZPlY3X3bnAxWaBdvTdvM1hP62iZp0BXWDy4vTAy4fF0+Dlpg==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/thunky": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz",
|
||||
@@ -12457,6 +12759,36 @@
|
||||
"url": "https://github.com/sponsors/wooorm"
|
||||
}
|
||||
},
|
||||
"node_modules/troika-three-text": {
|
||||
"version": "0.52.4",
|
||||
"resolved": "https://registry.npmjs.org/troika-three-text/-/troika-three-text-0.52.4.tgz",
|
||||
"integrity": "sha512-V50EwcYGruV5rUZ9F4aNsrytGdKcXKALjEtQXIOBfhVoZU9VAqZNIoGQ3TMiooVqFAbR1w15T+f+8gkzoFzawg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"bidi-js": "^1.0.2",
|
||||
"troika-three-utils": "^0.52.4",
|
||||
"troika-worker-utils": "^0.52.0",
|
||||
"webgl-sdf-generator": "1.1.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"three": ">=0.125.0"
|
||||
}
|
||||
},
|
||||
"node_modules/troika-three-utils": {
|
||||
"version": "0.52.4",
|
||||
"resolved": "https://registry.npmjs.org/troika-three-utils/-/troika-three-utils-0.52.4.tgz",
|
||||
"integrity": "sha512-NORAStSVa/BDiG52Mfudk4j1FG4jC4ILutB3foPnfGbOeIs9+G5vZLa0pnmnaftZUGm4UwSoqEpWdqvC7zms3A==",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"three": ">=0.125.0"
|
||||
}
|
||||
},
|
||||
"node_modules/troika-worker-utils": {
|
||||
"version": "0.52.0",
|
||||
"resolved": "https://registry.npmjs.org/troika-worker-utils/-/troika-worker-utils-0.52.0.tgz",
|
||||
"integrity": "sha512-W1CpvTHykaPH5brv5VHLfQo9D1OYuo0cSBEUQFFT/nBUzM8iD6Lq2/tgG/f1OelbAS1WtaTPQzE5uM49egnngw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/trough": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz",
|
||||
@@ -12572,6 +12904,43 @@
|
||||
"dev": true,
|
||||
"license": "0BSD"
|
||||
},
|
||||
"node_modules/tunnel-rat": {
|
||||
"version": "0.1.2",
|
||||
"resolved": "https://registry.npmjs.org/tunnel-rat/-/tunnel-rat-0.1.2.tgz",
|
||||
"integrity": "sha512-lR5VHmkPhzdhrM092lI2nACsLO4QubF0/yoOhzX7c+wIpbN1GjHNzCc91QlpxBi+cnx8vVJ+Ur6vL5cEoQPFpQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"zustand": "^4.3.2"
|
||||
}
|
||||
},
|
||||
"node_modules/tunnel-rat/node_modules/zustand": {
|
||||
"version": "4.5.7",
|
||||
"resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.7.tgz",
|
||||
"integrity": "sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"use-sync-external-store": "^1.2.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.7.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/react": ">=16.8",
|
||||
"immer": ">=9.0.6",
|
||||
"react": ">=16.8"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@types/react": {
|
||||
"optional": true
|
||||
},
|
||||
"immer": {
|
||||
"optional": true
|
||||
},
|
||||
"react": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/type-is": {
|
||||
"version": "1.6.18",
|
||||
"resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
|
||||
@@ -12855,6 +13224,15 @@
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/utility-types": {
|
||||
"version": "3.11.0",
|
||||
"resolved": "https://registry.npmjs.org/utility-types/-/utility-types-3.11.0.tgz",
|
||||
"integrity": "sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 4"
|
||||
}
|
||||
},
|
||||
"node_modules/utils-merge": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
|
||||
@@ -12946,6 +13324,17 @@
|
||||
"minimalistic-assert": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/webgl-constants": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/webgl-constants/-/webgl-constants-1.1.1.tgz",
|
||||
"integrity": "sha512-LkBXKjU5r9vAW7Gcu3T5u+5cvSvh5WwINdr0C+9jpzVB41cjQAP5ePArDtk/WHYdVj0GefCgM73BA7FlIiNtdg=="
|
||||
},
|
||||
"node_modules/webgl-sdf-generator": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/webgl-sdf-generator/-/webgl-sdf-generator-1.1.1.tgz",
|
||||
"integrity": "sha512-9Z0JcMTFxeE+b2x1LJTdnaT8rT8aEp7MVxkNwoycNmJWwPdzoXzMh0BjJSh/AEFP+KPYZUli814h8bJZFIZ2jA==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/webpack": {
|
||||
"version": "5.105.4",
|
||||
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.105.4.tgz",
|
||||
@@ -13260,23 +13649,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/webpack-manifest-plugin": {
|
||||
"version": "6.0.1",
|
||||
"resolved": "https://registry.npmjs.org/webpack-manifest-plugin/-/webpack-manifest-plugin-6.0.1.tgz",
|
||||
"integrity": "sha512-R0p/8/IJVY5hIhQtkeWUQugalVpIwojc09eb14zGq+oiZOCmN5paAz2NBJfd+6v9eBbxAS3YMjc2ov8UMlCDLQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"tapable": "^2.0.0",
|
||||
"webpack-sources": "^3.3.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.19.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"webpack": "^5.75.0"
|
||||
}
|
||||
},
|
||||
"node_modules/webpack-merge": {
|
||||
"version": "6.0.1",
|
||||
"resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-6.0.1.tgz",
|
||||
@@ -13355,7 +13727,6 @@
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
|
||||
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"isexe": "^2.0.0"
|
||||
|
||||
@@ -10,7 +10,9 @@
|
||||
"@fortawesome/free-regular-svg-icons": "^7.2.0",
|
||||
"@fortawesome/free-solid-svg-icons": "^7.2.0",
|
||||
"@fortawesome/react-fontawesome": "^3.2.0",
|
||||
"@react-three/drei": "^10.7.7",
|
||||
"@react-three/fiber": "^9.5.0",
|
||||
"@react-three/postprocessing": "^3.0.4",
|
||||
"motion": "^12.34.3",
|
||||
"react": "^19.2.4",
|
||||
"react-dom": "^19.2.4",
|
||||
@@ -19,6 +21,7 @@
|
||||
"scripts": {
|
||||
"dev": "NODE_ENV=development webpack serve -c webpack.config.ts",
|
||||
"build": "NODE_ENV=production webpack -c webpack.config.ts",
|
||||
"deploy": "gh-pages -d build",
|
||||
"serve": "serve -s build"
|
||||
},
|
||||
"browserslist": {
|
||||
@@ -74,8 +77,7 @@
|
||||
"typescript": "^5.9.3",
|
||||
"webpack": "^5.105.4",
|
||||
"webpack-cli": "^6.0.1",
|
||||
"webpack-dev-server": "^5.2.3",
|
||||
"webpack-manifest-plugin": "^6.0.1"
|
||||
"webpack-dev-server": "^5.2.3"
|
||||
},
|
||||
"babel": {
|
||||
"presets": [
|
||||
|
||||
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 4.1 KiB |
@@ -2,29 +2,16 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Web site created using create-react-app"
|
||||
content="Tymur Arsentiev's portfolio and blog site"
|
||||
/>
|
||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
||||
<!--
|
||||
manifest.json provides metadata used when your web app is installed on a
|
||||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
||||
-->
|
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||
<!--
|
||||
Notice the use of %PUBLIC_URL% in the tags above.
|
||||
It will be replaced with the URL of the `public` folder during the build.
|
||||
Only files inside the `public` folder can be referenced from the HTML.
|
||||
|
||||
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
||||
work correctly both with client-side routing and a non-root public URL.
|
||||
Learn how to configure a non-root public URL by running `npm run build`.
|
||||
-->
|
||||
<title>React App</title>
|
||||
<link rel="apple-touch-icon" href="/logo192.png" />
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
<title>tymur999.com</title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
|
||||
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 454 KiB |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"short_name": "React App",
|
||||
"name": "Create React App Sample",
|
||||
"short_name": "tymur999.com",
|
||||
"name": "Tymur Arsentiev's blog",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon.ico",
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import openingImage from "../img/IMG_20240725_175449_803.jpg";
|
||||
import rainbow from "../img/IMG-0186.jpg";
|
||||
import japanese from "../img/IMG_20230531_000224_01.jpg";
|
||||
import computers from "../img/IMG_3071.jpg";
|
||||
import mobo from "../img/2025-10-03-02-20-50-077.jpg";
|
||||
import suit from "../img/military.jpg";
|
||||
import nutrivend from "../img/nutrivend.jpeg";
|
||||
import openingImage from "../img/DSC_5633.webp";
|
||||
import rainbow from "../img/IMG-0186.webp";
|
||||
import japanese from "../img/IMG_20230531_000224_01.webp";
|
||||
import computers from "../img/IMG_3071.webp";
|
||||
import mobo from "../img/2025-10-03-02-20-50-077.webp";
|
||||
import suit from "../img/military.webp";
|
||||
import nutrivend from "../img/nutrivend.webp";
|
||||
|
||||
<img src={openingImage} alt="Tymur Arsentiev" className="self"/>
|
||||
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
import "./about.scss";
|
||||
import {HTMLProps, lazy} from "react";
|
||||
import {Link} from "../router/Link";
|
||||
import {Path} from "../router/router";
|
||||
import "./about.sass";
|
||||
import {lazy} from "react";
|
||||
import {ExternalLink} from "../router/Link";
|
||||
import {motion} from "motion/react";
|
||||
import {AnimateFade} from "../animations";
|
||||
|
||||
const About = lazy(() => import("./About.mdx"));
|
||||
|
||||
const main = AnimateFade();
|
||||
export default function AboutPage() {
|
||||
return <main className="about-page">
|
||||
return <motion.main initial={main.initial} animate={main.animate} className="about-page">
|
||||
<div className="edge"/>
|
||||
<section className="about-container">
|
||||
<About components={{
|
||||
@@ -14,11 +16,5 @@ export default function AboutPage() {
|
||||
}}/>
|
||||
</section>
|
||||
<div className="edge"/>
|
||||
</main>
|
||||
}
|
||||
|
||||
function ExternalLink(props: HTMLProps<HTMLAnchorElement>) {
|
||||
return (
|
||||
<Link {...props} href={props.href as Path} className="external-link" target="_blank">{props.children}</Link>
|
||||
)
|
||||
</motion.main>
|
||||
}
|
||||
82
src/about/about.sass
Normal file
@@ -0,0 +1,82 @@
|
||||
@use "../nav/nav"
|
||||
$paragraph: 20px
|
||||
$max-width: 600px
|
||||
$min-width: 400px
|
||||
$reader-bg: #27213C
|
||||
|
||||
.about-page
|
||||
color: white
|
||||
display: flex
|
||||
justify-content: center
|
||||
|
||||
.title
|
||||
text-align: center
|
||||
margin: nav.$padding
|
||||
|
||||
.self
|
||||
width: 100%
|
||||
border-bottom: white 4px solid
|
||||
|
||||
|
||||
.about-container
|
||||
min-width: $min-width
|
||||
flex-shrink: 1
|
||||
display: flex
|
||||
flex-direction: column
|
||||
align-items: center
|
||||
font-family: Neuton, serif
|
||||
line-height: 40px
|
||||
|
||||
img:not(.self)
|
||||
border: 2px white solid
|
||||
|
||||
p
|
||||
text-indent: 30px
|
||||
padding: nav.$padding
|
||||
max-width: $max-width
|
||||
font-size: $paragraph
|
||||
h1,h2,h3
|
||||
padding: nav.$padding
|
||||
font-size: $paragraph * 2
|
||||
|
||||
h2
|
||||
font-size: $paragraph * 1.5
|
||||
|
||||
h3
|
||||
font-size: $paragraph * 1.1
|
||||
|
||||
.edge
|
||||
background: $reader-bg
|
||||
flex-grow: 1
|
||||
min-width: 30%
|
||||
|
||||
.clothing, .computers
|
||||
margin: 15px 0
|
||||
display: flex
|
||||
flex-direction: row
|
||||
justify-content: center
|
||||
> img
|
||||
min-width: 200px
|
||||
|
||||
|
||||
.clothing>img
|
||||
width: 33%
|
||||
|
||||
|
||||
.computers
|
||||
// select second
|
||||
img:not(:first-child)
|
||||
width: 20%
|
||||
|
||||
img
|
||||
width: 30%
|
||||
|
||||
.external-link
|
||||
text-decoration: underline !important
|
||||
|
||||
ul
|
||||
display: flex
|
||||
flex-direction: column
|
||||
font-size: $paragraph
|
||||
max-width: $max-width
|
||||
gap: 10px
|
||||
@@ -1,93 +0,0 @@
|
||||
@use "../nav/nav.scss";
|
||||
$paragraph: 20px;
|
||||
$max-width: 600px;
|
||||
|
||||
.about-page {
|
||||
color: white;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.title {
|
||||
text-align: center;
|
||||
margin: nav.$padding;
|
||||
}
|
||||
|
||||
.self {
|
||||
width: 100%;
|
||||
border-bottom: white 4px solid;
|
||||
}
|
||||
|
||||
.about-container {
|
||||
margin-top: 2 * nav.$padding;
|
||||
flex-shrink: 1;
|
||||
max-width: 75%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
font-family: Neuton;
|
||||
line-height: 40px;
|
||||
|
||||
img:not(.self) {
|
||||
border: 2px white solid;
|
||||
}
|
||||
|
||||
p {
|
||||
text-indent: 30px;
|
||||
margin: 10px;
|
||||
max-width: $max-width;
|
||||
font-size: $paragraph;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: $paragraph * 2;
|
||||
}
|
||||
h2 {
|
||||
font-size: $paragraph * 1.5;
|
||||
}
|
||||
h3 {
|
||||
font-size: $paragraph * 1.1;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.edge {
|
||||
background:#27213C;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.clothing, .computers {
|
||||
margin: 15px 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.clothing>img {
|
||||
width: 33%;
|
||||
}
|
||||
|
||||
.computers {
|
||||
// select second
|
||||
img:not(:first-child) {
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 30%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.external-link {
|
||||
text-decoration: underline !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-size: $paragraph;
|
||||
max-width: $max-width;
|
||||
gap: 10px;
|
||||
}
|
||||
27
src/animations.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
import {Target} from "motion";
|
||||
|
||||
export type AnimateTemplate = {
|
||||
initial: Target,
|
||||
animate: Target,
|
||||
};
|
||||
|
||||
export function AnimateDirection(dir: "top" | "left" | "right" | "bottom", top: string | number = 0) : AnimateTemplate {
|
||||
const animation: Required<AnimateTemplate> = { animate: {}, initial: {} };
|
||||
animation.animate[dir] = top;
|
||||
animation.initial[dir] = "-100%";
|
||||
|
||||
return animation;
|
||||
}
|
||||
|
||||
export function AnimateFade() : AnimateTemplate {
|
||||
return {
|
||||
initial: { opacity: 0 },
|
||||
animate: { opacity: 1 },
|
||||
};
|
||||
}
|
||||
|
||||
export function AnimateSpin() : Pick<AnimateTemplate, "animate"> {
|
||||
return {
|
||||
animate : { rotate: 360 },
|
||||
};
|
||||
}
|
||||
87
src/articles/ArticlesList.tsx
Normal file
@@ -0,0 +1,87 @@
|
||||
import "./list.sass";
|
||||
import {ReactComponent as BoxSvg} from "../img/blog-box.svg";
|
||||
import {Article, ARTICLES} from "./articles";
|
||||
import {motion} from "motion/react";
|
||||
import {AnimateFade} from "../animations";
|
||||
import {Canvas} from "@react-three/fiber";
|
||||
import {Environment, Html, OrbitControls} from "@react-three/drei";
|
||||
import MilkyWay from "../img/2k_stars_milky_way.jpg";
|
||||
import {Sun} from "../index/Canvas";
|
||||
import {Bloom, EffectComposer, Vignette} from "@react-three/postprocessing";
|
||||
import {useEffect, useState} from "react";
|
||||
import {Reader} from "./Reader";
|
||||
import {useRouter} from "../router/RouterContext";
|
||||
import {Path} from "../router/router";
|
||||
|
||||
const ARTICLE_QUERY = "a";
|
||||
const main = AnimateFade();
|
||||
export default function ArticlesList() {
|
||||
const [article, setArticle] = useState<Article | null>(null);
|
||||
const router = useRouter();
|
||||
|
||||
useEffect(() => {
|
||||
const params = new URLSearchParams(location.search);
|
||||
if(params.has(ARTICLE_QUERY)) {
|
||||
const id = Number.parseInt(params.get(ARTICLE_QUERY)!);
|
||||
setArticle(ARTICLES[id] ?? null);
|
||||
}
|
||||
}, [setArticle]);
|
||||
|
||||
useEffect(() => {
|
||||
if(!article) {
|
||||
// query param
|
||||
const params = new URLSearchParams(location.search);
|
||||
if(params.has(ARTICLE_QUERY)) {
|
||||
router.replacePage(location.pathname as Path);
|
||||
}
|
||||
} else {
|
||||
const id = ARTICLES.indexOf(article);
|
||||
router.replacePage(`${location.pathname}?${ARTICLE_QUERY}=${id}` as Path);
|
||||
}
|
||||
}, [article]);
|
||||
|
||||
|
||||
return <motion.main animate={main.animate} initial={main.initial} className="art-ctr">
|
||||
<Canvas camera={{position: [0,0,20]}}>
|
||||
<Environment background files={MilkyWay}/>
|
||||
<EffectComposer>
|
||||
<Bloom luminanceThreshold={0} luminanceSmoothing={0.9} />
|
||||
<Vignette eskil={false} offset={0.1} darkness={1.1} />
|
||||
</EffectComposer>
|
||||
<Sun/>
|
||||
<OrbitControls enablePan={false} enableZoom />
|
||||
<Html className="articles" zIndexRange={[100,0]} prepend center transform>
|
||||
{
|
||||
ARTICLES.map(a => <BlogBox setReading={setArticle} article={a}/>)
|
||||
}
|
||||
</Html>
|
||||
</Canvas>
|
||||
<Reader post={article} setPost={setArticle}/>
|
||||
</motion.main>
|
||||
}
|
||||
|
||||
function BlogBox(props: { article: Article, setReading: (_: Article | null) => void }) {
|
||||
const {article, setReading, article: {name, description, thumbnail, published} } = props;
|
||||
|
||||
return (
|
||||
<button className="link" onClick={() => setReading(article)}>
|
||||
<div className="blog-box">
|
||||
<img className="thumbnail" alt={`${name} thumbnail`} src={thumbnail}/>
|
||||
<div className="titles">
|
||||
<h1>
|
||||
{ name }
|
||||
</h1>
|
||||
<div className="desc">
|
||||
<h3>
|
||||
{ description }
|
||||
</h3>
|
||||
<p>
|
||||
{ published.toDateString() }
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<BoxSvg className='box-wave'/>
|
||||
</button>
|
||||
)
|
||||
}
|
||||
46
src/articles/Reader.tsx
Normal file
@@ -0,0 +1,46 @@
|
||||
import {animate, motion} from "framer-motion";
|
||||
import {useEffect} from "react";
|
||||
import {AnimateFade, AnimateTemplate} from "../animations";
|
||||
import "./reader.sass";
|
||||
import {ExternalLink} from "../router/Link";
|
||||
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
|
||||
import {faClose} from "@fortawesome/free-solid-svg-icons/faClose";
|
||||
import {Article} from "./articles";
|
||||
|
||||
const READER : AnimateTemplate = AnimateFade();
|
||||
|
||||
export function Reader({post, setPost}: {post: Article | null, setPost: (_: Article | null) => void}) {
|
||||
|
||||
useEffect(() => {
|
||||
function pressEscape(e: KeyboardEvent) {
|
||||
e.key === "Escape" && handleClose();
|
||||
}
|
||||
|
||||
document.addEventListener("keydown", pressEscape);
|
||||
return () => document.removeEventListener("keydown", pressEscape);
|
||||
}, []);
|
||||
|
||||
function handleClose() {
|
||||
animate(".reader", READER.initial)
|
||||
.then(() => setPost(null));
|
||||
}
|
||||
|
||||
return post ? (
|
||||
<motion.section
|
||||
initial={READER.initial}
|
||||
animate={READER.animate}
|
||||
onClick={handleClose}
|
||||
className="reader link">
|
||||
<article onClick={e => e.stopPropagation()}>
|
||||
<button onClick={handleClose} className="link reader-close">
|
||||
<FontAwesomeIcon icon={faClose} />
|
||||
</button>
|
||||
<div className="content">
|
||||
<post.article components={{
|
||||
'a': ExternalLink
|
||||
}}/>
|
||||
</div>
|
||||
</article>
|
||||
</motion.section>
|
||||
) : <></>;
|
||||
}
|
||||
32
src/articles/articles.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
import {Path} from "../router/router";
|
||||
import {MDXContent} from "mdx/types";
|
||||
import {lazy, LazyExoticComponent} from "react";
|
||||
import allBlack from "../img/IMG_3095.webp";
|
||||
import techTower from "../img/tech-tower.webp";
|
||||
|
||||
export interface Article {
|
||||
name: string,
|
||||
description: string,
|
||||
// image thumbnail
|
||||
thumbnail: Path,
|
||||
published: Date,
|
||||
// lazy load article content
|
||||
article: LazyExoticComponent<MDXContent>
|
||||
}
|
||||
|
||||
export const ARTICLES: Article[] = [
|
||||
{
|
||||
name: "My high school experience",
|
||||
description: "My first program, winning two senior superlatives, and why (and how) I chose Georgia Tech",
|
||||
thumbnail: allBlack,
|
||||
published: new Date("3/15/2026"),
|
||||
article: lazy(() => import("./mdx/high-school.mdx"))
|
||||
},
|
||||
{
|
||||
name: "Georgia Tech Review",
|
||||
description: "Reviewing Georgia Tech as a school while completing my Computer Science Bachelors",
|
||||
thumbnail: techTower,
|
||||
published: new Date("4/11/2026"),
|
||||
article: lazy(() => import("./mdx/gt-review.mdx"))
|
||||
}
|
||||
]
|
||||
77
src/articles/list.sass
Normal file
@@ -0,0 +1,77 @@
|
||||
@use "../nav/nav"
|
||||
@use "../index"
|
||||
$entry-width: 400px
|
||||
|
||||
canvas
|
||||
width: 100vw
|
||||
height: calc(100vh - 100px)
|
||||
|
||||
.blog-box
|
||||
display: flex
|
||||
flex-direction: column
|
||||
|
||||
.thumbnail
|
||||
height: 400px
|
||||
|
||||
.thumbnail
|
||||
max-width: $entry-width
|
||||
object-fit: cover
|
||||
object-position: 0 0
|
||||
|
||||
.spacer
|
||||
background: #393984FF
|
||||
flex-grow: 1
|
||||
|
||||
@media screen and (max-width: index.$phone)
|
||||
.spacer
|
||||
display: none
|
||||
|
||||
.titles
|
||||
font-family: Neuton, serif
|
||||
margin: 10px
|
||||
display: flex
|
||||
align-items: center
|
||||
|
||||
>h1
|
||||
flex-grow: 3
|
||||
text-align: left
|
||||
|
||||
>div
|
||||
flex-grow: 1
|
||||
text-align: center
|
||||
|
||||
h4
|
||||
color: grey
|
||||
|
||||
.articles
|
||||
z-index: -999
|
||||
display: flex
|
||||
flex-grow: 3
|
||||
justify-content: center
|
||||
margin-top: 100px
|
||||
flex-wrap: wrap-reverse
|
||||
flex-direction: row-reverse
|
||||
|
||||
.art-ctr
|
||||
display: flex
|
||||
flex-direction: row
|
||||
min-height: 100vh
|
||||
|
||||
ul
|
||||
display: flex
|
||||
flex-direction: column
|
||||
align-items: flex-start
|
||||
justify-items: center
|
||||
|
||||
li
|
||||
font-size: 20px
|
||||
|
||||
button
|
||||
display: flex
|
||||
flex-direction: column
|
||||
max-width: $entry-width
|
||||
margin: nav.$padding * 2
|
||||
&>div
|
||||
background: #282c34
|
||||
color: white
|
||||
padding: 0
|
||||
79
src/articles/mdx/gt-review.mdx
Normal file
@@ -0,0 +1,79 @@
|
||||
import techTower from "../../img/tech-tower.webp";
|
||||
import talking from "../../img/campus-life-essentials.png";
|
||||
import nav from "../../img/nav.jpg";
|
||||
import lecture from "../../img/lecturehall.jpg";
|
||||
|
||||
# Georgia Tech Review
|
||||
|
||||
<img src={techTower} alt="Georgia Tech's Tech Tower" width={400}/>
|
||||
|
||||
## Value: 5/5
|
||||
|
||||
I'll start this review by saying that Georgia Tech was mentioned as a [New Ivy by Forbes for the third year](https://news.gatech.edu/news/2026/04/09/georgia-tech-earns-top-c-suite-ranking-among-forbes-new-ivies).
|
||||
So clearly it's a good school, and is top 5 for Computer Science.
|
||||
If you don't know, I am from Illinois so I pay out-of-state tuition.
|
||||
Despite this, I'd say the 50k tuition is worth it for the great return.
|
||||
You can basically get into any internship, and FAANG if you apply early enough.
|
||||
|
||||
I found that I was denied from FAANG mostly because I applied too late. I mean, applications start the summer before, seesh. Like, for real?!
|
||||
|
||||
The price is a lot cheaper for in-state students. They have a program called [HOPE/Zell Miller](https://finaid.gatech.edu/undergraduate-types-aid/hope-zell-faqs)
|
||||
which waives the entire tuition given you maintained a 3.3+ GPA in high school. Funnily enough, the scholarship gets funded from state lottery revenue.
|
||||
|
||||
If you are considering whether to choose this school, remember that employers tend to sort Georgia Tech near the top of the resume pile.
|
||||
|
||||
## Campus: 4/5
|
||||
|
||||
<img src={nav} alt="Nav Dining Hall" width={400} />
|
||||
|
||||
The campus is in the center of Atlanta, but in midtown rather than more dangerous downtown.
|
||||
I like Atlanta more than Chicago because the culture is more present whereas Chicago is the city of work.
|
||||
I enjoy shopping in Little Five Points and on Ponce De Leon, of which there is no equivalent in Chicago.
|
||||
|
||||
The campus itself is a square mile or so, and everything is walkable, at furthest being 15 minutes.
|
||||
I wish the campus had more *neoclassical* architecture like older campuses, but the campus seems kinda *functionalist*.
|
||||
Even the older buildings look boring and smell moldy, but that's besides the point.
|
||||
|
||||
I'm always in the 3rd floor of the library.
|
||||
There they have lots of people to study around and plenty of monitors to dock your laptop.
|
||||
|
||||
## Classwork: 2/5
|
||||
|
||||
<img src={lecture} alt="Nav Dining Hall" width={400} />
|
||||
|
||||
### It feels like they make the classwork harder just to say they did.
|
||||
|
||||
Sometimes the classwork feels hard, stressful just to say that it is so. I don't mind that too much, but it gets annoying.
|
||||
|
||||
I'm sure this is a problem at all colleges, but the CS classwork just doesn't map to your internship.
|
||||
Everyone I talked to found that their classes contributed nothing to their internship experience.
|
||||
I'd say what you learn is more math-major-esc, nothing related to coding or programming or architecture.
|
||||
|
||||
I don't mention my classes on my resume because I know they haven't taught me anything that recruiters seek.
|
||||
I lean more into showcasing my projects and startup experiences, stuff where I've actually coded something.
|
||||
The classes nowadays just seem too theoretical and in the clouds, with nothing to code or a project to showcase.
|
||||
|
||||
## Social: 3/5
|
||||
|
||||
<img src={talking} alt="Campus photo" width={400}/>
|
||||
|
||||
### Everyone's the shy nerd type
|
||||
|
||||
Finding friends was no problem for me, and you kinda reach the end of the Markov chain eventually.
|
||||
|
||||
But I wish there were more events that bring people together. I met some people at my dorm but not too many.
|
||||
Everyone's too shy to talk to each other, so it can feel kind of lonely at times.
|
||||
People congregate to study during finals, and honestly a study group is a solid form of friendship here.
|
||||
|
||||
Dating is kind of impossible here, especially for me.
|
||||
You have your female friends, but you don't meet any new women expect at the bars.
|
||||
So most are dating their friends, which can turn awkward. I personally found that each of my female friends *tried to have a thing with me*.
|
||||
At the end of the day, *that* left me without any female friends, which obviously sucks.
|
||||
|
||||
## Conclusion: 4/5
|
||||
|
||||
I would recommend you to go to Georgia Tech, as the value is too good to pass up.
|
||||
But recognize that it is a *nerdy* school, and everyone is on the quiet side.
|
||||
Still, attending clubs, gatherings, and dorm meetings can help you expand your visions.
|
||||
Like Forbes mentioned, Georgia Tech is a new ivy, and the reputation hits exactly like you think it would.
|
||||
Choosing Georgia Tech is straight fire.
|
||||
73
src/articles/mdx/high-school.mdx
Normal file
@@ -0,0 +1,73 @@
|
||||
import allBlack from "../../img/IMG_3095.webp";
|
||||
import style from "../../img/2026-04-07-20-45-39-165.webp";
|
||||
import savvy from "../../img/2026-04-07-20-44-35-818.webp";
|
||||
import {ReactComponent as Nextcloud} from "../../img/Nextcloud Logo Vector.svg";
|
||||
import {ReactComponent as K8s} from "../../img/Kubernetes Logo Vector.svg";
|
||||
|
||||
# My high school experience
|
||||
|
||||
<img className="thumbnail" src={allBlack} width={400} alt="turtleneck thumbnail"/>
|
||||
|
||||
My first coding experience was in middle school playing Code Combat.
|
||||
You could say Python is the first language I learned, not particularly uncommon.
|
||||
That was probably the most fun I ever had in a middle school classroom.
|
||||
I was way ahead of class and even played in my free time.
|
||||
|
||||
## High School Extracurriculars
|
||||
|
||||
The first time I competed in my software engineering skills was FBLA. I did the Computer Programming event, which
|
||||
required us to setup a spreadsheet app that could record data and export into various formats. Funny thing is that
|
||||
my dad pulled an all-nighter to finish it. It was written in C# and using Windows Forms for desktop support.
|
||||
|
||||
I didn't do well in the event but was inspired to fix it based on the rubric they provided. This is where I learned C#
|
||||
and also their web support. [GitHub repo here](https://github.com/tymur999/CommunityServiceDBTracker).
|
||||
After C#, I learned React to grind and spam hackathons with my friends. Our stack included React or Next.js, Firebase, with
|
||||
Typescript. [My Devpost](https://devpost.com/tymur999) hosts all my hackathon projects, which include:
|
||||
- [DormUp](https://devpost.com/software/dormup) - roommate finder app
|
||||
- [ExamIn](https://devpost.com/software/examin) - Quizlet x APClassroom
|
||||
- [Mura](https://devpost.com/software/mura) - YouTube spin-off for learning
|
||||
- [RecycleBot](https://devpost.com/software/recyclebot-zmr3tx) - my first solo project
|
||||
|
||||
Not to flex, but every submission after my first hackathon has won some award.
|
||||
Nonetheless, hackathons helped us get comfortable with React in a short time limit.
|
||||
But of course, I like to be different, so this is my take on an abstract design.
|
||||
I'm proud of not using Bootstrap, that's so 2015.
|
||||
## Programming Hobby
|
||||
|
||||
<div className="row">
|
||||
<Nextcloud/>
|
||||
<K8s/>
|
||||
</div>
|
||||
|
||||
I began to experiment with Ubuntu on an old computer, and I enjoyed its ease of use and up-to-date repositories.
|
||||
I've been daily-driving Linux distros since 5 years ago. I decided to self-host all my applications
|
||||
through Kubernetes and Docker. I made a goal for myself to remove Big Brother companies from my stack,
|
||||
so replace Google Drive with Nextcloud, etc. My life goal is to be independent, and that extends to my data.
|
||||
|
||||
Additionally, I did a startup in high school with my friends called [Kiwoon Learning](https://kiwoonlearning.web.app/). The goal was to educate
|
||||
high school students on investing and financial independence. I worked on the backend and a bit of the frontend.
|
||||
No longer was it a side personal project, [Kiwoon](https://kiwoonlearning.web.app/) taught me how to develop an application for a hundred or so real users.
|
||||
|
||||
## The Graduation
|
||||
|
||||
<div className="row">
|
||||
<img src={style} width={500} alt="style superlative"/>
|
||||
<img src={savvy} width={500} alt="tech savvy superlative"/>
|
||||
</div>
|
||||
|
||||
On my graduation, I won the senior superlatives for best style and most tech savvy.
|
||||
I took the pictures with my friend Rahil who also won most tech savvy.
|
||||
We decided to duo the tech-savvy, and for best style, he took my picture outside some pines.
|
||||
In fact, I think the animation on the TV is my old personal website.
|
||||
|
||||
I also won the Visionary Scholarship, which boosted my confidence in my creative abilities.
|
||||
It really taught me to trust my intuition, like nothing else.
|
||||
While men tend to be logical, I like to feel my way through everything and listen to my gut.
|
||||
|
||||
I applied to various schools, around 21+. I had some issues because I maxed out CommonApp, so I applied to some
|
||||
schools directly on their websites. Unfortunately, I didn't get into University Of Illinois for CS+Math.
|
||||
That's wild since I got into Georgia Tech out-of-state but the state school denied me.
|
||||
The Princeton interview stressed me out, but I was deferred and then rejected, which I still treat as an accomplishment.
|
||||
|
||||
My top two choices were Michigan State and Georgia Tech, mostly because MSU was so cheap.
|
||||
I chose Georgia Tech at the end because a Georgia Tech degree just looks too good to pass up.
|
||||
66
src/articles/reader.sass
Normal file
@@ -0,0 +1,66 @@
|
||||
@use "../nav/nav"
|
||||
@use "../about/about"
|
||||
@use "../index"
|
||||
|
||||
.reader
|
||||
z-index: 9999
|
||||
font-family: Neuton, serif
|
||||
background: rgba(0,0,0,0.5)
|
||||
backdrop-filter: blur(5px)
|
||||
width: 100vw
|
||||
height: 100vh
|
||||
position: fixed
|
||||
top: 0
|
||||
left: 0
|
||||
|
||||
display: flex
|
||||
justify-content: center
|
||||
align-items: center
|
||||
|
||||
> article
|
||||
display: flex
|
||||
flex-direction: column
|
||||
align-items: center
|
||||
border-radius: 15px
|
||||
margin: auto
|
||||
overflow-y: scroll
|
||||
overflow-x: hidden
|
||||
background: white
|
||||
color: black
|
||||
height: 90vh
|
||||
|
||||
@media screen and (min-width: index.$phone)
|
||||
width: 800px
|
||||
|
||||
h1
|
||||
font-size: xxx-large
|
||||
h2
|
||||
font-size: xx-large
|
||||
h3
|
||||
font-size: x-large
|
||||
p
|
||||
font-size: large
|
||||
|
||||
.content
|
||||
max-width: 600px
|
||||
|
||||
.external-link
|
||||
color: inherit !important
|
||||
|
||||
.row
|
||||
margin: 30px 0
|
||||
display: flex
|
||||
flex-direction: row
|
||||
justify-content: center
|
||||
|
||||
.row>*
|
||||
width: 50%
|
||||
|
||||
.reader-close
|
||||
position: absolute
|
||||
align-self: flex-end
|
||||
font-size: large
|
||||
font-weight: bold
|
||||
color: red !important
|
||||
background: white
|
||||
border-radius: 999px
|
||||
|
Before Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 959 KiB |
|
Before Width: | Height: | Size: 13 MiB |
|
Before Width: | Height: | Size: 5.6 MiB |
|
Before Width: | Height: | Size: 385 KiB |
|
Before Width: | Height: | Size: 376 KiB |
BIN
src/img/12k_jupiter_rings.webp
Normal file
|
After Width: | Height: | Size: 215 KiB |
|
Before Width: | Height: | Size: 817 KiB |
BIN
src/img/2025-10-03-02-20-50-077.webp
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
src/img/2026-04-07-20-44-35-818.webp
Normal file
|
After Width: | Height: | Size: 239 KiB |
BIN
src/img/2026-04-07-20-45-39-165.webp
Normal file
|
After Width: | Height: | Size: 149 KiB |
BIN
src/img/2k_ceres_fictional.webp
Normal file
|
After Width: | Height: | Size: 493 KiB |
BIN
src/img/2k_haumea_fictional.webp
Normal file
|
After Width: | Height: | Size: 363 KiB |
BIN
src/img/2k_jupiter.webp
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
src/img/2k_makemake_fictional.webp
Normal file
|
After Width: | Height: | Size: 398 KiB |
BIN
src/img/2k_stars_milky_way.jpg
Normal file
|
After Width: | Height: | Size: 246 KiB |
BIN
src/img/DSC_5633.webp
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
1
src/img/Gitea-Logo.wine.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="800" width="1200" viewBox="-18.77673 -19.385925 162.73166 116.31555"><path d="M22.1597.5C12.613.473-.1796 7.2982.5279 24.404c1.1056 26.729 25.4566 29.2084 35.1917 29.423 1.068 5.0136 12.5218 22.3057 21.0018 23.2167h37.1528c22.2776-1.6678 38.9607-75.7567 26.5932-76.0382-46.7816 2.4769-49.9952 2.1384-88.5998 0C29.3726.9789 25.8953.5107 22.1596.5zm2.4913 9.459c1.3514 13.6926 3.5559 21.7035 8.0182 33.9434-11.3829-1.5047-21.0698-5.2244-22.8515-19.1099C8.8667 17.3813 12.2081 9.625 24.651 9.959z" fill="#609926" stroke="#428f29"/><g transform="translate(-5.5503 -33.1175)" fill="#fff"><rect ry="5.4826" transform="rotate(25.915)" y="18.2916" x="87.5087" height="34.7621" width="34.7621"/><path d="M79.805 57.359l3.241 1.61V35.2557h-3.2626z"/></g><g transform="translate(-5.5503 -33.1175)"><circle cx="49.0647" cy="90.0778" r="3.4745" transform="rotate(-19.796)" fill="#609926"/><circle cx="36.8104" cy="102.1049" r="3.4745" transform="rotate(-19.796)" fill="#609926"/><circle cx="46.4843" cy="111.4393" r="3.4745" transform="rotate(-19.796)" fill="#609926"/><path fill="#609926" d="M79.5402 58.9355l2.4017 1.1726-11.961 24.4975-2.4017-1.1727z"/><path d="M76.5581 68.1163c12.9759 6.3954 13.013 4.102 4.8909 20.9073" fill="none" stroke="#609926" stroke-width="2.68"/></g></svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 3.0 MiB |
BIN
src/img/IMG-0186.webp
Normal file
|
After Width: | Height: | Size: 934 KiB |
|
Before Width: | Height: | Size: 900 KiB |
BIN
src/img/IMG_20230531_000224_01.webp
Normal file
|
After Width: | Height: | Size: 215 KiB |
|
Before Width: | Height: | Size: 69 KiB |
BIN
src/img/IMG_20240725_175449_803.webp
Normal file
|
After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 1.4 MiB |
BIN
src/img/IMG_3071.webp
Normal file
|
After Width: | Height: | Size: 420 KiB |
BIN
src/img/IMG_3095.webp
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
1
src/img/Kubernetes Logo Vector.svg
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
1
src/img/Nextcloud Logo Vector.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 327.41"><defs><style>.cls-1{fill:#0082c9;}</style></defs><path class="cls-1" d="M500.22,336.29c-51.8,0-95.7,35.12-109.31,82.53a73.91,73.91,0,0,0-67.16-43C283.36,375.8,250,409.16,250,450a74.09,74.09,0,0,0,141.35,31.17,113.24,113.24,0,0,0,108.87,82.53c51.36,0,95.26-34.68,109.31-81.65A73.93,73.93,0,0,0,750,449.55c0-40.82-33.36-73.75-74.19-73.75a73.9,73.9,0,0,0-66.28,41.71C595.48,371,552,336.29,500.22,336.29Zm0,43.46A70.24,70.24,0,1,1,430,450,69.89,69.89,0,0,1,500.22,379.75Zm-176,39.51A30.73,30.73,0,1,1,293.46,450,30.54,30.54,0,0,1,324.19,419.26Zm351.62,0A30.73,30.73,0,1,1,645.08,450C645.52,432.87,658.69,419.26,675.81,419.26Z" transform="translate(-250 -336.29)"/><g id="g4571"><path class="cls-1" d="M377.84,616c12.19,0,19,8.67,19,21.68a2.29,2.29,0,0,1-2.27,2.27H361.74c.2,11.56,8.26,18.17,17.55,18.17a19.28,19.28,0,0,0,12-4.13c1.23-.83,2.27-.62,2.89.62l.62,1a2.06,2.06,0,0,1-.62,2.89,25.6,25.6,0,0,1-15.08,5c-13.42,0-23.74-9.71-23.74-23.75C355.54,624.89,365.45,616,377.84,616Zm12.6,19.41c-.41-9.5-6.2-14.25-12.8-14.25-7.64,0-14.25,5-15.7,14.25Z" transform="translate(-250 -336.29)"/><path class="cls-1" d="M458.79,622.61v-15.9a2.06,2.06,0,0,1,2.27-2.27h1.65c1.45,0,2.07.83,2.07,2.27v10.74h9.29a2.07,2.07,0,0,1,2.27,2.27v.62c0,1.45-.83,2.07-2.27,2.07h-9.29v22.71c0,10.53,6.4,11.77,9.91,12,1.86.2,2.48.62,2.48,2.27v1.24c0,1.44-.62,2.06-2.48,2.06-9.91,0-15.9-6-15.9-16.72Z" transform="translate(-250 -336.29)"/><path class="cls-1" d="M506.07,616a23.33,23.33,0,0,1,15.08,5.16c1,.82,1.24,1.86.2,3.1l-.62,1c-.82,1.24-1.85,1.24-3.09.41-2.07-1.44-6-4.13-11.36-4.13-9.91,0-17.76,7.44-17.76,18.38,0,10.74,7.85,18.17,17.76,18.17a19.07,19.07,0,0,0,12.8-4.75c1.24-.82,2.07-.62,2.89.62l.62.83a2.3,2.3,0,0,1-.62,3.09,25.37,25.37,0,0,1-16.1,5.79c-13.42,0-23.75-9.71-23.75-23.75C482.33,625.92,492.65,616,506.07,616Z" transform="translate(-250 -336.29)"/><path class="cls-1" d="M533.54,601.35c0-1.45-.83-2.28.62-2.28h1.65c1.44,0,3.72.83,3.72,2.28V650.7c0,5.78,2.68,6.4,4.74,6.6,1,0,1.86.62,1.86,2.07v1.45a2,2,0,0,1-2.27,2.27c-3.72,0-10.32-1.24-10.32-11.15Z" transform="translate(-250 -336.29)"/><path class="cls-1" d="M575.87,616c13.21,0,24,10.11,24,23.54a24,24,0,0,1-47.91,0C551.91,626.12,562.65,616,575.87,616Zm0,42.12c9.7,0,17.55-7.85,17.55-18.58,0-10.33-7.85-18-17.55-18a17.8,17.8,0,0,0-17.76,18C558.32,650.08,566.16,658.13,575.87,658.13Z" transform="translate(-250 -336.29)"/><path class="cls-1" d="M678.91,616a16.31,16.31,0,0,1,14.86,9.08H694a26.9,26.9,0,0,1-.21-3.51V601.14c0-1.45-.62-2.27.83-2.27h1.65c1.45,0,3.72.82,3.72,2.27V660c0,1.44-.62,2.27-2.07,2.27h-1.44c-1.45,0-2.27-.62-2.27-2.06v-3.51a10.19,10.19,0,0,1,.41-2.9h-.21a16.85,16.85,0,0,1-15.69,9.5c-12.18,0-19.82-9.7-19.82-23.74-.42-14,8-23.54,20-23.54Zm.2,42.12c7.64,0,14.66-5.37,14.66-18.38,0-9.29-4.75-18.17-14.45-18.17-8.05,0-14.66,6.61-14.66,18.17C664.87,650.9,670.65,658.13,679.11,658.13Z" transform="translate(-250 -336.29)"/><path class="cls-1" d="M302.06,662.47h1.65A2.06,2.06,0,0,0,306,660.2V616c0-7,7.64-12,16.32-12s16.31,5,16.31,12V660.4a2.06,2.06,0,0,0,2.27,2.27h1.65c1.45,0,2.07-.82,2.07-2.27V615.59c0-11.77-11.77-17.55-22.51-17.55h0c-10.32,0-22.09,5.78-22.09,17.55V660.2C300,661.64,300.62,662.47,302.06,662.47Z" transform="translate(-250 -336.29)"/><path class="cls-1" d="M646.69,617H645a2.07,2.07,0,0,0-2.27,2.27v25c0,7-4.54,13.42-13.42,13.42-8.67,0-13.42-6.4-13.42-13.42v-25a2.07,2.07,0,0,0-2.27-2.27H612c-1.44,0-2.06.83-2.06,2.27V646c0,11.77,8.67,17.55,19.41,17.55h0c10.74,0,19.41-5.78,19.41-17.55V619.31a1.84,1.84,0,0,0-2.07-2.27Z" transform="translate(-250 -336.29)"/><path id="path4165-9" class="cls-1" d="M442.27,616.83a2.18,2.18,0,0,0-1.45,1l-8.26,9.91-6.19,7.43-9.5-11.36-5.16-6.19a1.8,1.8,0,0,0-1.45-.83,3.33,3.33,0,0,0-1.65.62l-1.24,1c-1,.83-1,1.86-.2,3.1l8.25,9.91,7,8.26-10.12,12.19h0l-5.16,6.19a2.31,2.31,0,0,0,.2,3.3l1.24,1c1,.82,2.07.62,3.1-.42l8.26-9.91,6.19-7.43,9.5,11.36h0l5.16,6.19a1.94,1.94,0,0,0,3.1.21l1.24-1c1-.82,1-1.85.21-3.09l-8.26-9.91-7-8.26L440.2,628h0l5.17-6.19a2.33,2.33,0,0,0-.21-3.31l-1.24-1.23a1.71,1.71,0,0,0-1.65-.42Z" transform="translate(-250 -336.29)"/></g></svg>
|
||||
|
After Width: | Height: | Size: 4.1 KiB |
1
src/img/blog-box.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="#282c34" fill-opacity="1" d="M0,192L30,186.7C60,181,120,171,180,149.3C240,128,300,96,360,106.7C420,117,480,171,540,186.7C600,203,660,181,720,154.7C780,128,840,96,900,122.7C960,149,1020,235,1080,245.3C1140,256,1200,192,1260,186.7C1320,181,1380,235,1410,261.3L1440,288L1440,0L1410,0C1380,0,1320,0,1260,0C1200,0,1140,0,1080,0C1020,0,960,0,900,0C840,0,780,0,720,0C660,0,600,0,540,0C480,0,420,0,360,0C300,0,240,0,180,0C120,0,60,0,30,0L0,0Z"></path></svg>
|
||||
|
After Width: | Height: | Size: 524 B |
BIN
src/img/campus-life-essentials.png
Normal file
|
After Width: | Height: | Size: 2.9 MiB |
BIN
src/img/lecturehall.jpg
Normal file
|
After Width: | Height: | Size: 219 KiB |
|
Before Width: | Height: | Size: 1.3 MiB |
BIN
src/img/military.webp
Normal file
|
After Width: | Height: | Size: 339 KiB |
BIN
src/img/nav.jpg
Normal file
|
After Width: | Height: | Size: 172 KiB |
|
Before Width: | Height: | Size: 4.6 KiB |
BIN
src/img/nutrivend.webp
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
src/img/tech-tower.webp
Normal file
|
After Width: | Height: | Size: 66 KiB |
1
src/index.d.ts
vendored
@@ -1,7 +1,6 @@
|
||||
declare namespace NodeJS {
|
||||
interface ProcessEnv {
|
||||
readonly NODE_ENV: 'development' | 'production' | 'test';
|
||||
readonly PUBLIC_URL: string;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
29
src/index.sass
Normal file
@@ -0,0 +1,29 @@
|
||||
$phone: 750px
|
||||
|
||||
html, body
|
||||
margin: 0
|
||||
padding: 0
|
||||
font-family: Inter, sans-serif
|
||||
-webkit-font-smoothing: antialiased
|
||||
-moz-osx-font-smoothing: grayscale
|
||||
width: 100vw
|
||||
overflow-x: hidden
|
||||
|
||||
#root
|
||||
display: flex
|
||||
flex-direction: column
|
||||
min-height: 100vh
|
||||
background: black
|
||||
color: white
|
||||
|
||||
// disable image dragging
|
||||
img
|
||||
user-select: none
|
||||
pointer-events: none
|
||||
|
||||
button
|
||||
background: none
|
||||
border: none
|
||||
padding: 0
|
||||
color: white
|
||||
cursor: pointer
|
||||
@@ -1,30 +0,0 @@
|
||||
body {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: black;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
||||
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
||||
sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
color: white;
|
||||
}
|
||||
|
||||
// disable image dragging
|
||||
img {
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
||||
monospace;
|
||||
}
|
||||
|
||||
button {
|
||||
background: none;
|
||||
border: none;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom/client';
|
||||
import './index.scss';
|
||||
import './index.sass';
|
||||
import {RouterProvider} from "./router/RouterContext";
|
||||
import "@fontsource/inter"; // Defaults to weight 400
|
||||
import "@fontsource/neuton";
|
||||
|
||||
@@ -1,41 +1,86 @@
|
||||
import "./canvas.sass";
|
||||
import {motion} from "framer-motion";
|
||||
import "./canvas.scss";
|
||||
import {Canvas as ThreeCanvas, useFrame} from "@react-three/fiber";
|
||||
import {Vector3} from "three";
|
||||
import {Moon} from "./Moon";
|
||||
import {Stars} from "./Stars";
|
||||
import {Environment, Html, OrbitControls, Preload, useTexture} from "@react-three/drei";
|
||||
import Jupiter from "../img/2k_jupiter.webp";
|
||||
import Makemake from "../img/2k_makemake_fictional.webp";
|
||||
import Ceres from "../img/2k_ceres_fictional.webp";
|
||||
import Haumea from "../img/2k_haumea_fictional.webp";
|
||||
import MilkyWay from "../img/2k_stars_milky_way.jpg";
|
||||
import SaturnRings from "../img/12k_jupiter_rings.webp";
|
||||
import {useRef} from "react";
|
||||
import type {Mesh} from "three";
|
||||
import {Bloom, EffectComposer, Vignette} from "@react-three/postprocessing";
|
||||
|
||||
useTexture.preload([Jupiter, Makemake, Ceres, Haumea, MilkyWay, SaturnRings]);
|
||||
|
||||
export default function Canvas() {
|
||||
|
||||
// fade animation sync with loading
|
||||
return (
|
||||
<main className="canvas">
|
||||
<ThreeCanvas gl={{antialias: true, alpha: true}} >
|
||||
<Sphere/>
|
||||
<Moon radius={8} color="pink" step={0.01}/>
|
||||
<Moon radius={6} color="grey" step={0.02}/>
|
||||
<Moon radius={4} color="green" step={0.03}/>
|
||||
<Stars/>
|
||||
<directionalLight color="#E3A857" args={[1,10]} position={[100,10,100]} />
|
||||
</ThreeCanvas>
|
||||
<motion.h2 className="welcome" animate={{ rotate: 360 }}>
|
||||
<motion.main className="canvas">
|
||||
<section className="canvas-ctr">
|
||||
<ThreeCanvas camera={{position: [0,0,10]}} shadows dpr={[1, 2]}>
|
||||
<EffectComposer>
|
||||
<Bloom luminanceThreshold={0} luminanceSmoothing={0.9} />
|
||||
<Vignette eskil={false} offset={0.1} darkness={1.1} />
|
||||
</EffectComposer>
|
||||
<OrbitControls enablePan={false} enableZoom={false} />
|
||||
<Environment background files={MilkyWay}/>
|
||||
<Sun/>
|
||||
<Moons/>
|
||||
<Planet/>
|
||||
<Html center transform position={[0,0,2]}>
|
||||
<h1 className="welcome">
|
||||
Welcome to my blog
|
||||
</motion.h2>
|
||||
</main>
|
||||
</h1>
|
||||
</Html>
|
||||
<Preload all />
|
||||
</ThreeCanvas>
|
||||
</section>
|
||||
<h3 className="tooltip">
|
||||
Drag to orbit
|
||||
</h3>
|
||||
</motion.main>
|
||||
)
|
||||
}
|
||||
|
||||
function Sphere() {
|
||||
useFrame(state => {
|
||||
const { x, y } = state.pointer
|
||||
// Smoothly interpolate the camera position
|
||||
// We multiply by a factor (e.g., 5) to increase the range of movement
|
||||
state.camera.position.lerp(new Vector3(x * 10, y * 10, 5), 0.1)
|
||||
// Always keep the camera looking at the center
|
||||
state.camera.lookAt(0, 0, 0)
|
||||
})
|
||||
export function Sun() {
|
||||
return (
|
||||
<mesh position={[-100, 0, -100]}>
|
||||
<sphereGeometry args={[5, 32, 32]} />
|
||||
<meshBasicMaterial color={[10, 7, 3]} />
|
||||
<directionalLight intensity={2} position={[0, 0, 0]} />
|
||||
</mesh>
|
||||
)
|
||||
}
|
||||
|
||||
return <mesh position={[0,0,0]}>
|
||||
<sphereGeometry />
|
||||
<meshPhysicalMaterial color="blue" iridescence={.5} />
|
||||
function Moons() {
|
||||
const makemake = useTexture(Makemake);
|
||||
const haumea = useTexture(Haumea);
|
||||
const ceres = useTexture(Ceres);
|
||||
|
||||
return <>
|
||||
<Moon radius={8} color="pink" map={makemake} step={0.01}/>
|
||||
<Moon radius={6} color="grey" map={haumea} step={0.02}/>
|
||||
<Moon radius={4} color="green" map={ceres} step={0.03}/>
|
||||
</>
|
||||
}
|
||||
|
||||
|
||||
function Planet() {
|
||||
const colorMap = useTexture(Jupiter);
|
||||
const planetRef = useRef<Mesh>(null);
|
||||
|
||||
// add planet spin
|
||||
useFrame(() => {
|
||||
if(!planetRef.current) return;
|
||||
|
||||
planetRef.current.rotation.y += 0.005;
|
||||
});
|
||||
|
||||
return <mesh castShadow ref={planetRef} position={[0,0,0]}>
|
||||
<sphereGeometry args={[1, 32, 32]} />
|
||||
<meshPhysicalMaterial map={colorMap} color="orange" iridescence={1} />
|
||||
</mesh>
|
||||
}
|
||||
@@ -1,28 +1,29 @@
|
||||
import {useRef, useState} from "react";
|
||||
import {Mesh} from "three";
|
||||
import {useRef} from "react";
|
||||
import type {Mesh} from "three";
|
||||
import {useFrame} from "@react-three/fiber";
|
||||
|
||||
export function Moon(props: {radius: number, color: string, step: number}) {
|
||||
const {radius, color, step} = props;
|
||||
export function Moon(props: {radius: number, color: string, map: any, step: number}) {
|
||||
const {radius, color, map, step} = props;
|
||||
const moonRef = useRef<Mesh>(null);
|
||||
const [theta, setTheta] = useState(0);
|
||||
const thetaRef = useRef(0);
|
||||
|
||||
useFrame(() => {
|
||||
if(!moonRef.current) return;
|
||||
|
||||
moonRef.current.position.set(
|
||||
radius * Math.sin(theta),
|
||||
radius * Math.sin(thetaRef.current),
|
||||
0,
|
||||
radius * Math.cos(theta),
|
||||
)
|
||||
radius * Math.cos(thetaRef.current),
|
||||
);
|
||||
moonRef.current.rotation.y += 0.001;
|
||||
|
||||
setTheta(theta + step);
|
||||
thetaRef.current += step / 3;
|
||||
})
|
||||
|
||||
return (
|
||||
<mesh ref={moonRef} position={[0,0,0]}>
|
||||
<sphereGeometry args={[.5]} />
|
||||
<meshPhysicalMaterial color={color} iridescence={0.2} />
|
||||
<meshPhysicalMaterial color={color} map={map} iridescence={1} />
|
||||
</mesh>
|
||||
)
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
import {useMemo} from "react";
|
||||
|
||||
const RADIUS = 20;
|
||||
const COUNT = 100;
|
||||
type Coordinate = [number, number, number];
|
||||
export function Stars() {
|
||||
const positions = useMemo(() => {
|
||||
const positions: Coordinate[] = [];
|
||||
for(let i = 0; i < COUNT; i++) {
|
||||
const u = Math.random();
|
||||
const v = Math.random();
|
||||
|
||||
const theta = 2 * Math.PI * u;
|
||||
const phi = Math.acos(2 * v - 1);
|
||||
|
||||
// x = r*sin(theta)*cos(phi)
|
||||
// x = r*sin(theta)*sin(phi)
|
||||
// z = r*cos(phi)
|
||||
positions.push([
|
||||
RADIUS * Math.sin(phi) * Math.cos(theta),
|
||||
RADIUS * Math.sin(phi) * Math.sin(theta),
|
||||
RADIUS * Math.cos(phi),
|
||||
])
|
||||
}
|
||||
return positions;
|
||||
}, []);
|
||||
|
||||
return positions.map((coord, i) => <mesh key={i} position={coord}>
|
||||
<sphereGeometry args={[.1]} />
|
||||
<meshBasicMaterial />
|
||||
</mesh>
|
||||
)
|
||||
}
|
||||
23
src/index/canvas.sass
Normal file
@@ -0,0 +1,23 @@
|
||||
@use "../index"
|
||||
|
||||
.canvas
|
||||
display: flex
|
||||
flex-direction: column
|
||||
justify-content: center
|
||||
align-items: center
|
||||
|
||||
.canvas-ctr
|
||||
width: 100%
|
||||
height: calc(100vh - 100px)
|
||||
display: flex
|
||||
flex-direction: column
|
||||
flex-grow: 1
|
||||
|
||||
.welcome
|
||||
font-family: Neuton, serif
|
||||
|
||||
.tooltip
|
||||
align-self: flex-end
|
||||
position: fixed
|
||||
bottom: 0
|
||||
right: 15px
|
||||
@@ -1,19 +0,0 @@
|
||||
.canvas {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
background: black;
|
||||
color: white;
|
||||
z-index: -999;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.welcome {
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
top: calc(50% + 50px);
|
||||
font-family: Neuton;
|
||||
font-size: 30px;
|
||||
}
|
||||
@@ -1,14 +1,14 @@
|
||||
import {Link} from "../router/Link";
|
||||
import {motion} from "framer-motion";
|
||||
import {ROUTES} from "../router/Route";
|
||||
import ResumePdf from "../img/resume.pdf";
|
||||
import {motion} from "motion/react";
|
||||
import {Path} from "../router/router";
|
||||
|
||||
export function Links() {
|
||||
|
||||
return <div className="links">
|
||||
<Spacers length={ROUTES.length + 1} />
|
||||
<Link href="/" className="name">
|
||||
<motion.h1 className="name">Tymur Arsentiev</motion.h1>
|
||||
<motion.h1>Tymur Arsentiev</motion.h1>
|
||||
</Link>
|
||||
{
|
||||
ROUTES.map(([path, name]) =>
|
||||
@@ -20,14 +20,8 @@ export function Links() {
|
||||
<Link key={ResumePdf} href={ResumePdf} target="_blank">
|
||||
<h3>Resume</h3>
|
||||
</Link>
|
||||
<Link key="Github" href={"https://github.com/tymur999" as Path} target="_blank">
|
||||
<h3>GitHub</h3>
|
||||
</Link>
|
||||
</div>
|
||||
}
|
||||
|
||||
function Spacers(props: {length: number}) {
|
||||
const spacers = [];
|
||||
for (let i = 0; i < props.length; i++) {
|
||||
spacers.push(<div key={i}/>);
|
||||
}
|
||||
|
||||
return spacers;
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
import "./menu.scss";
|
||||
import {motion, animate} from "framer-motion";
|
||||
import {useEffect} from "react";
|
||||
|
||||
const articles = [
|
||||
"Test 123",
|
||||
"Hello",
|
||||
"Title of Album"
|
||||
];
|
||||
const hidden = -999;
|
||||
|
||||
export function Menu({active} : {active: boolean}) {
|
||||
useEffect(() => {
|
||||
if(active) {
|
||||
animate(".menu", {left : 0})
|
||||
} else {
|
||||
animate(".menu", {left : hidden})
|
||||
}
|
||||
}, [active]);
|
||||
|
||||
return (
|
||||
<motion.section initial={{left: hidden}} className="menu">
|
||||
{
|
||||
articles.map(title => <div key={title}>
|
||||
{title}
|
||||
</div>)
|
||||
}
|
||||
</motion.section>
|
||||
)
|
||||
}
|
||||
@@ -1,34 +1,12 @@
|
||||
import {useState} from "react";
|
||||
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
|
||||
import {faBars} from "@fortawesome/free-solid-svg-icons/faBars";
|
||||
import {Menu} from "./Menu";
|
||||
import {ReactComponent as Wave} from "../img/menu-wave.svg";
|
||||
import "./nav.scss";
|
||||
import "./nav.sass";
|
||||
import {Links} from "./Links";
|
||||
|
||||
export default function Nav() {
|
||||
const [active, setActive] = useState(false);
|
||||
|
||||
return <>
|
||||
return <div>
|
||||
<nav>
|
||||
<MenuButton active={active} setActive={setActive}/>
|
||||
<Links/>
|
||||
</nav>
|
||||
<Menu active={active}/>
|
||||
<Wave className="wave" />
|
||||
</>;
|
||||
}
|
||||
|
||||
function MenuButton(props : { active: boolean, setActive: (_:boolean) => void }) {
|
||||
const {active, setActive} = props;
|
||||
|
||||
return (
|
||||
<div className="menu-btn">
|
||||
<button>
|
||||
<FontAwesomeIcon icon={faBars} onClick={function() {
|
||||
setActive(!active);
|
||||
}}/>
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
</div>;
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
@use "./nav";
|
||||
|
||||
.menu {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: nav.$menu;
|
||||
z-index: 10;
|
||||
color: white;
|
||||
width: 25%;
|
||||
height: 100vh;
|
||||
|
||||
div {
|
||||
padding: nav.$padding;
|
||||
}
|
||||
}
|
||||
48
src/nav/nav.sass
Normal file
@@ -0,0 +1,48 @@
|
||||
@use "../index"
|
||||
$padding: 15px
|
||||
$menu: #282c34
|
||||
|
||||
.menu-btn
|
||||
align-self: center
|
||||
display: flex
|
||||
flex-direction: column
|
||||
align-items: center
|
||||
font-size: 30px
|
||||
|
||||
|
||||
// hide menu button and center links
|
||||
@media screen and (max-width: index.$phone)
|
||||
.menu-btn
|
||||
display: none
|
||||
position: absolute
|
||||
|
||||
.links
|
||||
justify-content: center
|
||||
|
||||
nav
|
||||
background-color: $menu
|
||||
padding: $padding
|
||||
display: flex
|
||||
align-items: center
|
||||
justify-content: center
|
||||
|
||||
.name
|
||||
margin: auto
|
||||
h1
|
||||
margin: auto 0
|
||||
font-size: 40px
|
||||
|
||||
.links
|
||||
flex-grow: 1
|
||||
justify-content: flex-end
|
||||
align-items: center
|
||||
display: flex
|
||||
flex-wrap: wrap
|
||||
gap: 15px
|
||||
|
||||
|
||||
.wave
|
||||
z-index: 999
|
||||
user-select: none
|
||||
pointer-events: none
|
||||
position: absolute
|
||||
@@ -1,57 +0,0 @@
|
||||
$padding: 15px;
|
||||
$menu: #282c34;
|
||||
|
||||
.menu-btn>button:hover {
|
||||
opacity: 90%;
|
||||
}
|
||||
|
||||
.menu-btn>button:active {
|
||||
opacity: 80%;
|
||||
}
|
||||
|
||||
.menu-btn {
|
||||
align-self: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
button {
|
||||
font-size: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
nav {
|
||||
background-color: $menu;
|
||||
padding: $padding;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
nav>a{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.name>h1 {
|
||||
margin: 0;
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
.name {
|
||||
margin: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.wave {
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.links {
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.nav {
|
||||
font-family: Inter;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import "./link.scss";
|
||||
import "./link.sass";
|
||||
|
||||
import React, {HTMLProps, ReactNode} from "react";
|
||||
import {useRouter} from "./RouterContext";
|
||||
@@ -7,7 +7,7 @@ import {Path} from "./router";
|
||||
export function Link(props: {href: Path, children : ReactNode, target?: '_blank' } & HTMLProps<HTMLAnchorElement>) {
|
||||
let {children, className, href} = props;
|
||||
const router = useRouter();
|
||||
className = `${className} link`;
|
||||
className = `${className ?? ""} link`.trim();
|
||||
|
||||
function onClick(event: React.MouseEvent) {
|
||||
// perform the default action if _blank
|
||||
@@ -27,3 +27,9 @@ export function Link(props: {href: Path, children : ReactNode, target?: '_blank'
|
||||
{children}
|
||||
</a>
|
||||
}
|
||||
|
||||
export function ExternalLink(props: HTMLProps<HTMLAnchorElement>) {
|
||||
return (
|
||||
<Link {...props} href={props.href as Path} className="external-link" target="_blank">{props.children}</Link>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -2,30 +2,40 @@ import React, {PropsWithChildren} from "react";
|
||||
import {useRouter} from "./RouterContext";
|
||||
import {Path} from "./router";
|
||||
|
||||
const Canvas = React.lazy(() => import("../index/Canvas"));
|
||||
const About = React.lazy(() => import("../about/AboutPage"));
|
||||
|
||||
export const ROUTES: [Path, string][] = [
|
||||
type Route = [Path, string];
|
||||
type Routes = [Route, Route, Route];
|
||||
export const ROUTES: Routes = [
|
||||
["/", "Home"],
|
||||
["/about", "About"],
|
||||
["/articles", "Articles"]
|
||||
];
|
||||
|
||||
function Route(props: PropsWithChildren & {path: Path}) {
|
||||
const {path, children} = props;
|
||||
function Route(props: PropsWithChildren & {route: Route}) {
|
||||
const {route: [path], children} = props;
|
||||
const router = useRouter();
|
||||
// remove search params
|
||||
const [cleanPath] = /\/?\w*[^?]/.exec(router.current) ?? [path];
|
||||
|
||||
return <>{router.current === path && children}</>
|
||||
return <>{cleanPath === path && children}</>
|
||||
}
|
||||
|
||||
|
||||
const Canvas = React.lazy(() => import("../index/Canvas"));
|
||||
const About = React.lazy(() => import("../about/AboutPage"));
|
||||
const ArticlesList = React.lazy(() => import("../articles/ArticlesList"));
|
||||
|
||||
export function Routes() {
|
||||
const [index, about, articles] = ROUTES;
|
||||
|
||||
return <>
|
||||
<Route path={ROUTES[0]![0]}>
|
||||
<Route route={index}>
|
||||
<Canvas/>
|
||||
</Route>
|
||||
<Route path={ROUTES[1]![0]}>
|
||||
<Route route={about}>
|
||||
<About/>
|
||||
</Route>
|
||||
<Route route={articles}>
|
||||
<ArticlesList/>
|
||||
</Route>
|
||||
</>
|
||||
}
|
||||
@@ -22,11 +22,11 @@ export function RouterProvider(props : PropsWithChildren) {
|
||||
}, []);
|
||||
|
||||
return <RouterContext.Provider value={{
|
||||
pushPage: function(newPath: Path) {
|
||||
pushPage(newPath: Path) {
|
||||
window.history.pushState(newPath,"", newPath);
|
||||
setPath(newPath as Path);
|
||||
},
|
||||
replacePage: function(newPath: Path) {
|
||||
replacePage(newPath: Path) {
|
||||
window.history.replaceState(newPath, "", newPath);
|
||||
setPath(newPath as Path);
|
||||
},
|
||||
|
||||
8
src/router/link.sass
Normal file
@@ -0,0 +1,8 @@
|
||||
.link
|
||||
color: white
|
||||
text-decoration: none
|
||||
text-align: center
|
||||
&:hover
|
||||
opacity: 90%
|
||||
&:active
|
||||
opacity: 80%
|
||||
@@ -1,13 +0,0 @@
|
||||
.link {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.link:hover {
|
||||
opacity: 90%;
|
||||
}
|
||||
|
||||
.link:active {
|
||||
opacity: 80%;
|
||||
}
|
||||
12
staticwebapp.config.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"routes": [
|
||||
{
|
||||
"route": "/about",
|
||||
"rewrite": "/"
|
||||
},
|
||||
{
|
||||
"route": "/articles",
|
||||
"rewrite": "/"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -4,7 +4,6 @@ import HtmlWebpackPlugin from "html-webpack-plugin";
|
||||
import MiniCssExtractPlugin from "mini-css-extract-plugin";
|
||||
import ReactRefreshWebpackPlugin from "@pmmmwh/react-refresh-webpack-plugin";
|
||||
import ForkTsCheckerWebpackPlugin from "fork-ts-checker-webpack-plugin";
|
||||
import {WebpackManifestPlugin} from "webpack-manifest-plugin";
|
||||
import TerserPlugin from "terser-webpack-plugin";
|
||||
import {Options as MDXOptions} from '@mdx-js/loader';
|
||||
import "webpack-dev-server";
|
||||
@@ -36,7 +35,7 @@ const config: webpack.Configuration = {
|
||||
oneOf: [
|
||||
// Image assets
|
||||
{
|
||||
test: [/\.(avif|bmp|.gif|jpe?g|png|pdf)$/],
|
||||
test: [/\.(avif|bmp|.gif|webp|jpe?g|png|pdf)$/],
|
||||
type: "asset",
|
||||
parser: {
|
||||
dataUrlCondition: {
|
||||
@@ -142,10 +141,6 @@ const config: webpack.Configuration = {
|
||||
template: path.resolve(import.meta.dirname, "public/index.html"),
|
||||
inject: true,
|
||||
}),
|
||||
new WebpackManifestPlugin({
|
||||
fileName: "manifest.json",
|
||||
publicPath: "/"
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
"process.env": JSON.stringify(process.env),
|
||||
}),
|
||||
|
||||