Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions src/components/MainMenu.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import React from "react";
import Title from "./Title";

// function onClick(){
// print();
// }
Title
function MainMenu(){
return(
<div className="flex justify-center items-center flex-col pt-20 w-500">
<Title/>
<button className="text-white border border-solid border-white p-4"> <span className="text-5xl">Start</span> </button>
<p className="text-white text-xs pt-5 w-80" >
This game contains flashing lights that may trigger seizures for individuals with photosensitive
epilepsy or other conditions. If you experience
any discomfort, dizziness, etc. during the game,
please take a break immediately and consult a
healthcare professional if necessary. Your safety
and well-being are important.
</p>
</div>
)
}

export default MainMenu;