Skip to content

Commit

Permalink
images
Browse files Browse the repository at this point in the history
  • Loading branch information
stormyy00 committed Dec 15, 2024
1 parent a82d627 commit 943b140
Show file tree
Hide file tree
Showing 9 changed files with 75 additions and 36 deletions.
Binary file added public/gallery/sw.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/gallery/sw2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/gallery/sw3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/gallery/sw4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/gallery/sw5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/cosplays/Cosplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Image from "next/image";
import React from "react";
import cosplaysframe from "@/public/frame/cosplaysframe.svg";
import Card from "../Card";
import { ITEMS } from "@/data/board";
import { Cosplays } from "@/data/images";
import { motion } from "framer-motion";

const Cosplay = () => {
Expand Down Expand Up @@ -67,7 +67,7 @@ const Cosplay = () => {
viewport={{ once: true }}
className="mx-5 flex w-full flex-wrap justify-center gap-20"
>
{ITEMS.map((item, index) => (
{Cosplays.map((item, index) => (
<motion.div
variants={containerVariants}
transition={{ duration: 0.9, type: "spring", bounce: 0.2 }}
Expand Down
4 changes: 2 additions & 2 deletions src/components/gallery/Creation.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";
import Card from "../Card";
import { ITEMS } from "@/data/creation";
import { Creations } from "@/data/images";
import Header from "../Header";
import { motion } from "framer-motion";
const containerVariants = {
Expand Down Expand Up @@ -58,7 +58,7 @@ const Creation = () => {
viewport={{ once: true }}
className="flex w-full flex-wrap justify-center gap-20"
>
{ITEMS.map((item, index) => (
{Creations.map((item, index) => (
<motion.div
variants={cardVariants}
transition={{ duration: 0.9, type: "spring", bounce: 0.2 }}
Expand Down
32 changes: 0 additions & 32 deletions src/data/creation.ts

This file was deleted.

71 changes: 71 additions & 0 deletions src/data/images.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
import one from "@/public/gallery/sw.jpg";
import two from "@/public/gallery/sw2.jpg";
import three from "@/public/gallery/sw3.jpg";
import four from "@/public/gallery/sw4.jpg";
import five from "@/public/gallery/sw5.jpg";

export const Creations = [
{
topText: "NAME",
bottomText: "CREATION",
image: one,
},
{
topText: "NAME",
bottomText: "CREATION",
image: two,
},
{
topText: "NAME",
bottomText: "CREATION",
image: three,
},
{
topText: "NAME",
bottomText: "CREATION",
image: four,
},
{
topText: "NAME",
bottomText: "CREATION",
image: five,
},
// {
// topText: "NAME",
// bottomText: "CREATION",
// image: "",
// },
];

export const Cosplays = [
{
topText: "NAME",
bottomText: "CREATION",
image: one,
},
{
topText: "NAME",
bottomText: "CREATION",
image: two,
},
{
topText: "NAME",
bottomText: "CREATION",
image: three,
},
{
topText: "NAME",
bottomText: "CREATION",
image: four,
},
{
topText: "NAME",
bottomText: "CREATION",
image: five,
},
// {
// topText: "NAME",
// bottomText: "CREATION",
// image: "",
// },
];

0 comments on commit 943b140

Please sign in to comment.