Skip to content

Commit 269e24d

Browse files
committed
add privacy policy, and search integration
1 parent b258937 commit 269e24d

File tree

7 files changed

+291
-29
lines changed

7 files changed

+291
-29
lines changed

Diff for: dist/js/selectize.js

-3
Original file line numberDiff line numberDiff line change
@@ -1392,9 +1392,6 @@ $.extend(Selectize.prototype, {
13921392
var self = this;
13931393

13941394
if (self.ignoreBlur) {
1395-
if (self.isFocused) {
1396-
self.focus();
1397-
}
13981395
return;
13991396
}
14001397

Diff for: dist/js/selectize.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/docusaurus.config.js

+13-14
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,15 @@ const config = {
104104
googleAdsense: {
105105
dataAdClient: 'ca-pub-9290211346209107',
106106
},
107-
// TODO -- Enable when Algolia index is ready and verified.
108-
// algolia: {
109-
// appId: 'I8ILTNUYXK',
110-
// apiKey: '6680cf1dd566e9052054d892083f4db2',
111-
// indexName: 'Selectize',
112-
// contextualSearch: true,
113-
// externalUrlRegex: 'selectize\\.dev|loopback\\.website',
114-
// searchParameters: {},
115-
// searchPagePath: 'search',
116-
// },
107+
algolia: {
108+
appId: 'I8ILTNUYXK',
109+
apiKey: '6680cf1dd566e9052054d892083f4db2',
110+
indexName: 'selectize',
111+
contextualSearch: true,
112+
externalUrlRegex: 'selectize\\.dev|loopback\\.website',
113+
searchParameters: {},
114+
searchPagePath: 'search',
115+
},
117116
liveCodeBlock: {
118117
playgroundPosition: 'bottom',
119118
},
@@ -221,10 +220,10 @@ const config = {
221220
label: 'Code of Conduct',
222221
to: '/code-of-conduct',
223222
},
224-
// {
225-
// label: 'Privacy Policy',
226-
// href: 'https://github.com/selectize/selectize.js',
227-
// },
223+
{
224+
label: 'Privacy Policy',
225+
href: '/privacy-policy',
226+
},
228227
// {
229228
// label: 'Data Policy',
230229
// href: 'https://github.com/selectize/selectize.js',

Diff for: docs/src/components/HomepageFeatures/index.js

+11-7
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,12 @@ const FeatureList = [
5353
'For when you have thousands of options and want them provided by the server as the user types.',
5454
icon: 'fa-cloud-upload',
5555
pattern: {
56-
y: 12,
57-
squares: [[0, 1]],
56+
y: 120,
57+
squares: [
58+
[0, 1],
59+
[1, 2],
60+
[3, 1]
61+
],
5862
},
5963
},
6064
{
@@ -136,7 +140,7 @@ function Feature({ feature }) {
136140
<FeatureIcon icon={feature.icon} />
137141
</div>
138142
<div className="text--center padding-horiz--md">
139-
<h3 className='text-xl font-display'>{feature.name}</h3>
143+
<h3 className='text-xl text-transparent font-display bg-gradient-to-r from-cyan-500 to-indigo-800 bg-clip-text'>{feature.name}</h3>
140144
<p className='font-sans'>{feature.description}</p>
141145
</div>
142146
</div>
@@ -146,11 +150,11 @@ function Feature({ feature }) {
146150

147151
function FeatureIcon({ icon }) {
148152
return (
149-
<div className="flex h-12 w-12 items-center justify-center rounded-full bg-zinc-900/5 backdrop-blur-[2px] transition duration-300 group-hover:bg-white/50 dark:group-hover:bg-sky-300/10">
153+
<div className="flex h-12 w-12 items-center justify-center rounded-full bg-zinc-900/5 backdrop-blur-[2px] transition duration-300">
150154
<span className={clsx('icon', icon,
151155
'fa-duotone',
152-
'w-7 h-7 transition-colors duration-300 fill-zinc-700/10 stroke-zinc-700 group-hover:stroke-zinc-900 dark:fill-white/10 dark:stroke-zinc-400 dark:group-hover:fill-sky-300/10 dark:group-hover:stroke-sky-400',
153-
'text-cyan-500')}></span>
156+
'w-7 h-7 transition-colors duration-300 fill-zinc-700/10 stroke-zinc-700 group-hover:stroke-zinc-900',
157+
'text-sky-500/75')}></span>
154158
</div>
155159
)
156160
}
@@ -171,7 +175,7 @@ function FeaturePattern({ mouseX, mouseY, ...gridProps }) {
171175
/>
172176
</div>
173177
<motion.div
174-
className="absolute inset-0 rounded-2xl bg-gradient-to-r from-[#d7e6ed] to-[#dffbf7] opacity-0 transition duration-300 group-hover:opacity-100 dark:from-[#202D2E] dark:to-[#283134]"
178+
className="absolute inset-0 rounded-2xl bg-gradient-to-r from-[#d7e6ed] to-[#e0e8f6] opacity-0 transition duration-300 group-hover:opacity-100 dark:from-[#202D2E] dark:to-[#283134]"
175179
style={style}
176180
/>
177181
<motion.div

0 commit comments

Comments
 (0)