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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
/out/
/out-staging
/out-production
/out-dev

# misc
.DS_Store
Expand Down
14 changes: 4 additions & 10 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ if [ "$env" == "staging" ]
then
export OUT_DIR="$PWD/out-staging"
export NEXT_PUBLIC_PURPLE_API_BASE_URL="https://api-staging.damus.io"
elif [ "$env" == "dev" ]
then
export OUT_DIR="$PWD/out-dev"
# Do not modify env vars for dev
else
export OUT_DIR="$PWD/out-production"
export NEXT_PUBLIC_PURPLE_API_BASE_URL="https://api.damus.io"
Expand All @@ -18,13 +22,3 @@ fi
npx next build
rm -rf "$OUT_DIR"
mv out "$OUT_DIR"


# TODO: next doesn't seem to set this up properly. bug?
mkdir -p "$OUT_DIR/purple/checkout"
mkdir -p "$OUT_DIR/purple/account"
mkdir -p "$OUT_DIR/purple/login"
ln "$OUT_DIR/purple.html" "$OUT_DIR/purple/index.html"
ln "$OUT_DIR/purple/checkout.html" "$OUT_DIR/purple/checkout/index.html"
ln "$OUT_DIR/purple/account.html" "$OUT_DIR/purple/account/index.html"
ln "$OUT_DIR/purple/login.html" "$OUT_DIR/purple/login/index.html"
120 changes: 111 additions & 9 deletions content/compiled-locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,22 +247,22 @@
"value": "Available in"
}
],
"home.hero.download_now": [
"home.hero.check-out-notedeck": [
{
"type": 0,
"value": "Download now"
"value": "Check Notedeck, our cross-platform client"
}
],
"home.hero.headline": [
"home.hero.download_now": [
{
"type": 0,
"value": "The social network you control"
"value": "Download now"
}
],
"home.hero.join_testflight": [
"home.hero.headline": [
{
"type": 0,
"value": "Join TestFlight Beta"
"value": "The social network you control"
}
],
"home.hero.subheadline": [
Expand Down Expand Up @@ -299,6 +299,12 @@
"value": "The highest performance Nostr client. Period."
}
],
"notedeck.hero.menu.signup-for-the-waitlist": [
{
"type": 0,
"value": "Sign up"
}
],
"notedeck.hero.signup-for-the-waitlist": [
{
"type": 0,
Expand Down Expand Up @@ -467,6 +473,12 @@
"value": "Hide QR code"
}
],
"purple.checkout.continue.on-web": [
{
"type": 0,
"value": "Continue"
}
],
"purple.checkout.continue.show-qr": [
{
"type": 0,
Expand All @@ -485,6 +497,18 @@
"value": "Use this page to purchase a new account, or to renew an existing one. You will need the latest Damus version to complete the checkout."
}
],
"purple.checkout.is-this-you": [
{
"type": 0,
"value": "Is this you?"
}
],
"purple.checkout.logging-into": [
{
"type": 0,
"value": "Logging into:"
}
],
"purple.checkout.open-in-app": [
{
"type": 0,
Expand All @@ -497,6 +521,12 @@
"value": "Open in wallet"
}
],
"purple.checkout.paying-for": [
{
"type": 0,
"value": "Purchasing membership for:"
}
],
"purple.checkout.payment-received": [
{
"type": 0,
Expand Down Expand Up @@ -713,12 +743,36 @@
"value": "For free-speech maximalists"
}
],
"purple.hero.go-to-my-account": [
{
"type": 0,
"value": "Go to my account"
}
],
"purple.hero.learn-more": [
{
"type": 0,
"value": "Learn more"
}
],
"purple.hero.login": [
{
"type": 0,
"value": "Login to my account"
}
],
"purple.hero.menu.go-to-my-account": [
{
"type": 0,
"value": "My Account"
}
],
"purple.hero.menu.login": [
{
"type": 0,
"value": "Login"
}
],
"purple.hero.renew": [
{
"type": 0,
Expand All @@ -743,12 +797,24 @@
"value": "Use this page to access your Purple account details"
}
],
"purple.login.fetching-profile": [
{
"type": 0,
"value": "Fetching profile info…"
}
],
"purple.login.is-this-you": [
{
"type": 0,
"value": "Is this you?"
}
],
"purple.login.logging-into": [
{
"type": 0,
"value": "Logging into:"
}
],
"purple.login.login-successful": [
{
"type": 0,
Expand Down Expand Up @@ -782,13 +848,13 @@
"purple.login.otp-sent": [
{
"type": 0,
"value": "We sent you a code via a Nostr DM.\n Please enter it below"
"value": "We sent you a code via a Nostr direct message.\n Please enter it below"
}
],
"purple.login.stay-safe.message": [
{
"type": 0,
"value": "We will never ask you for your nsec or any other sensitive information via Nostr DMs. Beware of impersonators. Please do not share your OTP code with anyone.\n\n If you don't see the OTP code, please check the DM requests tab in Damus."
"value": "We will never ask you for your nsec or any other sensitive information via Nostr DMs. Beware of impersonators. Please do not share your OTP code with anyone."
}
],
"purple.login.stay-safe.title": [
Expand All @@ -815,12 +881,42 @@
"value": "Access your account"
}
],
"purple.login.unknown-user": [
"purple.otp.troubleshooting.heading": [
{
"type": 0,
"value": "Didn't receive the OTP?"
}
],
"purple.otp.troubleshooting.message": [
{
"type": 0,
"value": "If you don't see the OTP code, try the following steps:"
}
],
"purple.otp.troubleshooting.step1": [
{
"type": 0,
"value": "Check your DM request tab (if you are on Damus)"
}
],
"purple.otp.troubleshooting.step2": [
{
"type": 0,
"value": "Ensure your Nostr client is connected to our relay listed below:"
}
],
"purple.profile.unknown-user": [
{
"type": 0,
"value": "Generic user avatar"
}
],
"purple.welcome.continue": [
{
"type": 0,
"value": "Continue"
}
],
"roles.brand-ambassador": [
{
"type": 0,
Expand Down Expand Up @@ -887,6 +983,12 @@
"value": "Damus logo"
}
],
"topbar.notedeck": [
{
"type": 0,
"value": "Notedeck"
}
],
"topbar.purple": [
{
"type": 0,
Expand Down
Loading