Skip to content

Commit f12d050

Browse files
Merge pull request #108 from iamkennis/window-button
Window button
2 parents 8b1dc74 + a1e9c62 commit f12d050

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import test from "./test_file";
22
import amazonStoreButton from "./amazon_store_button";
33
import googleStoreButton from "../store_buttons/google_store_button"
4+
import windowStoreButton from './windows_store_button'
45

56
const storeButtonCollections = [
67
{componentName: "test store button", component: test},
78
{componentName: "Amazon Store Button", component: amazonStoreButton},
89
{componentName: "Google Store Button", component: googleStoreButton},
10+
{componentName: "Windows Store Button", component: windowStoreButton},
911
];
1012

1113
export default storeButtonCollections;
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
import {stripIndent} from "react-codepen-prefill-embed";
2+
3+
const windowstorebutton = stripIndent`
4+
<head>
5+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" />
6+
</head>
7+
8+
<div class='bg-gray-50'>
9+
<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">
10+
<h2 class="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">
11+
<span class="block">Ready to dive in?</span>
12+
<span class="block text-indigo-600">Start your free trial today.</span>
13+
</h2>
14+
<div class='mt-8'>
15+
<div>
16+
<button
17+
class='bg-white font-medium text-base border-transparent px-6 py-3 rounded-md flex flex-row items-center gap-4 shadow'>
18+
<span>
19+
<i class="fa-brands fa-windows text-4xl"></i>
20+
</span>
21+
<a href='#'>
22+
<p class='text-xs font-bold'>Download on the</p>
23+
<p class='text-sm'>Windows Store</p>
24+
</a>
25+
</button>
26+
</div>
27+
<div class='py-4'>
28+
<button
29+
class='bg-black font-medium text-base border-transparent px-6 py-3 rounded-md flex flex-row items-center gap-4 shadow'>
30+
<span>
31+
<i class="fa-brands text-white fa-windows text-4xl"></i>
32+
</span>
33+
<a class='text-white block' href='#'>
34+
<p class='text-xs font-bold'>Download on the</p>
35+
<p class='text-sm'>Windows Store</p>
36+
</a>
37+
</button>
38+
</div>
39+
</div>
40+
</div>
41+
</div>
42+
`
43+
44+
export default windowstorebutton

0 commit comments

Comments
 (0)