Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
@bind-Value="_userToEdit.GenderAsString">
<BitChoiceGroupOption Value="@Gender.Male.ToString()" Text="@Localizer[nameof(AppStrings.GenderMale)]" AriaLabel="@Localizer[nameof(AppStrings.GenderMale)]" />
<BitChoiceGroupOption Value="@Gender.Female.ToString()" Text="@Localizer[nameof(AppStrings.GenderFemale)]" AriaLabel="@Localizer[nameof(AppStrings.GenderFemale)]" />
<BitChoiceGroupOption Value="@Gender.Custom.ToString()" Text="@Localizer[nameof(AppStrings.GenderCustom)]" AriaLabel="@Localizer[nameof(AppStrings.GenderCustom)]" />
<BitChoiceGroupOption Value="@Gender.Other.ToString()" Text="@Localizer[nameof(AppStrings.GenderOther)]" AriaLabel="@Localizer[nameof(AppStrings.GenderOther)]" />
</BitChoiceGroup>
</div>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
@page "/eula-privacy-policy"
@inherits AppComponentBase

<PageTitle>@Localizer[nameof(AppStrings.EulaPrivacyPolicyTitle)]</PageTitle>

<div class="page-container">
<div class="page-content">

<section class="main-section">
<h1 class="main-section-title">TodoTemplate license</h1>
<div class="section-desc">
This EULA and Privacy Policy are written for individuals who use the Todo Template Demo Version through the <a href="https://todo.bitplatform.dev" target="_blank">todo.bitplatform.dev</a> and <a href="https://todo-app.bitplatform.dev" target="_blank">todo-app.bitplatform.dev</a> websites, or the published version of this app on the BitPlatform's Google Play, Apple Store, and Microsoft Store accounts.
<br />
If you want to build your own project based on this Project Template, please refer to the <a href="https://github.com/bitfoundation/bitplatform/blob/develop/LICENSE" target="_blank">License</a> and create your own project, publish it with the relevant EULA and Privacy Policy for your business.s
</div>
</section>

<section class="sub-section">
<h2 class="sub-section-title">End-User License Agreement (EULA) for Todo Template Demo Version</h2>
<div class="section-desc">
This End-User License Agreement (EULA) is a legal agreement between you (the "User") and BitPlatform, located at Sixmastraat 15, 8932 PA Leeuwarden, Netherlands, with phone number +31684207362, for the use of Todo Template Demo Version (the "Software").
<br />
By using the Software, you agree to be bound by the terms and conditions of this agreement.
</div>
</section>

<section class="sub-section">
<h2 class="sub-section-title">License Grant</h2>
<div class="section-desc">
BitPlatform hereby grants User a non-exclusive, non-transferable license to use the Software, solely for the purpose of evaluating and testing the features of the Todo Template Demo Version during the term of this EULA.
</div>
</section>

<section class="sub-section">
<h2 class="sub-section-title">Ownership</h2>
<div class="section-desc">
BitPlatform retains all right, title, and interest in and to the Software, including any and all intellectual property rights.
</div>
</section>

<section class="sub-section">
<h2 class="sub-section-title">User Data</h2>
<div class="section-desc">
BitPlatform may collect User data, including name, surname, photo, date of birth, and gender. Providing this information is optional, and BitPlatform will only use it for the purposes of the Todo Template Demo Version. If User requests, BitPlatform will delete this data within one day, using one of the contact methods provided at the end of this EULA. In addition, User is required to provide an email address for account verification purposes, but BitPlatform will not use this email for any other purposes.
</div>
</section>

<section class="sub-section">
<h2 class="sub-section-title">Analytics and Cookies</h2>
<div class="section-desc">
BitPlatform does not use any Analytics tools for measuring website traffic, and only uses strictly necessary cookies.
</div>
</section>

<section class="sub-section">
<h2 class="sub-section-title">Restrictions</h2>
<div class="section-desc">
User may not: (a) copy the Software, except as necessary for testing purposes; (b) distribute, rent, loan, lease, sell, sublicense, or otherwise transfer the Software or any portion thereof; (c) reverse engineer, decompile, disassemble, modify, translate, make any attempt to discover the source code of the Software, or create derivative works based on the Software; or (d) remove any proprietary notices or labels on the Software.
</div>
</section>

<section class="sub-section">
<h2 class="sub-section-title">No Warranty</h2>
<div class="section-desc">
The Software is provided "AS IS" and without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and non-infringement. BitPlatform does not warrant that the Software will be error-free or that its use will be uninterrupted.
</div>
</section>

<section class="sub-section">
<h2 class="sub-section-title">Limitation of Liability</h2>
<div class="section-desc">
BitPlatform shall not be liable for any damages whatsoever arising out of the use of or inability to use the Software, including but not limited to direct, indirect, incidental, special, or consequential damages, even if BitPlatform has been advised of the possibility of such damages.
</div>
</section>

<section class="sub-section">
<h2 class="sub-section-title">Termination</h2>
<div class="section-desc">
This EULA shall remain in effect until 2025-12-31. BitPlatform reserves the right to terminate this EULA at any time without notice. Upon termination, User shall immediately cease all use of the Software and destroy all copies of the Software in its possession.
</div>
</section>

<section class="sub-section">
<h2 class="sub-section-title">Contact Information</h2>
<div class="section-desc">
If you have any questions or concerns regarding this EULA or the Privacy Policy, or if you would like to contact BitPlatform for any reason, please email info@bitplatform.dev or call +31684207362, or visit our website at <a href="https://bitplatform.dev/contact-us">our website</a> target="_blank" or visit us at Sixmastraat 15, 8932 PA Leeuwarden, Netherlands.
</div>
</section>


<section class="main-section">
<h1 class="main-section-title">Privacy Policy</h1>
<div class="section-desc">
<ul>
<li>BitPlatform is committed to protecting the privacy of User data.</li>
<li>We will only use the data collected from User for the purposes of the Todo Template Demo Version, and will delete this data upon User request, using one of the contact methods provided above.</li>
<li>We do not share User data with any third parties, and do not allow Users to share data with anyone in any way.</li>
<li>We do not collect any information on User's internet usage outside of the Todo Template Demo Version.</li>
<li>We do not display any Third-Party content, advertisements, or any purchases in the Todo Template Demo Version.</li>
<li>This Privacy Policy is effective until 2025-12-31 and is subject to change without notice.</li>
</ul>
</div>
</section>

</div>
</div>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
namespace TodoTemplate.Client.Shared.Pages;

public partial class PrivacyPage
public partial class EulaPrivacyPolicyPage
{
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
@if (string.IsNullOrEmpty(_signUpMessage) is false)
{
<BitMessageBar Class="form-message-bar"
MessageBarType="@_signUpMessageType"
OnDismiss="() => _signUpMessage = null">
MessageBarType="@_signUpMessageType"
OnDismiss="() => _signUpMessage = null">
@_signUpMessage
</BitMessageBar>
}
Expand All @@ -37,11 +37,11 @@
</div>

<BitLoadingButton IsLoading="_isLoading"
Class="form-submit-button"
ButtonStyle="BitButtonStyle.Primary"
Title="@Localizer[nameof(AppStrings.ResendEmail)]"
AriaLabel="@Localizer[nameof(AppStrings.ResendEmail)]"
OnClick="WrapHandled(DoResendLink)">
Class="form-submit-button"
ButtonStyle="BitButtonStyle.Primary"
Title="@Localizer[nameof(AppStrings.ResendEmail)]"
AriaLabel="@Localizer[nameof(AppStrings.ResendEmail)]"
OnClick="WrapHandled(DoResendLink)">
@Localizer[nameof(AppStrings.ResendEmail)]
</BitLoadingButton>
}
Expand All @@ -53,37 +53,37 @@

<div class="form-input-container">
<BitTextField @bind-Value="_signUpModel.UserName"
Label="@Localizer[nameof(AppStrings.Email)]"
Placeholder="@Localizer[nameof(AppStrings.Email)]"
Type="BitTextFieldType.Email" />
Label="@Localizer[nameof(AppStrings.Email)]"
Placeholder="@Localizer[nameof(AppStrings.Email)]"
Type="BitTextFieldType.Email" />
<ValidationMessage For="@(() => _signUpModel.UserName)" />
</div>

<div class="form-input-container">
<BitTextField @bind-Value="_signUpModel.Password"
Label="@Localizer[nameof(AppStrings.Password)]"
AutoComplete="new-password"
Type="BitTextFieldType.Password"
CanRevealPassword="true"
Placeholder="@Localizer[nameof(AppStrings.Password)]" />
Label="@Localizer[nameof(AppStrings.Password)]"
AutoComplete="new-password"
Type="BitTextFieldType.Password"
CanRevealPassword="true"
Placeholder="@Localizer[nameof(AppStrings.Password)]" />
<ValidationMessage For="@(() => _signUpModel.Password)" />
</div>

<div class="form-input-container form-input-container--no-margin">
<BitCheckbox Class="form-checkbox" @bind-Value="_signUpModel.IsAcceptPrivacy">
<BitCheckbox Class="form-checkbox" @bind-Value="_signUpModel.EulaPrivacyPolicyAccepted">
<LabelTemplate>
@Localizer[nameof(AppStrings.PrivacyPolicyAgreementMessage)]<BitLink Href="/privacy" Target="_blank">@Localizer[nameof(AppStrings.PrivacyPolicyTitle)]</BitLink>
<span>@Localizer[nameof(AppStrings.EulaPrivacyPolicyAgreementMessage)]&nbsp<BitLink Href="/eula-privacy-policy" Target="_blank">@Localizer[nameof(AppStrings.EulaPrivacyPolicyTitle)]</BitLink></span>
</LabelTemplate>
</BitCheckbox>
<ValidationMessage For="@(() => _signUpModel.IsAcceptPrivacy)" />
<ValidationMessage For="@(() => _signUpModel.EulaPrivacyPolicyAccepted)" />
</div>

<BitLoadingButton IsLoading="_isLoading"
Class="form-submit-button"
ButtonStyle="BitButtonStyle.Primary"
Title="@Localizer[nameof(AppStrings.SignUp)]"
AriaLabel="@Localizer[nameof(AppStrings.SignUp)]"
ButtonType="BitButtonType.Submit">
Class="form-submit-button"
ButtonStyle="BitButtonStyle.Primary"
Title="@Localizer[nameof(AppStrings.SignUp)]"
AriaLabel="@Localizer[nameof(AppStrings.SignUp)]"
ButtonType="BitButtonType.Submit">
@Localizer[nameof(AppStrings.SignUp)]
</BitLoadingButton>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<a class="logo-lnk" href="/"></a>
</div>
<div class="header-contact">
<BitLink Class="header-item--privacy" Href="/privacy" Target="_self">@Localizer[nameof(AppStrings.Privacy)]</BitLink>
<BitLink Class="header-item--eula-privacy-policy" Href="/eula-privacy-policy" Target="_self">@Localizer[nameof(AppStrings.EulaPrivacyPolicy)]</BitLink>
@if (!_isUserAuthenticated)
{
<BitActionButton Class="header-item" IconName="BitIconName.AddFriend" Href="/sign-up" Target="_self">@Localizer[nameof(AppStrings.SignUp)]</BitActionButton>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@
width: 100%;
max-width: rem(340px);

.label {
align-items: start;
text-align: start;
}

@include lt-xl {
max-width: rem(300px);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>%(Filename).Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="**\*.*.resx">
<Generator></Generator>
</EmbeddedResource>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"outputFile": "Pages/HomePage.razor.css"
},
{
"inputFile": "Pages/PrivacyPage.razor.scss",
"outputFile": "Pages/PrivacyPage.razor.css"
"inputFile": "Pages/EulaPrivacyPolicyPage.razor.scss",
"outputFile": "Pages/EulaPrivacyPolicyPage.razor.css"
},
{
"inputFile": "Pages/SignUpPage.razor.scss",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<ImplicitUsings>enable</ImplicitUsings>

<NeutralLanguage>en</NeutralLanguage>
<MultilingualEnabled>false</MultilingualEnabled>
<MultilingualEnabled>true</MultilingualEnabled>
<DefineConstants Condition=" '$(MultilingualEnabled)' == 'true' ">$(DefineConstants);MultilingualEnabled</DefineConstants>

<SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('-ios'))">14.2</SupportedOSPlatformVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>%(Filename).Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="**\*.*.resx">
<Generator></Generator>
</EmbeddedResource>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class SignUpRequestDto
public string? Password { get; set; }

[NotMapped]
[Range(typeof(bool), "true", "true", ErrorMessageResourceName = nameof(AppStrings.YouHaveToAcceptPrivacyPolicy))]
[Display(Name = nameof(AppStrings.IsAcceptPrivacy))]
public bool IsAcceptPrivacy { get; set; }
[Range(typeof(bool), "true", "true", ErrorMessageResourceName = nameof(AppStrings.YouHaveToAcceptEulaPrivacyPolicy))]
[Display(Name = nameof(AppStrings.IsEulaPrivacyPolicyAccepted))]
public bool EulaPrivacyPolicyAccepted { get; set; }
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ public enum Gender
{
Male,
Female,
Custom
Other
}
Loading