diff --git a/apps/www/components/LaunchWeek/14/canvas.tsx b/apps/www/components/LaunchWeek/14/TicketCanvas.tsx similarity index 100% rename from apps/www/components/LaunchWeek/14/canvas.tsx rename to apps/www/components/LaunchWeek/14/TicketCanvas.tsx diff --git a/apps/www/apps/www/components/LaunchWeek/14/AsciiEffect.ts b/apps/www/components/LaunchWeek/14/TicketScene.ts similarity index 100% rename from apps/www/apps/www/components/LaunchWeek/14/AsciiEffect.ts rename to apps/www/components/LaunchWeek/14/TicketScene.ts diff --git a/apps/www/components/LaunchWeek/14/AsciiEffect.ts b/apps/www/components/LaunchWeek/14/effects/AsciiEffect.ts similarity index 100% rename from apps/www/components/LaunchWeek/14/AsciiEffect.ts rename to apps/www/components/LaunchWeek/14/effects/AsciiEffect.ts diff --git a/apps/www/components/LaunchWeek/14/colored-texture-shader.ts b/apps/www/components/LaunchWeek/14/effects/colored-texture-shader.ts similarity index 100% rename from apps/www/components/LaunchWeek/14/colored-texture-shader.ts rename to apps/www/components/LaunchWeek/14/effects/colored-texture-shader.ts diff --git a/apps/www/components/LaunchWeek/14/crt-shader.ts b/apps/www/components/LaunchWeek/14/effects/crt-shader.ts similarity index 100% rename from apps/www/components/LaunchWeek/14/crt-shader.ts rename to apps/www/components/LaunchWeek/14/effects/crt-shader.ts diff --git a/apps/www/components/LaunchWeek/14/glitch.ts b/apps/www/components/LaunchWeek/14/effects/glitch.ts similarity index 100% rename from apps/www/components/LaunchWeek/14/glitch.ts rename to apps/www/components/LaunchWeek/14/effects/glitch.ts diff --git a/apps/www/components/LaunchWeek/14/helpers.ts b/apps/www/components/LaunchWeek/14/helpers.ts index f23a8f6b0cb..80bc9c08179 100644 --- a/apps/www/components/LaunchWeek/14/helpers.ts +++ b/apps/www/components/LaunchWeek/14/helpers.ts @@ -5,12 +5,12 @@ import { RenderPass } from 'three/examples/jsm/postprocessing/RenderPass.js' import { UnrealBloomPass } from 'three/examples/jsm/postprocessing/UnrealBloomPass.js' import { ShaderPass } from 'three/examples/jsm/postprocessing/ShaderPass.js' import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js' -import { GlitchPass } from './glitch' -import { CRTShader } from './crt-shader' +import { GlitchPass } from './effects/glitch' +import { CRTShader } from './effects/crt-shader' import { FontLoader } from 'three/examples/jsm/loaders/FontLoader.js' import { TextGeometry } from 'three/examples/jsm/geometries/TextGeometry.js' import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls' -import { coloredTextureMaterial } from './colored-texture-shader' +import { coloredTextureMaterial } from './effects/colored-texture-shader' /** * Helper to simplifies controlling requestAnimationFrame diff --git a/apps/www/apps/www/components/LaunchWeek/14/helpers.ts b/apps/www/components/LaunchWeek/14/models/Ticket.ts similarity index 100% rename from apps/www/apps/www/components/LaunchWeek/14/helpers.ts rename to apps/www/components/LaunchWeek/14/models/Ticket.ts diff --git a/apps/www/components/LaunchWeek/14/ticket.ts b/apps/www/components/LaunchWeek/14/models/TicketElements.ts similarity index 100% rename from apps/www/components/LaunchWeek/14/ticket.ts rename to apps/www/components/LaunchWeek/14/models/TicketElements.ts diff --git a/apps/www/components/LaunchWeek/14/scenes/DefaultTicketScene.ts b/apps/www/components/LaunchWeek/14/scenes/DefaultTicketScene.ts new file mode 100644 index 00000000000..e69de29bb2d diff --git a/apps/www/components/LaunchWeek/14/scenes/GlitchTicketScene.ts b/apps/www/components/LaunchWeek/14/scenes/GlitchTicketScene.ts new file mode 100644 index 00000000000..e69de29bb2d diff --git a/apps/www/components/LaunchWeek/14/utils/TextureUtils.ts b/apps/www/components/LaunchWeek/14/utils/TextureUtils.ts new file mode 100644 index 00000000000..e69de29bb2d diff --git a/apps/www/components/LaunchWeek/14/utils/ThreeSetup.ts b/apps/www/components/LaunchWeek/14/utils/ThreeSetup.ts new file mode 100644 index 00000000000..e69de29bb2d diff --git a/apps/www/pages/launch-week/14/index.tsx b/apps/www/pages/launch-week/14/index.tsx index 347cab0d4c3..58e14b8ea8f 100644 --- a/apps/www/pages/launch-week/14/index.tsx +++ b/apps/www/pages/launch-week/14/index.tsx @@ -1,5 +1,5 @@ import { NextSeo } from 'next-seo' -import { LwCanvas } from '~/components/LaunchWeek/14/canvas' +import { LwCanvas } from '~/components/LaunchWeek/14/TicketCanvas' import DefaultLayout from '~/components/Layouts/Default' import SectionContainer from '~/components/Layouts/SectionContainer' import { LW14_DATE, LW14_TITLE, LW14_URL, SITE_ORIGIN } from '~/lib/constants'