Skip to content

Commit

Permalink
fix: setup 3d page with empty template
Browse files Browse the repository at this point in the history
  • Loading branch information
071yoon committed Jan 29, 2024
1 parent c1ea57d commit 4c6fe52
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 35 deletions.
2 changes: 2 additions & 0 deletions src/app/3d/gsapOptions.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { easingOptions, gsapOptionsTypeObj } from "../../types/gsapOption";

export const gsapOptions: gsapOptionsTypeObj[] = [
// example url
// https://codepen.io/GreenSock/pen/AWQprN
{
type: "xFrom",
min: -100,
Expand Down
39 changes: 4 additions & 35 deletions src/app/3d/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ export default function Block() {

return (
<PlaygroundContainer>
<OptionsContainer>
Still in Progress
{/* <OptionsContainer>
<Button onClick={() => setCounter(counter + 1)}>replay</Button>
{gsapOptions.map((item) => {
if (item.componentType === "select") {
Expand All @@ -98,7 +99,7 @@ export default function Block() {
/>
);
})}
</OptionsContainer>
</OptionsContainer> */}
<IPhoneX>
<InsideIPhone
setIsCode={setIsCode}
Expand All @@ -119,39 +120,7 @@ export default function Block() {
<div
style={{
width: "250px",
height: "70px",
backgroundColor: "#a9d3f3",
borderRadius: "1rem",
}}
/>
<div
style={{
width: "250px",
height: "70px",
backgroundColor: "#a9d3f3",
borderRadius: "1rem",
}}
/>
<div
style={{
width: "250px",
height: "70px",
backgroundColor: "#a9d3f3",
borderRadius: "1rem",
}}
/>
<div
style={{
width: "250px",
height: "70px",
backgroundColor: "#a9d3f3",
borderRadius: "1rem",
}}
/>
<div
style={{
width: "250px",
height: "70px",
height: "250px",
backgroundColor: "#a9d3f3",
borderRadius: "1rem",
}}
Expand Down

0 comments on commit 4c6fe52

Please sign in to comment.