Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

3.7 KB
Raw Blame
<!DOCTYPE html>
<html>
<head>
  <style>
    body {
      font-family: 'Arial', sans-serif;
      line-height: 16pt;
      color: #374151;
      background-color: #E5E7EB;
      margin: 0;
      padding: 0;
    }
    .container {
      width: 504px;
      min-height: 444px;
      margin: 40px auto;
      padding: 0 48px;
      background-color: #fcfcfd;
      border-radius: 16px;
      border: 1px solid #ffffff;
      box-shadow: 0px 3px 10px -2px rgba(9, 9, 11, 0.08), 0px 2px 4px -2px rgba(9, 9, 11, 0.06);
    }

    .header {
      padding-top: 36px;
      padding-bottom: 24px;
    }

    .header img {
      max-width: 63px;
      height: auto;
    }
    .button {
      display: block;
      padding: 8px 12px;
      color: white;
      text-decoration: none;
      border-radius: 10px;
      text-align: center;
      transition: background-color 0.3s ease;
      border: 0.5px solid rgba(16, 24, 40, 0.04);
      background-color: #155AEF;
      box-shadow: 0px -6px 12px -4px rgba(9, 9, 11, 0.08) inset, 0px 0px 1px 0px rgba(255, 255, 255, 0.16) inset, 0px 0.5px 0px 0px rgba(255, 255, 255, 0.08) inset, 0px 2px 2px -1px rgba(0, 0, 0, 0.12), 0px 1px 1px -1px rgba(0, 0, 0, 0.12), 0px 0px 0px 0.5px rgba(9, 9, 11, 0.05);
      font-family: Inter;
      font-size: 14px;
      font-style: normal;
      font-weight: 600;
      line-height: 20px; /* 142.857% */
    }
    .button:hover {
      background-color: #004AEB;
      border: 0.5px solid rgba(16, 24, 40, 0.08);
      box-shadow: 0px 1px 2px 0px rgba(9, 9, 11, 0.05);
    }
    .content {
      color: #354052;
      font-family: Inter;
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      line-height: 20px; /* 142.857% */
      letter-spacing: -0.07px;
    }
    .content1 {
      margin: 0;
      padding-top: 24px;
      padding-bottom: 12px;
      font-weight: 500;
    }
    .content2 {
      margin: 0;
      padding-bottom: 12px;
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="header">
      <!-- Optional: Add a logo or a header image here -->
      <img src="https://assets.dify.ai/images/logo.png" alt="Dify Logo">
    </div>
    <div class="content">
      <p class="content1">Dear {{ to }},</p>
      <p class="content2">{{ inviter_name }} is pleased to invite you to join our workspace on Dify, a platform specifically designed for LLM application development. On Dify, you can explore, create, and collaborate to build and operate AI applications.</p>
      <p class="content2">Click the button below to log in to Dify and join the workspace.</p>
      <div style="text-align: center; margin-bottom: 32px;">
        <a href="{{ url }}"
           style="background-color:#2563eb;
                  color:#ffffff !important;
                  text-decoration:none;
                  display:inline-block;
                  font-weight:600;
                  border-radius:4px;
                  font-size:14px;
                  line-height:18px;
                  font-family: Helvetica, Arial, sans-serif;
                  text-align:center;
                  border-top: 10px solid #2563eb;
                  border-bottom: 10px solid #2563eb;
                  border-left: 20px solid #2563eb;
                  border-right: 20px solid #2563eb;
                  ">Login Here</a>
        <p style="font-size: 12px; color: #666666; margin-top: 20px; margin-bottom: 0;">
          If the button doesn't work, copy and paste this link into your browser:<br>
          <a href="{{ url }}" style="color: #2563eb; text-decoration: underline; word-break: break-all;">
            {{ url }}
          </a>
        </p>
      </div>
      <p class="content2">Best regards,</p>
      <p class="content2">Dify Team</p>
    </div>
  </div>
</body>

</html>