Skip to content

Commit

Permalink
Merge branch 'main' into airbnb-experiences-clone
Browse files Browse the repository at this point in the history
  • Loading branch information
aaqib605 authored Jan 17, 2024
2 parents 5b65e4d + 0db387d commit 6d2c867
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 18 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"lodash": "^4.17.21",
"lodash.memoize": "^4.1.2",
"mathjs": "^11.11.2",
"node-sass": "^8.0.0",
"p5": "^1.7.0",
"plays": "^0.7.0",
"react": "^18.2.0",
"react-codemirror2": "^7.3.0",
"react-color": "^2.19.3",
Expand Down Expand Up @@ -70,6 +70,7 @@
"redux-persist": "^6.0.0",
"remarkable": "^2.0.1",
"reselect": "^4.1.8",
"sass": "^1.69.6",
"styled-components": "^6.1.0",
"swiper": "^9.4.1",
"url": "^0.11.3",
Expand Down
6 changes: 5 additions & 1 deletion src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ textarea {

html,
body {
height: 100%;
height: auto;
padding: 0;
margin: 0;
font-family: var(--ff-default);
Expand Down Expand Up @@ -356,6 +356,10 @@ small {
}
}

.app-footer-text {
color: var(--color-neutral-80);
}

/* Buttons */
.btn-default {
border: solid 1px var(--color-neutral-60);
Expand Down
4 changes: 2 additions & 2 deletions src/common/defaultBanner/DefaultBanner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ const DefaultBanner = () => {
</a>
</div>
<div className="body-desc">
Check out our bouquet of events{' '}
Check out our bouquet of{' '}
<Link className="home-anchor" target="_blank" to="https://hustles.reactplay.io/">
<span className="text text-secondary">here</span>
<span className="text text-secondary">events</span>
</Link>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/common/footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Footer = () => {
<footer className="app-footer text-center">
<hr className="separater" />
<div className="flex justify-center items-center py-2">
<p>
<p className="app-footer-text">
ReactPlay - The MIT License (MIT) Copyright &copy;
{new Date().getFullYear()} . Powered by{' '}
<Link className="text-link-default" to="/tech-stacks">
Expand Down
7 changes: 4 additions & 3 deletions src/common/header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ const Header = () => {

return (
<>
{process.env.REACT_APP_ACTIVITIES_ON === 'true' && showHideBits.showActivityTimer && (
<Countdown date={new Date(1675209600000)} renderer={activityTimerRenderer} />
)}
<header
className={`app-header ${
showHideBits.setHeaderStyle
Expand All @@ -116,11 +119,9 @@ const Header = () => {
<div className="app-header-search">
{showHideBits.showSearch && <SearchBox reset={reset} />}
</div>

<HeaderNav showBrowse={showHideBits.showBrowse} />
</header>
{process.env.REACT_APP_ACTIVITIES_ON === 'true' && showHideBits.showActivityTimer && (
<Countdown date={new Date(1675209600000)} renderer={activityTimerRenderer} />
)}
</>
);
};
Expand Down
5 changes: 3 additions & 2 deletions src/common/header/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}

.app-header-home {
position: fixed;
position: sticky;
}

.app-header-home.app-header-home--promo {
Expand Down Expand Up @@ -503,7 +503,8 @@
justify-content: center;
background-color: #fad900;
min-height: 32px;
position: fixed;
position: sticky;
top: 0;
font-size: var(--fs-sm);
line-height: var(--fs-sm);
z-index: 9;
Expand Down
7 changes: 6 additions & 1 deletion src/common/home/HomeIdeas.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ const HomeIdeas = () => {
<div className="home-ideas">
<FaLightbulb className="icon" color="var(--color-brand-primary)" size="48px" />
<p className="ideas-lead">Not sure how to get started?</p>
<p className="ideas-title">We have got lot of ideas</p>
<p className="title-primary">
We have got lot of{' '}
<strong>
<span>ideas</span>
</strong>
</p>
<Link className="home-anchor" to="/ideas">
<span className="text">Get started with some ideas</span>
</Link>
Expand Down
1 change: 1 addition & 0 deletions src/common/home/Sponsors.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ const Sponsors = () => {
</a>
))} */}
<a
aria-label="Sponsor"
className="backers-cta"
href="https://github.com/sponsors/reactplay"
rel="noreferrer"
Expand Down
3 changes: 1 addition & 2 deletions src/common/home/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
background: -webkit-linear-gradient(180deg, rgba(1, 4, 38, 1) 0%, rgba(76, 91, 94, 1) 100%);
background: linear-gradient(180deg, rgba(1, 4, 38, 1) 0%, rgba(76, 91, 94, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#010426", endColorstr="#4c5b5e", GradientType=1);
padding: 6rem 0 2rem 0;
width: 100%;
overflow-x: hidden;
min-height: 100vh;
Expand All @@ -24,7 +23,7 @@
.app-home-body .body-title {
margin-top: 3.2rem;
margin-bottom: 1rem;
font-family: var(--ff-accent);
font-family: var(--ff-accent);
font-size: var(--fs-xxl);
color: var(--color-neutral-10);
text-align: center;
Expand Down
6 changes: 1 addition & 5 deletions src/plays/schulte-tables/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
flex-direction: column;
}

h1 {
text-align: center;
}

.game-title {
text-align: center;
font-size: 4rem;
Expand Down Expand Up @@ -66,4 +62,4 @@ h1 {
max-width: 500px;
text-align: center;
margin: 2rem auto;
}
}

0 comments on commit 6d2c867

Please sign in to comment.