-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: CWYD-Contract Assistant - Landing page should mention Contract A…
…ssistant (similar to our Research Assistant accelerator) (Azure-Samples#1199) Co-authored-by: Himanshi Agrawal <[email protected]> Co-authored-by: Roopan P M <[email protected]> Co-authored-by: Roopan-Microsoft <[email protected]> Co-authored-by: Harmanpreet Kaur <[email protected]> Co-authored-by: Pavan Kumar <v-kupavan.microsoft.com>
- Loading branch information
1 parent
6ba499f
commit 1448c01
Showing
36 changed files
with
251 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions
57
code/frontend/src/pages/chat/Cards_contract/Cards.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
|
||
/* Homepage.module.css */ | ||
.container { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
padding: 16px; | ||
/* background-color: #FAF9F8; */ | ||
} | ||
|
||
.mainContent { | ||
width: 100%; | ||
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
.cards { | ||
display: flex; | ||
flex-wrap: wrap; | ||
gap: 16px; /* Adjust gap between cards as needed */ | ||
justify-content: center; /* Center align cards in the row */ | ||
} | ||
|
||
.featureCard { | ||
width: 260px; /* Set a fixed width for the cards or adjust as needed */ | ||
display: inline; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
text-align: start; | ||
background-color: #FAF9F8; | ||
border-radius: 8px; /* Rounded corners */ | ||
border: 1px solid #EDEBE9; /* Border around the card */ | ||
box-shadow: 0px 4px 8px 0px #00000024; | ||
padding: 18px; /* Add padding inside the card */ | ||
} | ||
|
||
|
||
.cardTitle { | ||
font-size: 16px; /* Adjust font size as needed */ | ||
margin-top: -30px; | ||
margin-left: 30px; | ||
font-weight: 600; | ||
color: #3d3d3d; | ||
|
||
} | ||
.iconTitleContainer{ | ||
display: flex; | ||
align-items: center; | ||
} | ||
.cardDescription { | ||
font-size: 14px; /* Adjust font size as needed */ | ||
color: #3d3d3d; | ||
margin-bottom: -2px; | ||
} | ||
.icon{ | ||
margin-top: 10px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
// src/pages/FeaturePage.tsx | ||
import React from 'react'; | ||
import { Stack } from '@fluentui/react'; | ||
import IntractData from '../../../assets/Interact with data.svg' | ||
import SourceReference from '../../../assets/Quick source reference.svg' | ||
import SummarizeContracts from '../../../assets/Summarize contracts.svg' | ||
import styles from './Cards.module.css'; // Create this CSS module for custom styles | ||
|
||
const Cards: React.FC = () => { | ||
return ( | ||
<div className={styles.container}> | ||
<main className={styles.mainContent}> | ||
<section className={styles.cards}> | ||
<FeatureCard | ||
|
||
title="Interact with Data" | ||
description="Intuitive and conversational search experience that simplifies complex queries, ultimately improves productivity, job efficiency and satisfaction." | ||
icon={<img src = {IntractData} aria-hidden="true" alt="Intract with Data" role="none" aria-label='IntractwithData' aria-labelledby='Cards' style={{ minWidth: 20, minHeight: 22 }} />} | ||
/> | ||
<FeatureCard | ||
|
||
title="Summarize Contracts" | ||
description="Quickly review and summarize lengthy documents, extracting essential details to streamline document review and preparation." | ||
icon={<img src = {SummarizeContracts} aria-hidden="true" alt="Summarize Contracts" role="none" aria-label='SummarizeContracts' aria-labelledby='Cards'style={{ minWidth: 20, minHeight: 22 }} />} | ||
/> | ||
<FeatureCard | ||
|
||
title="Quick Source Reference" | ||
description="Effortlessly retrieve and reference original documents, ensuring accuracy and comprehensiveness." | ||
icon={<img src = {SourceReference} aria-hidden="true" alt="Source Reference" role="none" aria-label='SourceReference' aria-labelledby='Cards' style={{ minWidth: 20, minHeight: 22 }} />} | ||
/> | ||
</section> | ||
</main> | ||
</div> | ||
); | ||
}; | ||
|
||
interface FeatureCardProps { | ||
title: string; | ||
description: string; | ||
icon: React.ReactNode; | ||
} | ||
|
||
const FeatureCard: React.FC<FeatureCardProps> = ({ title, description, icon }) => { | ||
return ( | ||
<div className={styles.featureCard}> | ||
<div className={styles.icon}>{icon}</div> | ||
<h2 className={styles.cardTitle}>{title}</h2> | ||
<p className={styles.cardDescription}>{description}</p> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Cards; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.