Skip to content

Commit

Permalink
Responsiveness and style fix (#34)
Browse files Browse the repository at this point in the history
* room page responsiveness #23

* fix: responsiveness fixes
  • Loading branch information
khushbuT24 authored Sep 25, 2023
1 parent 899a1fd commit b8ad8cb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/deck.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Deck = ({ onVote, users, userName }) => {

const fibonacciNumbers = generateFibonacciSeries();
return (
<div className="join flex gap-4 p-2 flex-1 justify-center items-center">
<div className="join flex gap-4 p-2 flex-1 justify-center items-center flex-wrap">
{fibonacciNumbers.map((number, index) => (
<VoteCard onVote={onVote} number={number} key={index}></VoteCard>
))}
Expand Down
17 changes: 9 additions & 8 deletions src/components/pages/landingPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,25 @@ export default function LandingPage({
}) {
return (
<main className="mx-8">
<div className="container mx-auto flex p-5 md:p-0 lg:p-0 items-center">
<div
className="container mx-auto flex p-5 md:p-0 lg:p-0 justify-center"
style={{ height: `calc(100vh - 82px)` }}
>
<div className="flex-1 flex relative z-10">
<div className="flex flex-col gap-2 max-w-sm lg:max-w-lg flex-1">
<h1 className="font-bold text-5xl text-primary mt-12 mb-6">
<h1 className="font-bold text-3xl md:text-5xl text-primary md:mt-12 md:mb-6">
Play Your Cards Right with Planning Poker!
</h1>
<div className="hidden md:block py-6 text-lg">
<div className="md:block py-6 text-lg">
<p>Simplify Estimations Effortlessly!</p>
<p>
Our
<span className="underline decoration-wavy decoration-rose-500 mx-1">
Free,
</span>
<span className="underline decoration-wavy decoration-yellow-500 me-1">
<span className="font-bold text-green-400 mx-1">Free,</span>
<span className="font-bold text-green-400 me-1">
No-Sign-In,
</span>
Open-Source App Ensures Ultimate
<span className="underline decoration-wavy decoration-green-500 mx-1">
<span className="font-bold text-green-400 mx-1">
Data Privacy.
</span>
Intuitive and Hassle-Free
Expand Down

0 comments on commit b8ad8cb

Please sign in to comment.