Skip to content

Commit

Permalink
fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fatmahussein committed Dec 20, 2024
1 parent b7f238d commit ccd41be
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
3 changes: 1 addition & 2 deletions app/javascript/components/PageTitle.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import NewLogo from 'components/icons/NewLogo';
import 'stylesheets/page-title';

const PageTitle = ({ text, altText, children }) => {
const PageTitle = ({ text, altText, children }) => {
return (
<div className="page-title">
<NewLogo className="new-logo" />
Expand All @@ -13,7 +13,6 @@ const PageTitle = ({ text, altText, children }) => {
</h1>
{children}
</div>

</div>
);
};
Expand Down
22 changes: 12 additions & 10 deletions app/javascript/components/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const Home = () => {
},

{
image: isMobile ? Fatuma : isTablet ? fifth : Euruko2022 ,
image: isMobile ? Fatuma : isTablet ? fifth : Euruko2022,
},
{
image: isMobile ? London2023 : isTablet ? kaigi : Berlin,
Expand All @@ -61,24 +61,26 @@ const Home = () => {
<SharedLayout>
<section className="hero-container mt-2rem">
<div className="work-in-progress">
<h1 className='font-besley text-lg'>🚧 Website Redesign in Progress 🚧</h1>
<p className='font-besley text-base'>You might spot old branding, broken links, or other inconsistencies. We're on it!</p>
</div>
<h1 className="font-besley text-lg">🚧 Website Redesign in Progress 🚧</h1>
<p className="font-besley text-base">
You might spot old branding, broken links, or other inconsistencies.
We're on it!
</p>
</div>
<div className="hero">
<div className="splash-background">
<SplashBackground className="w-full" />
</div>
<PageTitle text="Wnb.rb" altText="Women and Non-Binary Rubyists">

<p className="mt-3 font-besley text-base">
A virtual community for women and non-binary Rubyists.
</p>

<a href="/join-us">
<Button type="secondary" className="mt-3">
Join WNB.rb
</Button>
</a>
<a href="/join-us">
<Button type="secondary" className="mt-3">
Join WNB.rb
</Button>
</a>
</PageTitle>
</div>
</section>
Expand Down

0 comments on commit ccd41be

Please sign in to comment.