ai-consent-prompt-message.tsx 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. import React from 'react'
  2. interface ConsentPromptMessageBodyProps {
  3. className?: string
  4. listClassName?: string
  5. }
  6. interface ConsentPromptMessageHeaderProps {
  7. className?: string
  8. }
  9. export const AiConsentPromptMessageHeader = ({
  10. className,
  11. }: ConsentPromptMessageHeaderProps) => {
  12. return (
  13. <div className={className}>
  14. Supporting your research and protecting your privacy
  15. </div>
  16. )
  17. }
  18. export const AiConsentPromptMessageBody = ({
  19. className,
  20. listClassName,
  21. }: ConsentPromptMessageBodyProps) => {
  22. return (
  23. <div className={className}>
  24. <ul className={listClassName}>
  25. <li>
  26. AI features in Overleaf, like this one, can help you with writing your
  27. document and fixing errors.
  28. </li>
  29. <li>
  30. As some AI features are powered by third parties, your project
  31. content/data will be sent to those third parties in order to provide
  32. those features to you. However, your project content/data will not be
  33. used for model training. There are more details about how we use your
  34. data in{' '}
  35. <a
  36. href="https://docs.overleaf.com/integrations-and-add-ons/ai-features#data-privacy-and-responsible-use"
  37. target="_blank"
  38. rel="noreferrer"
  39. >
  40. our docs
  41. </a>
  42. .
  43. </li>
  44. <li>
  45. Like any AI, AI features in Overleaf can make mistakes, so please
  46. review all suggestions carefully before accepting them.
  47. </li>
  48. </ul>
  49. <p>
  50. By using these features, you approve the use and sharing of your data in
  51. this way.
  52. </p>
  53. </div>
  54. )
  55. }