File tree Expand file tree Collapse file tree 2 files changed +35
-5
lines changed
tailwind_components/buttons Expand file tree Collapse file tree 2 files changed +35
-5
lines changed Original file line number Diff line number Diff line change 11import test from "./test_file" ;
22import test1 from "./test1_file" ;
3+ import downloadnow from './download_now1.jsx'
34import deleteButton from "./delete_button" ;
45import cardWithButton from "./card_with_button_button1" ;
56import settingButton from "./rectangle_setting" ;
67
8+
79const buttonCollections = [
8- { componentName : "button1" , component : test } ,
9- { componentName : "button2 " , component : test1 } ,
10- { componentName : "Card with button" , component : cardWithButton } ,
11- { componentName : "Delete button" , component : deleteButton } ,
10+ { componentName : "button1" , component : test } ,
11+ { componentName : "Download now button " , component : downloadnow } ,
12+ { componentName : "Card with button" , component : cardWithButton } ,
13+ { componentName : "Delete button" , component : deleteButton } ,
1214 { componentName : "Setting button" , component : settingButton } ,
13-
1415] ;
1516
1617export default buttonCollections ;
Original file line number Diff line number Diff line change 1+ import { stripIndent } from "react-codepen-prefill-embed" ;
2+
3+
4+ const downloadnow = stripIndent `
5+ <div class='bg-gray-50'>
6+ <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">
7+ <h2 class="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">
8+ <span class="block">Ready to dive in?</span>
9+ <span class="block text-indigo-600">Start your free trial today.</span>
10+ </h2>
11+ <div class='mt-8'>
12+ <button
13+ class='bg-blue-500 hover:bg-blue-800 font-medium text-base border-transparent px-6 py-4 rounded-full flex flex-row items-center gap-4 text-white shadow'>
14+ <a
15+ href='#'
16+ >
17+ Download Now
18+ </a>
19+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
20+ <path stroke-linecap="round" stroke-linejoin="round" d="M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5m-13.5-9L12 3m0 0l4.5 4.5M12 3v13.5" />
21+ </svg>
22+
23+ </button>
24+ </div>
25+ </div>
26+ </div>
27+ `
28+
29+ export default downloadnow
You can’t perform that action at this time.
0 commit comments