Spaces:
Sleeping
Sleeping
remove icon letters in examples
Browse files- web/src/App.tsx +0 -9
web/src/App.tsx
CHANGED
|
@@ -871,44 +871,36 @@ function App() {
|
|
| 871 |
const currentModeLabel = assistantMode === 'legal-support' ? 'Legal Support' : 'Generalist';
|
| 872 |
const legalExamples = [
|
| 873 |
{
|
| 874 |
-
icon: 'L',
|
| 875 |
label: 'ACL remedies for major failure',
|
| 876 |
prompt: 'Under Australian Consumer Law, what remedies can a consumer seek for a major failure in goods?',
|
| 877 |
},
|
| 878 |
{
|
| 879 |
-
icon: 'C',
|
| 880 |
label: 'Case law on contract interpretation',
|
| 881 |
prompt: 'Find relevant High Court or Federal Court authorities on contractual interpretation in Australia.',
|
| 882 |
},
|
| 883 |
{
|
| 884 |
-
icon: 'R',
|
| 885 |
label: 'Restraint of trade analysis',
|
| 886 |
prompt: 'Compare restraint of trade enforceability principles under NSW law and federal competition law.',
|
| 887 |
},
|
| 888 |
{
|
| 889 |
-
icon: 'I',
|
| 890 |
label: 'Issue spotting and authority mapping',
|
| 891 |
prompt: 'List likely legal issues and governing Australian authorities for an online subscription cancellation dispute.',
|
| 892 |
},
|
| 893 |
];
|
| 894 |
const generalistExamples = [
|
| 895 |
{
|
| 896 |
-
icon: 'M',
|
| 897 |
label: 'Prove sqrt(2) is irrational (Lean 4)',
|
| 898 |
prompt: 'Prove that sqrt(2) is irrational using first principles in Lean 4.',
|
| 899 |
},
|
| 900 |
{
|
| 901 |
-
icon: 'I',
|
| 902 |
label: 'Solve integral x^2 sin(x)',
|
| 903 |
prompt: 'Solve the integral of x^2 sin(x) with SymPy and show the result.',
|
| 904 |
},
|
| 905 |
{
|
| 906 |
-
icon: 'P',
|
| 907 |
label: 'Find primes with Prolog',
|
| 908 |
prompt: 'Find all prime numbers less than 100 using Prolog.',
|
| 909 |
},
|
| 910 |
{
|
| 911 |
-
icon: 'L',
|
| 912 |
label: 'Design a simple API in TypeScript',
|
| 913 |
prompt: 'Design a clean TypeScript Express API structure for a todo app.',
|
| 914 |
},
|
|
@@ -1793,7 +1785,6 @@ function App() {
|
|
| 1793 |
<div className="examples">
|
| 1794 |
{(assistantMode === 'legal-support' ? legalExamples : generalistExamples).map((example) => (
|
| 1795 |
<button key={example.label} className="example-btn" onClick={() => setInput(example.prompt)}>
|
| 1796 |
-
<span className="example-icon">{example.icon}</span>
|
| 1797 |
<span>{example.label}</span>
|
| 1798 |
</button>
|
| 1799 |
))}
|
|
|
|
| 871 |
const currentModeLabel = assistantMode === 'legal-support' ? 'Legal Support' : 'Generalist';
|
| 872 |
const legalExamples = [
|
| 873 |
{
|
|
|
|
| 874 |
label: 'ACL remedies for major failure',
|
| 875 |
prompt: 'Under Australian Consumer Law, what remedies can a consumer seek for a major failure in goods?',
|
| 876 |
},
|
| 877 |
{
|
|
|
|
| 878 |
label: 'Case law on contract interpretation',
|
| 879 |
prompt: 'Find relevant High Court or Federal Court authorities on contractual interpretation in Australia.',
|
| 880 |
},
|
| 881 |
{
|
|
|
|
| 882 |
label: 'Restraint of trade analysis',
|
| 883 |
prompt: 'Compare restraint of trade enforceability principles under NSW law and federal competition law.',
|
| 884 |
},
|
| 885 |
{
|
|
|
|
| 886 |
label: 'Issue spotting and authority mapping',
|
| 887 |
prompt: 'List likely legal issues and governing Australian authorities for an online subscription cancellation dispute.',
|
| 888 |
},
|
| 889 |
];
|
| 890 |
const generalistExamples = [
|
| 891 |
{
|
|
|
|
| 892 |
label: 'Prove sqrt(2) is irrational (Lean 4)',
|
| 893 |
prompt: 'Prove that sqrt(2) is irrational using first principles in Lean 4.',
|
| 894 |
},
|
| 895 |
{
|
|
|
|
| 896 |
label: 'Solve integral x^2 sin(x)',
|
| 897 |
prompt: 'Solve the integral of x^2 sin(x) with SymPy and show the result.',
|
| 898 |
},
|
| 899 |
{
|
|
|
|
| 900 |
label: 'Find primes with Prolog',
|
| 901 |
prompt: 'Find all prime numbers less than 100 using Prolog.',
|
| 902 |
},
|
| 903 |
{
|
|
|
|
| 904 |
label: 'Design a simple API in TypeScript',
|
| 905 |
prompt: 'Design a clean TypeScript Express API structure for a todo app.',
|
| 906 |
},
|
|
|
|
| 1785 |
<div className="examples">
|
| 1786 |
{(assistantMode === 'legal-support' ? legalExamples : generalistExamples).map((example) => (
|
| 1787 |
<button key={example.label} className="example-btn" onClick={() => setInput(example.prompt)}>
|
|
|
|
| 1788 |
<span>{example.label}</span>
|
| 1789 |
</button>
|
| 1790 |
))}
|