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

chore: install @halvaradop/ui-button dependency #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"@halvaradop/ui-button": "^0.3.1",
"framer-motion": "^11.2.13",
"next": "14.2.3",
"react": "^18",
Expand Down
4 changes: 2 additions & 2 deletions app/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Image from "next/image"
import Link from "next/link"
import { Button } from "@/ui/custom/button"
import { Button } from "@halvaradop/ui-button"
import { UtilitiesSection } from "@/ui/utilities-section"
import hero from "@/assets/hero-mobile.svg"

Expand All @@ -16,7 +16,7 @@ const Index = () => {
It is a dependency that extends the utilities offered by TailwindCSS,
complementing the selector and text styles, as well as other utilities.
</p>
<Button className="mx-auto" fullWidth={false}>
<Button className="mx-auto border-gray-200 bg-gray-200" variant="base" fullWidth={false}>
<Link href="/">Get Started</Link>
</Button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/src/ui/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const Footer = () => {
<Image src={github} alt="github icon" />
</Link>
</figure>
<p className="mt-8 col-span-2 text-center lg:col-span-1 lg:m-0">&#169;​ 2024, TailwindCSS Utilities</p>
<p className="mt-8 col-span-2 text-center lg:col-span-1 lg:m-0">&#169;​ 2024 halvaradop</p>
</section>
</footer>
)
Expand Down
1 change: 1 addition & 0 deletions app/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const config: Config = {
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/ui/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"node_modules/@halvaradop/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
Expand Down
Loading