-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from ahmed-sudani/Rounded-scroll-button
add rounded scroll button
- Loading branch information
Showing
2 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
import test from "./test_file"; | ||
import test1 from "./test1_file"; | ||
import see_more1 from './see_more1' | ||
import downloadnow from './download_now1.jsx' | ||
import see_more1 from "./see_more1"; | ||
import downloadnow from "./download_now1.jsx"; | ||
import deleteButton from "./delete_button"; | ||
import cardWithButton from "./card_with_button_button1"; | ||
import settingButton from "./rectangle_setting"; | ||
|
||
|
||
import roundedScrollButton from "./rounded_scroll_button"; | ||
|
||
const buttonCollections = [ | ||
{componentName: "button2", component: test1}, | ||
{componentName: "See more button", component: see_more1}, | ||
{componentName: "Card with button", component: cardWithButton}, | ||
{componentName: "Delete button", component: deleteButton}, | ||
{componentName: "Download now button", component: downloadnow}, | ||
{ componentName: "Setting button", component: settingButton }, | ||
{componentName: "Setting button", component: settingButton}, | ||
{componentName: "Rounded scroll button", component: roundedScrollButton}, | ||
]; | ||
|
||
export default buttonCollections; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { stripIndent } from "react-codepen-prefill-embed"; | ||
|
||
const roundedScrollButton = stripIndent`<div class="bg-gray-50"> | ||
<div class="mx-auto max-w-7xl py-12 px-4 sm:px-6 lg:flex lg:items-center lg:justify-between lg:py-16 lg:px-8"> | ||
<h2 class="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl"> | ||
<span class="block">Ready to dive in?</span> | ||
<span class="block text-indigo-600">Start your free trial today.</span> | ||
</h2> | ||
<div class="mt-8 flex lg:mt-0 lg:flex-shrink-0"> | ||
<div class="inline-flex rounded-full border-2 border-black hover:border-gray-300"> | ||
<a | ||
href="#" | ||
class="inline-flex flex-col items-center justify-center rounded-full border border-transparent font-bold gap-1 w-28 h-28 hover:bg-gray-200 text-base text-xs"> | ||
<span class="mx-2"> | ||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="4" stroke="currentColor" class="w-6 h-6"> | ||
<path stroke-linecap="round" stroke-linejoin="round" d="M19.5 13.5L12 21m0 0l-7.5-7.5M12 21V3" /> | ||
</svg> | ||
</span> | ||
<div>Scroll</div> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div>`; | ||
|
||
export default roundedScrollButton; |
7b05444
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
tailwindcss-ui-components – ./
tailwindcss-ui-components-git-master-jsvigneshkanna.vercel.app
tailwindcss-ui-components-jsvigneshkanna.vercel.app
tailwindcsscomponents.vercel.app