feat: Add RetrievalDocuments to SearchPage #2247 (#2327)

### What problem does this PR solve?
feat: Add RetrievalDocuments to SearchPage #2247
feat: Click on the link in the reference to display the pdf drawer #2247

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-09-09 19:20:16 +08:00
committed by GitHub
parent 7241c73c7a
commit 42eeb38247
14 changed files with 390 additions and 143 deletions

View File

@ -51,6 +51,9 @@
.firstRenderContent {
height: 100%;
background-image: url(https://www.bing.com/th?id=OHR.IguazuRainbow_ZH-CN6524347982_1920x1080.webp&qlt=50);
background-position: center;
background-size: cover;
}
.content {
@ -79,10 +82,13 @@
.input() {
:global(.ant-input-affix-wrapper) {
padding: 4px 8px;
padding: 4px 12px;
border-start-start-radius: 30px !important;
border-end-start-radius: 30px !important;
}
:global(.ant-input-group-addon) {
background-color: transparent;
}
input {
height: 40px;
}
@ -101,3 +107,35 @@
width: 100%;
.input();
}
.appIcon {
display: inline-block;
vertical-align: middle;
width: 60px;
}
.appName {
vertical-align: middle;
font-family: Inter;
font-size: 40px;
font-style: normal;
font-weight: 600;
line-height: 20px;
background: linear-gradient(to right, #095fab 10%, #25abe8 50%, #57d75b 60%);
background-size: auto auto;
background-clip: border-box;
background-size: 200% auto;
color: #fff;
background-clip: text;
text-fill-color: transparent;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: textclip 1.5s linear infinite;
}
@keyframes textclip {
to {
background-position: 200% center;
}
}