From 458125d04db4fc47301613ab4c566c1eb97f63df Mon Sep 17 00:00:00 2001 From: unimatrixgit <95320811+unimatrixgit@users.noreply.github.com> Date: Sun, 15 Nov 2026 00:11:42 +0100 Subject: [PATCH] Add public branded Postbank rates guide and footer link --- website/scripts/bank-rates-page.mjs | 9 +++++++++ website/scripts/build.mjs | 2 ++ website/web/bank-rates.css | 1 + website/web/portal-navigation.js | 2 ++ website/web/rates-and-charges.html | 1 + 5 files changed, 15 insertions(+) create mode 100644 website/scripts/bank-rates-page.mjs create mode 100644 website/web/bank-rates.css create mode 100644 website/web/rates-and-charges.html diff --git a/website/scripts/bank-rates-page.mjs b/website/scripts/bank-rates-page.mjs new file mode 100644 index 00000000..7f601540 --- /dev/null +++ b/website/scripts/bank-rates-page.mjs @@ -0,0 +1,9 @@ +import {PACKAGES,BANK_VERSION} from '../node/postbank-catalogue.mjs'; +import {CREDIT_PRODUCTS,CREDIT_VERSION} from '../node/postbank-credit-model.mjs'; +import {createHash} from 'node:crypto'; +export function bankRatesPage(){ +const version=createHash('sha256').update(JSON.stringify([PACKAGES,CREDIT_PRODUCTS])).digest('hex').slice(0,10); +const packages=PACKAGES.map(p=>`${p.name}${p.kinds.join(' / ')}${(p.monthly/100).toFixed(2)} DM${p.extra}${p.extra?(p.extraFee/100).toFixed(2)+' DM':'—'}${p.instant}`).join(''); +const credit=CREDIT_PRODUCTS.filter(p=>!p.revolving).map(p=>`${p.name}${(p.annualBps/100).toFixed(2)}%${p.min}–${p.max} DM${p.terms?p.terms.join(', '):'Up to '+p.maxMonths} months`).join(''); +return `Rates & Charges | Imperial Postbank
DuneRealms
Imperial Postbank

YOUR MONEY. CLEAR TERMS.

Rates & Charges

A clear guide to your banking costs.

PUBLIC TARIFF GUIDE · ${version}
01 / EVERYDAY BANKING

Accounts & packages

One current account is included in each package.

${packages}
PackageClientMonthly priceExtra current accounts¹Each / month¹Instant quota / month

¹ Published additional-account limits and prices, subject to feature availability. Flow includes a savings account. Start has no instant payments. Instant quotas are server usage limits.

02 / BORROWING

Credit rates

Annual rates for new applications. Your accepted contract and repayment schedule govern your loan.

${credit}
ProductAnnual ratePrincipal rangeAvailable terms

Launch grants are repayable at 0% interest. Ordinary loans require review and 25% blocked DM collateral. Eligibility, available funding and refinancing conditions apply. Existing fixed-rate contracts retain their agreed rate. Revolving credit is not available.

03 / TRANSPARENCY

Services & taxes

Monthly statements

Free

Automatically archived PDF statements after month-end.

Balance Guard

1.00 DM / month

Published optional price per eligible account. Preference saving is available; protection and charging are not active yet.

Tax policy

Not yet published

VAT and account-tax rates await central configuration. No unconfirmed rate is presented as active.

Your tariff guide

Generated from the bank catalogues on each build. Version ${version}. Package terms: ${BANK_VERSION}. Credit terms: ${CREDIT_VERSION}.

Catalogue references identify source terms, not a new effective date. Administrative rate editing and automatic downloadable PDF publication are planned. You can print or save this guide as PDF now.

No private account or transaction data is published here.

`; +} diff --git a/website/scripts/build.mjs b/website/scripts/build.mjs index 4a77092d..b15c2022 100644 --- a/website/scripts/build.mjs +++ b/website/scripts/build.mjs @@ -1,3 +1,4 @@ +import {bankRatesPage} from './bank-rates-page.mjs'; import{withCanonicalMenu,MAIN_MENU}from'./main-menu.mjs'; import{recordPageUpdates,withMenuBadges}from'./menu-updates.mjs'; import{updatePortalNavigation}from'./portal-navigation.mjs'; @@ -28,6 +29,7 @@ function preparePublicHtml(html){ } return result; } +writeFileSync(path.join(web,'rates-and-charges.html'),bankRatesPage()); let assetCount=0;let assetWriter=null;const types={'.html':'text/html; charset=utf-8','.css':'text/css; charset=utf-8','.js':'text/javascript; charset=utf-8','.json':'application/json; charset=utf-8','.webp':'image/webp','.png':'image/png','.mp4':'video/mp4','.zip':'application/zip','.svg':'image/svg+xml'}; function collect(directory){for(const entry of readdirSync(directory).sort()){const p=path.join(directory,entry);if(statSync(p).isDirectory())collect(p);else{const relative=path.relative(web,p).split(path.sep).join('/');if(/^assets\/seals\/[^/]+-provenance\.txt$/.test(relative))continue;const type=types[path.extname(entry)];if(!type)throw Error('Unexpected asset: '+entry);const bytes=readFileSync(p);const payload=relative.endsWith('.html')?Buffer.from(preparePublicHtml(bytes.toString('utf8'))):relative==='portal-navigation.js'?Buffer.from(withCanonicalMenu(withMenuBadges(bytes.toString('utf8')))):bytes;writeSync(assetWriter,JSON.stringify('/'+relative)+':['+JSON.stringify(type)+','+JSON.stringify(payload.toString('base64'))+'],');assetCount++}}}if(existsSync(dist)){const resolved=path.resolve(dist);if(resolved!==path.join(root,'dist'))throw Error('Invalid dist directory');rmSync(resolved,{recursive:true,force:true})} mkdirSync(path.join(dist,'server'),{recursive:true});mkdirSync(path.join(dist,'.openai'),{recursive:true});assetWriter=openSync(path.join(dist,'server/index.js'),'w');writeSync(assetWriter,'const ASSET_DATA={');collect(web);writeSync(assetWriter,'};\n'); diff --git a/website/web/bank-rates.css b/website/web/bank-rates.css new file mode 100644 index 00000000..8623290d --- /dev/null +++ b/website/web/bank-rates.css @@ -0,0 +1 @@ +*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#091f18;color:#e9eadb;font:16px/1.6 Arial,sans-serif}body>header,footer{padding:22px 5%;border-bottom:1px solid #756337}a{color:#e7cc88}main{max-width:1240px;margin:48px auto;padding:0 28px}.hero{display:flex;gap:48px;align-items:center;padding:54px;border:1px solid #b99a53;border-radius:24px;background:radial-gradient(at top left,#355540,#102e24 70%)}.hero img{width:260px;height:160px;object-fit:contain}.eyebrow{font-size:11px;letter-spacing:.2em;color:#c8af70}h1{font:54px/1.12 Georgia,serif;color:#f2da9d;margin:12px 0}h2{font:32px/1.3 Georgia,serif;color:#f2da9d;margin:10px 0}h3{font-size:18px;color:#ecd79e}.stamp{display:inline-block;border:1px solid #8c8158;border-radius:40px;padding:6px 14px;font-size:11px}.sections{display:flex;gap:12px;margin:24px 0}.sections a,button{border:1px solid #9f874f;border-radius:9px;padding:12px 20px;text-decoration:none;background:#19382c;color:#efdaa3;font-weight:bold}.notice{border-left:4px solid #c5aa64;background:#203c30;border-radius:8px;padding:20px 26px;margin:32px 0}.notice p{margin:5px 0}section[id]{margin:48px 0}.table-wrap{overflow:auto;border:1px solid #55765a;border-radius:14px}table{width:100%;border-collapse:collapse;font-size:14px;text-align:left}thead{background:#294e3d;color:#e2c77d}th,td{padding:17px 20px;border-bottom:1px solid #365342}tbody tr:last-child>*{border:0}tbody th{color:#f2e0b4}tbody tr:nth-child(even){background:#112e23}.fine{font-size:12px;color:#b6c9bc}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.service-grid article{border:1px solid #597659;border-radius:14px;padding:24px;background:#153328}.service-grid strong{font:26px Georgia,serif;color:#abd8c4}.service-grid p{font-size:14px;color:#c2d0c4}.document{display:flex;align-items:center;gap:35px;padding:28px;border:1px solid #9f874f;border-radius:14px}.document p{font-size:13px}.document button{white-space:nowrap;cursor:pointer}footer{display:flex;gap:26px;margin-top:55px}@media print{body{background:white;color:#182d23}body>header,.sections,button,footer{display:none}main{margin:0;max-width:none}.hero{padding:20px}.hero img{width:170px;height:90px}h1{font-size:32px}h1,h2,h3,.fine{color:#263c2c}section[id]{margin:24px 0}th,td{padding:9px}section,article{break-inside:avoid}.service-grid{display:block}.service-grid article,.notice{background:white}.service-grid article{padding:8px}.document{padding:12px}} diff --git a/website/web/portal-navigation.js b/website/web/portal-navigation.js index e0f5033e..d3e90ac8 100644 --- a/website/web/portal-navigation.js +++ b/website/web/portal-navigation.js @@ -61,3 +61,5 @@ /* Public developer API portal link in the shared footer */ (()=>{function sync(){const nav=document.querySelector('.dune-shared-footer nav');if(!nav)return;let a=nav.querySelector('[data-dune-api-footer]');if(!a){a=document.createElement('a');a.dataset.duneApiFooter='1';nav.append(a);}a.href='https://www.dunerealms.com/api.html';a.textContent='Developer API';}sync();new MutationObserver(sync).observe(document.body,{childList:true});})(); + +(()=>{function sync(){const nav=document.querySelector('.dune-shared-footer nav');if(!nav||nav.querySelector('[data-bank-rates]'))return;const a=document.createElement('a');a.dataset.bankRates='1';a.href='https://www.dunerealms.com/rates-and-charges.html';a.textContent='Rates & Charges';nav.append(a);}sync();new MutationObserver(sync).observe(document.body,{childList:true,subtree:true});})(); diff --git a/website/web/rates-and-charges.html b/website/web/rates-and-charges.html new file mode 100644 index 00000000..fb3bd457 --- /dev/null +++ b/website/web/rates-and-charges.html @@ -0,0 +1 @@ +Rates & Charges | Imperial Postbank
DuneRealms
Imperial Postbank

YOUR MONEY. CLEAR TERMS.

Rates & Charges

A clear guide to your banking costs.

PUBLIC TARIFF GUIDE · d290bf6cb0
01 / EVERYDAY BANKING

Accounts & packages

One current account is included in each package.

PackageClientMonthly priceExtra current accounts¹Each / month¹Instant quota / month
Startperson0.00 DM0—0
Flowperson5.00 DM13.00 DM5
Connectclan / company10.00 DM23.00 DM15
Scaleclan / company25.00 DM92.00 DM40
Civichouse / office0.00 DM0—10
Publicstaff0.00 DM0—25

¹ Published additional-account limits and prices, subject to feature availability. Flow includes a savings account. Start has no instant payments. Instant quotas are server usage limits.

02 / BORROWING

Credit rates

Annual rates for new applications. Your accepted contract and repayment schedule govern your loan.

ProductAnnual ratePrincipal rangeAvailable terms
Launch Start0.00%2500.00–2500.00 DMUp to 12 months
Launch Build0.00%5000.00–5000.00 DMUp to 12 months
Launch Advance0.00%10000.00–10000.00 DMUp to 12 months
Personal Loan8.39%1000.00–25000.00 DM3, 6, 9, 12 months
One-Month Advance10.39%250.00–2500.00 DM1 months
Business Loan4.50%5000.00–100000.00 DM3, 6, 12, 18, 24 months
Civic Loan3.50%5000.00–100000.00 DM3, 6, 12 months
Personal Refinancing12.00%0.01–100000.00 DM3, 6, 9, 12, 18, 24 months
Business Refinancing6.50%0.01–500000.00 DM3, 6, 12, 18, 24 months
Civic Refinancing5.50%0.01–500000.00 DM3, 6, 12 months

Launch grants are repayable at 0% interest. Ordinary loans require review and 25% blocked DM collateral. Eligibility, available funding and refinancing conditions apply. Existing fixed-rate contracts retain their agreed rate. Revolving credit is not available.

03 / TRANSPARENCY

Services & taxes

Monthly statements

Free

Automatically archived PDF statements after month-end.

Balance Guard

1.00 DM / month

Published optional price per eligible account. Preference saving is available; protection and charging are not active yet.

Tax policy

Not yet published

VAT and account-tax rates await central configuration. No unconfirmed rate is presented as active.

Your tariff guide

Generated from the bank catalogues on each build. Version d290bf6cb0. Package terms: postbank-foundation-2026-11-13. Credit terms: postbank-credit-2026-11-14.

Catalogue references identify source terms, not a new effective date. Administrative rate editing and automatic downloadable PDF publication are planned. You can print or save this guide as PDF now.

No private account or transaction data is published here.

\ No newline at end of file