algolia doc search

This commit is contained in:
nadeemb53 2024-10-28 21:36:15 +05:30
parent 8d895d90bf
commit 2fcbe22d7a
No known key found for this signature in database
GPG Key ID: 92A926811E383A76
2 changed files with 9 additions and 3 deletions

View File

@ -127,6 +127,13 @@ const config: Config = {
},
],
},
algolia: {
// it is safe to commit these
appId: 'M7J93TRPJ9',
apiKey: '17befa84094fd9acddd40cbb64012976',
indexName: 'status',
contextualSearch: true,
},
},
} satisfies Config;

View File

@ -234,14 +234,13 @@ h1, h2, h3, h4, h5, h6 {
box-shadow: 0 4px 12px rgba(67, 96, 223, 0.2);
position: relative;
overflow: hidden;
margin-right: 10px;
margin-right: 16px;
margin-left: 10px;
}
.hub-button::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);