Merge pull request #5 from status-im/feat/doc-search

Add Algolia Search Support
This commit is contained in:
Nadeem Bhati 2024-10-28 22:14:53 +05:30 committed by GitHub
commit f3866182c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 4 deletions

3
Jenkinsfile vendored
View File

@ -45,7 +45,8 @@ pipeline {
-b deploy-master \
-c docs.status.network \
-p build
"""
""",
pure: false
)
}
}

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%);