diff --git a/frontend/word-guessing-game/src/GamePage/Rules.css b/frontend/word-guessing-game/src/GamePage/Rules.css new file mode 100644 index 0000000..1c503bb --- /dev/null +++ b/frontend/word-guessing-game/src/GamePage/Rules.css @@ -0,0 +1,22 @@ +/* Rules.css */ +.rules-container { + background-color: #f0f0f0; + padding: 20px; + border-radius: 5px; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); + } + + .rules-title { + font-size: 24px; + margin-bottom: 10px; + } + + .rules-list { + list-style-type: disc; + padding-left: 20px; + } + + .rules-list li { + font-size: 16px; + margin-bottom: 10px; + } \ No newline at end of file diff --git a/frontend/word-guessing-game/src/GamePage/Rules.js b/frontend/word-guessing-game/src/GamePage/Rules.js new file mode 100644 index 0000000..01cddd8 --- /dev/null +++ b/frontend/word-guessing-game/src/GamePage/Rules.js @@ -0,0 +1,20 @@ +// Rules.js +import React from 'react'; +import './Rules.css'; // Import the CSS file for styling + +function Rules() { + return ( +
+

Rules to Play 'ekreb'

+ +
+ ); +} + +export default Rules; \ No newline at end of file