Skip to content

Commit

Permalink
chore: folder restructure
Browse files Browse the repository at this point in the history
  • Loading branch information
gargmegham committed May 29, 2024
1 parent f3b4e7c commit 5755120
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/background.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React, { lazy, Suspense } from "react";
import { useHydrated } from "@/hooks/useHydrated";

const DisplacementSphere = lazy(() =>
import("@/ui/three/displacement-sphere").then((module) => ({
import("@/ui/displacement-sphere/index").then((module) => ({
default: module.DisplacementSphere,
}))
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/projects.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";

import React, { forwardRef } from "react";
import ProjectSummary from "@/ui/three/project-summary";
import ProjectSummary from "@/ui/project-summary/index";

const Projects = forwardRef(({ visible }, ref) => {
console.info("Projects component loaded", visible, ref);
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import {
import { media } from "@/utils/style";
import { throttle } from "@/utils/throttle";
import { cleanRenderer, cleanScene, removeLights } from "@/utils/three";
import fragmentShader from "./displacement-sphere-fragment.glsl?raw";
import vertexShader from "./displacement-sphere-vertex.glsl?raw";
import styles from "./displacement-sphere.module.css";
import fragmentShader from "./fragment.glsl?raw";
import vertexShader from "./vertex.glsl?raw";
import styles from "./index.module.css";

const springConfig = {
stiffness: 30,
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Suspense, lazy, useState } from "react";
import { cssProps, media } from "@/utils/style";
import { useHydrated } from "@/hooks/useHydrated";
import { Highlight } from "@/ui/aceternity/hero-highlight";
import styles from "./project-summary.module.css";
import styles from "./index.module.css";

const Model = lazy(() =>
import("@/ui/model").then((module) => ({ default: module.Model }))
Expand Down
File renamed without changes.

0 comments on commit 5755120

Please sign in to comment.