Skip to content
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

Create button component #6

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Create button component #6

wants to merge 1 commit into from

Conversation

benborgers
Copy link
Member

@benborgers benborgers commented Oct 20, 2024

Description

Builds a standard reusable button component. The button is currently visible on the index (/) page.

Also does some one-time cleanup on the boilerplate that came with Next.js.

Issues

Half of #2.

Screenshots

Figma Implementation

Test

Open / and see the buttons!

Possible Downsides

None that I can think of!

Additional Documentations

See typed props in app/components/button.tsx.

@benborgers benborgers changed the base branch from main to dev October 20, 2024 22:46
@benborgers benborgers requested a review from sristii October 20, 2024 22:46
@benborgers benborgers changed the title Ben/buttons Create button component Oct 20, 2024
Copy link
Collaborator

@sristii sristii left a comment

Choose a reason for hiding this comment

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

AWESOME JOB! ty for the work

@@ -1,101 +1,29 @@
import Image from "next/image";
import Button from "@/app/components/button";
import { EnvelopeIcon } from "@heroicons/react/20/solid";
Copy link
Collaborator

Choose a reason for hiding this comment

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

LOOKS GREAT SO FAR - can we match the design a bit more by changing this to be the outline version of the icon, instead of solid?

Suggested change
import { EnvelopeIcon } from "@heroicons/react/20/solid";
import { EnvelopeIcon } from "@heroicons/react/20/outline";

if there was a specific reason for using solid icons tho, nw! just document why :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants