Skip to content

Enforce eslint and prettier rules with a pre-commit hook #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
27 changes: 14 additions & 13 deletions app/about/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
import React from "react"

const communityDescription = `
We're a community of developers of all skill levels, dedicated to fostering a fun and
educational environment. Hosted by Sam Holmes and a team of passionate organizers, our
monthly meetups offer an opportunity to network, learn, and showcase your projects. At
each event, you'll enjoy complimentary food and drinks during our networking lunch,
followed by a series of engaging presentations on various developer and engineering
topics. After the talks, we break into groups for casual networking, project showcases,
and coding help. Whether you're a seasoned developer or just starting out, there's
something for everyone. Be sure to bring your laptop if you'd like to share your latest
project or give a presentation. We look forward to meeting you and seeing what you're
excited about!
`
Comment on lines +3 to +14
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I resolved this same issue in my PR, but instead of factoring out the string, I kept it inline. That'd be preferable since this consts is single-use.


export default function About() {
return (
<main className="p-8 bg-gray-900 min-h-screen text-white">
Expand All @@ -13,19 +26,7 @@ export default function About() {
<section className="bg-gray-800 p-8 rounded-lg shadow-md mb-12">
<h2 className="text-3xl font-bold mb-4 text-center">About us</h2>
<div className="w-full flex justify-center">
<p className="mt-2 text-xl text-center max-w-screen-lg">
{" "}
We're a community of developers of all skill levels, dedicated to fostering a fun and
educational environment. Hosted by Sam Holmes and a team of passionate organizers, our
monthly meetups offer an opportunity to network, learn, and showcase your projects. At
each event, you'll enjoy complimentary food and drinks during our networking lunch,
followed by a series of engaging presentations on various developer and engineering
topics. After the talks, we break into groups for casual networking, project showcases,
and coding help. Whether you're a seasoned developer or just starting out, there's
something for everyone. Be sure to bring your laptop if you'd like to share your latest
project or give a presentation. We look forward to meeting you and seeing what you're
excited about!
</p>
<p className="mt-2 text-xl text-center max-w-screen-lg">{communityDescription}</p>
</div>
</section>

Expand Down