Skip to content
Open
Show file tree
Hide file tree
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
Binary file added public/howtoplay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ import GameModesList from "./components/GameMode/GameModesList";
import Footer from "./components/Footer";
import { RecentActivity } from "./components/RecentActivity";
import { mockActivities } from "./models/recentActivity";
import HowToPlay from './components/HowToPlay';

const Home = () => (
<>
<HeroSection />
<HowToPlay />
<WhyShouldYouPlaySection />
<ContributorsSection />
<FaqsSection />
Expand Down
22 changes: 22 additions & 0 deletions src/components/HowToPlay.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import howtoplay from "../../public/howtoplay.png";

const HowToPlay = () => {
return (
<section
className="relative overflow-hidden px-6 py-32 lg:px-20 text-white"
aria-label="Hero Section"
>
<div className="mt-[20px] mb-[80px]">
<h1 className="text-[45px] text-center mb-[30px]">How To Play</h1>
<h3 className="text-[38px]">Welcome to LogiQuest</h3>
<p className="text-[28px]">Get ready to test your logic and knowledge! Here’s a quick guide to help you start your journey.</p>
</div>

<div>
<img src={howtoplay} alt="How to play LogiQuest" className="w-full h-auto object-contain mt-8"/>
</div>
</section>
);
};

export default HowToPlay;