Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Tweak tutorial with browser extension dl links (#628)

Leendert de Borst8f9058e1b800
diff --git a/src/AliasVault.Client/Main/Pages/Welcome.razor b/src/AliasVault.Client/Main/Pages/Welcome.razor
index fc9e7202f..ee7476cd5 100644
--- a/src/AliasVault.Client/Main/Pages/Welcome.razor
+++ b/src/AliasVault.Client/Main/Pages/Welcome.razor
@@ -1,5 +1,6 @@
@page "/welcome"
@inherits MainBase
+@using AliasVault.Shared.Core.BrowserExtensions
<div class="bg-gray-100 dark:bg-gray-900 flex flex-col lg:items-center lg:justify-center">
<div class="w-full mt-4 lg:mt-16 mx-auto lg:max-w-4xl lg:bg-white lg:dark:bg-gray-800 lg:shadow-xl lg:rounded-lg lg:overflow-hidden flex flex-col">
@@ -23,7 +24,7 @@
case TutorialStep.Welcome:
<div class="space-y-4">
<p class="text-gray-600 dark:text-gray-400">
- Your account has been successfully created! Protect your online identity by using unique aliases for each service you sign up for. Let's learn how AliasVault works and then create your first secure alias.
+ Your vault has been successfully created! Protect your online privacy by creating unique aliases for each service you sign up for. Let's learn how AliasVault works and then create your first secure alias.
</p>
</div>
break;
@@ -39,28 +40,50 @@
<li>Received emails show up in this app and can be opened in your browser</li>
<li>Your real email address and other personal information stay private</li>
</ol>
- <div class="mt-4 p-4 bg-blue-50 dark:bg-gray-700 rounded-lg">
- <p class="text-sm text-blue-800 dark:text-blue-200">
- <span class="font-semibold">Pro tip:</span> Create different identities for different types of services (social media, shopping, newsletters) to prevent cross-site tracking.
- </p>
- </div>
</div>
break;
- case TutorialStep.SecurityTips:
+ case TutorialStep.Tips:
<div class="space-y-4">
<div class="space-y-3">
<div class="p-4 bg-gray-50 dark:bg-gray-700 rounded-lg">
<h4 class="font-semibold text-gray-900 dark:text-white">Keep Your Master Password Safe</h4>
- <p class="text-gray-600 dark:text-gray-400">Your master password is the only way to access your vault. Store it securely and never share it.</p>
+ <p class="text-gray-600 dark:text-gray-400">
+ Your master password is required to decrypt your vault. Never share it with anyone and store it in a secure location. Warning: If you lose your master password, your data cannot be recovered - not even by our team.
+ </p>
</div>
<div class="p-4 bg-gray-50 dark:bg-gray-700 rounded-lg">
<h4 class="font-semibold text-gray-900 dark:text-white">Enable Two-Factor Authentication In Settings</h4>
<p class="text-gray-600 dark:text-gray-400">Two-factor authentication adds an extra layer of security to your account. It requires you to enter a code from your authenticator app or provide a recovery code before your encrypted vault can be accessed.</p>
</div>
<div class="p-4 bg-gray-50 dark:bg-gray-700 rounded-lg">
- <h4 class="font-semibold text-gray-900 dark:text-white">Use Different Identities</h4>
- <p class="text-gray-600 dark:text-gray-400">Create separate identities for different types of services to prevent tracking across websites.</p>
+ <h4 class="font-semibold text-gray-900 dark:text-white">Browser Extensions</h4>
+ <p class="text-gray-600 dark:text-gray-400 mb-4">Install the AliasVault browser extension to create aliases and autofill forms directly from your browser.</p>
+ <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-5 gap-3">
+ @foreach (var extension in Constants.Extensions.Where(x => x.Key != BrowserType.Unknown))
+ {
+ @if (extension.Value.IsAvailable)
+ {
+ <a href="@extension.Value.DownloadUrl"
+ target="_blank"
+ class="flex flex-col items-center p-3 rounded-lg bg-gray-200 dark:bg-gray-600 hover:bg-gray-300 dark:hover:bg-gray-500 transition-colors">
+ <img src="@extension.Value.IconPath" alt="@extension.Value.Name" class="w-8 h-8 mb-2">
+ <span class="text-xs text-primary-600 hover:text-primary-700 dark:text-primary-400 dark:hover:text-primary-300">
+ Install
+ </span>
+ </a>
+ }
+ else
+ {
+ <div class="flex flex-col items-center p-3 rounded-lg bg-gray-200 dark:bg-gray-600">
+ <img src="@extension.Value.IconPath" alt="@extension.Value.Name" class="w-8 h-8 mb-2 opacity-50">
+ <span class="text-xs text-gray-500 dark:text-gray-400">
+ Coming Soon
+ </span>
+ </div>
+ }
+ }
+ </div>
</div>
</div>
</div>
@@ -84,7 +107,7 @@
</div>
<div class="fixed lg:relative bottom-0 left-0 right-0 p-4 bg-gray-100 dark:bg-gray-900 border-t border-gray-200 dark:border-gray-700 lg:bg-transparent lg:dark:bg-transparent lg:border-0">
- @if (_currentStep != TutorialStep.SecurityTips)
+ @if (_currentStep != TutorialStep.Tips)
{
<button @onclick="GoNext"
class="w-full py-3 px-4 bg-primary-600 hover:bg-primary-700 text-white font-semibold rounded-lg transition duration-300">
@@ -110,7 +133,7 @@
{
Welcome,
HowAliasVaultWorks,
- SecurityTips,
+ Tips,
CreateFirstIdentity
}
@@ -120,7 +143,7 @@
{
TutorialStep.Welcome => "Welcome to AliasVault",
TutorialStep.HowAliasVaultWorks => "How AliasVault Works",
- TutorialStep.SecurityTips => "Security Tips",
+ TutorialStep.Tips => "Tips",
TutorialStep.CreateFirstIdentity => "Get Started",
_ => "Tutorial"
};
@@ -143,8 +166,8 @@
_currentStep = _currentStep switch
{
TutorialStep.Welcome => TutorialStep.HowAliasVaultWorks,
- TutorialStep.HowAliasVaultWorks => TutorialStep.SecurityTips,
- TutorialStep.SecurityTips => TutorialStep.CreateFirstIdentity,
+ TutorialStep.HowAliasVaultWorks => TutorialStep.Tips,
+ TutorialStep.Tips => TutorialStep.CreateFirstIdentity,
_ => _currentStep
};