First commit of ayerble.com
Create vite configuration Create Three.js animation background Add docker support
This commit is contained in:
11
src/main.ts
Normal file
11
src/main.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import './style.css';
|
||||
import { initBackground } from './background';
|
||||
import { initNavigation } from './navigation';
|
||||
|
||||
const canvas = document.getElementById('bg-canvas') as HTMLCanvasElement | null;
|
||||
if (canvas) {
|
||||
initBackground(canvas);
|
||||
}
|
||||
|
||||
initNavigation();
|
||||
|
||||
Reference in New Issue
Block a user