Skip to content

Commit

Permalink
update page.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
mitch1009 committed Sep 19, 2024
1 parent e65af02 commit a95b023
Showing 1 changed file with 12 additions and 24 deletions.
36 changes: 12 additions & 24 deletions components/src/app/cards/page.tsx
Original file line number Diff line number Diff line change
@@ -1,27 +1,15 @@
import React from "react";
import { QuizCards } from "../../components";
import { files } from "@/components/QuizCards";
import { QuizCards } from "../../components";
import { CardsHolder, files } from "@/components/QuizCards";

function CardsComponent() {
return (
<div
style={{
backgroundImage: 'url("/cards/flag.svg")',
backgroundSize: 'cover',
backgroundPosition: 'center',
height: '100vh',
width: '100vw',
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
}}
>
<div className="p-4 m-6 rounded-lg shadow-md w-full bg-white">
<QuizCards url="cards" files={files} />
</div>
</div>
);
}

export default CardsComponent;

return (
<CardsHolder>
<QuizCards url="cards" files={files} />
</CardsHolder>


);
}

export default CardsComponent;

0 comments on commit a95b023

Please sign in to comment.