Upgrade to Nostria Premium

@for (i of [0, 1, 2, 3]; track i) {
@if (currentStep() > i) { check } @else { {{ i + 1 }} }
{{ getStepLabel(i) }}
@if (i < 3) {
} }
@if (currentStep() === 0) {

Choose Your Premium Username

Your premium username will be uniquely yours across the Nostr network.

Username alternate_email @if (isCheckingUsername()) { } @else if (isUsernameAvailable() === true) { check_circle } @else if (isUsernameAvailable() === false) { error } Username is required Username must be at least 3 characters Username must contain only letters, numbers, and underscores
info

Your username must be at least 3 characters and can only contain letters, numbers, and underscores.

@if (usernameFormGroup.get('username')?.value!.length > 0) {
{{ usernameFormGroup.get('username')?.value }} @nostria.app
https://nostria.app/p/ {{ usernameFormGroup.get('username')?.value }}
}
} @if (currentStep() === 1) {

Select Your Premium Plan

Choose a plan that works best for you.

@for (option of paymentOptions(); track option.id) {
{{ option.name }} @if (option.id === 'yearly') { Best Value }
${{ option.pricePerMonth }}/month
Billed as ${{ option.totalPrice }} every {{ option.billingPeriod }}
}

Order Summary

Nostria Premium ({{ selectedPaymentOption()?.billingPeriod }}) ${{ selectedPaymentOption()?.totalPrice }}.00
Total ${{ selectedPaymentOption()?.totalPrice }}.00
} @if (currentStep() === 2) {

Complete Your Payment (THIS IS NOT REAL, JUST DEMO!!)

Pay using Bitcoin Lightning Network to activate your premium account.

@if (isGeneratingInvoice()) {

Generating Lightning invoice...

} @else if (paymentInvoice()) {
@if (paymentInvoice()?.status === 'pending') {
Lightning QR Code
check_circle Payment Received!

Scan the QR code or copy the payment request below to pay with your Lightning wallet

{{ paymentInvoice()?.paymentRequest?.substring(0, 30) }}...{{ paymentInvoice()?.paymentRequest?.substring(paymentInvoice()?.paymentRequest!.length - 20) }}
timer This invoice expires in 15 minutes
Waiting for payment... check_circle Payment successful!
} @else if (paymentInvoice()?.status === 'expired') {
error_outline

Payment Invoice Expired

The payment invoice has expired. Please generate a new one to continue.

}
}
} @if (currentStep() === 3) {
verified

Welcome to Nostria Premium!

Your premium account is now active. You can now enjoy all premium features.

verified

Verified Username

Your username {{ usernameFormGroup.get('username')?.value }}@nostria.app is now uniquely yours

cloud_done

2GB Storage

Your storage has been upgraded to 2GB

backup

Automatic Backups

Your data will be automatically backed up

}