Skip to content

Commit

Permalink
Merge pull request #86 from UoaWDCC/061_deiza-component
Browse files Browse the repository at this point in the history
061 Deiza Component
  • Loading branch information
daisy-of-the-valley authored Jul 22, 2024
2 parents f26bd89 + 6096d7f commit 95cfe0f
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions next/app/test/deiza/mycomponent/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import DeizaComponent from "@/components/dev/DeizaComponent";

export default function MyComponent() {
return <DeizaComponent />;
}
3 changes: 3 additions & 0 deletions next/app/test/nate/mycomponent/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ import NateComponent from "@/components/dev/NateComponent";
export default function MyComponent() {
return <NateComponent />;
}



17 changes: 17 additions & 0 deletions next/components/dev/DeizaComponent.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
export default function DeizaComponent() {
return (
<div className="bg-gradient-to-b from-pink-300 to-honeydew-300 p-10 rounded-lg shadow-lg text-center">
<h1 className="text-4xl font-mono font-bold text-white mb-4">Deiza's Component</h1>
<p className="text-lg text-white font-mono font-bold mb-4">Hello and Welcome :D This is my component!!</p>
{/* <button className="bg-green-200 hover:bg-cyan-500 text-white font-bold py-2 px-4 rounded transition-transform transform hover:scale-110">
Doesn't do much yet!
</button> */}
<button className="bg-green-200 hover:bg-cyan-500 text-white font-mono font-bold p-2.5 rounded transition-transform transform hover:scale-110">
Doesn't do much yet!
</button>
</div>
);
}



0 comments on commit 95cfe0f

Please sign in to comment.