PalmRise Limited
PalmRise
A licensed lender in Abeokuta for salary earners, traders and small business owners. I designed and built its website, with a loan calculator that shows someone on a phone an estimate of what a loan will cost before they call.
- Role
- Design & front-end
- Timeline
- Sep – Oct 2026
- Team
- Solo
- Platform
- Website · Loan calculator
- Industry
- Lending · Fintech
- Status
- Live · palmriselimited.com
At a glance
- Problem
Borrowers reading on phones and mobile data could not see what a PalmRise loan would cost without calling, and each product repays on its own rhythm: monthly, weekly, daily or on market days.
- My part
I designed and built the site end to end, from the content structure and visual design to the Astro build and the loan calculator, with every rate and fee confirmed by PalmRise.
- Key decisions
Price each loan by its number of repayments and how often they fall, not by months, so daily, weekly and market-day loans are quoted correctly.
Show the processing fee on its own line because it is paid upfront, and let the last repayment absorb rounding so the schedule adds up to the total.
Ship the pages as plain HTML with the calculator as the only JavaScript, and cut the naira sign’s font cost from 83 KB to 1.2 KB.
- Result
Live at palmriselimited.com. The home page’s first load fell from 229 KB to about 147 KB, and 34 unit tests cover the loan arithmetic and fee tiers.
01 · The brief
Loans built around how people earn.
PalmRise is a licensed money lender in Abeokuta, Ogun State. The founder started out lending to petty traders in 2021, and the company has been licensed since January 2024. Its customers are salary earners, traders and small business owners, and it also offers a partnership for people who want to put money in.
Each loan is built around how the customer earns. Salary advances run for one to six months. SME loans are repaid weekly or daily, and Marketly loans are repaid on market days at Kuto, Lafenwa and Elega. Every loan has a flat monthly rate and requires a guarantor and collateral.
My job was to design and build a site that explains all of this to someone reading on a phone, often on mobile data, who wants to know what a loan will cost before they call.

02 · The calculator
Working out a loan before applying.
In the calculator, you pick a product, set an amount and choose a term. The repayment updates as you go.

You can drag a slider or type the exact amount. I added the typed field for people who aren’t comfortable with sliders, and because landing a slider on an exact figure is hard on a phone.

The processing fee is shown separately because it is paid upfront. The repayment breakdown distinguishes it from recurring repayments. On the ₦500,000 example, that is ₦550,000 in repayments plus the ₦5,000 fee: ₦555,000 paid back in all, so the loan costs ₦55,000.
Every number is labelled as an estimate, and “Apply with these figures” carries them into the application form, so nobody types them twice.




03 · The code
The arithmetic, on its own.
The calculator is an interactive React component within a static Astro site. Its arithmetic sits in a separate TypeScript module: 34 unit tests cover interest bases, rounding and fee-tier boundaries. It counts repayments and their frequency rather than months, because SME Daily repays every day, SME Weekly every week and Marketly on market days. Fee tiers live in content files, so PalmRise can change them without editing the calculation code.
/**
* The market cycle is 4 days, confirmed by PalmRise: SME Marketly's 11 markets
* across Kuto, Lafenwa and Elega run to roughly 44 days.
*/
export const DAYS_PER_PERIOD: Record<RepaymentFrequency, number> = {
daily: 1,
weekly: 7,
market: 4,
monthly: 30.4375,
};
export function calculateLoan(input: LoanInput): LoanCalculation {
const { amount, instalments, frequency, rate } = input;
// … term and rate checks …
// The fee lookup also enforces the borrowable range, so range validation
// lives in exactly one place.
const fee = resolveProcessingFee(amount);
if (!fee.ok) return { ok: false, reason: fee.reason };
const termMonths = input.exactMonths ?? termInMonths(instalments, frequency);
const totalRepayment = Math.round(amount + totalInterestFor(input, termMonths));
const totalInterest = totalRepayment - amount;
// Rounding each instalment independently would make the schedule sum to
// something other than the stated total. Rounding the regular instalment up
// and letting the final one absorb the difference keeps the arithmetic
// honest: a borrower can add the figures up and reach the total.
const instalmentAmount = Math.ceil(totalRepayment / instalments);
const finalInstalment = totalRepayment - instalmentAmount * (instalments - 1);
return {
ok: true,
result: {
// …
totalRepayment,
instalmentAmount,
finalInstalment,
processingFee: fee.result.fee,
dueUpfront: fee.result.fee,
totalCostOfCredit: totalInterest + fee.result.fee,
},
};
}04 · Building it
How it’s built.
- Astro, with one React component
- The site is built with Astro, so pages ship as plain HTML. The calculator is the only React component. Performance target: load in under three seconds on mobile data. Measured on the production build with Lighthouse’s mobile preset (an emulated mid-range Android phone, simulated slow 4G, 4× CPU slowdown) on 6 October 2026: Largest Contentful Paint 2.4 s, Total Blocking Time 0 ms, Cumulative Layout Shift 0.
- A font file for the ₦ sign
- The ₦ sign was pulling in an 83 KB font file on its own, so I gave it a font file containing just that character. That took fonts on the home page from 148 KB to 66.5 KB, and the first load from 229 KB to about 147 KB. An end-to-end test holds that font budget, so the larger file can’t quietly come back.
- Content security policy
- The site runs a strict content security policy that blocks inline styles. The hero animation, the staggered reveals and the badge rotations run on a fixed set of classes instead, and the build fails if an inline style is added.
- Only confirmed figures
- A wrong rate or licence detail would mislead someone deciding whether to borrow. Every figure in the content is marked as confirmed by PalmRise, and the build stops if one isn’t.
- Accessibility
- The target is WCAG 2.1 AA. Every colour pairing has its contrast ratio written next to it in the theme, and automated accessibility checks run with the end-to-end tests.
Explore more
Build · Product design · Shop & bookings
D’Luxe Haven
A Lagos studio selling interior design, home scents and serviced apartments. I built its shop, bookings, payments and admin from another designer’s Figma.
Design · Build · Storefront
Noorish London
A London womenswear label. I designed and built its Shopify store.
Design · Build · Event registration
JCI Convention
JCI Continental Lagos is a chapter of JCI, a worldwide network of young leaders. I designed and built registration for its 2026 convention, from bank-transfer payments to QR tickets scanned at the gate.
Got something worth building?
For roles, contracts or project enquiries, email me. I usually reply within a couple of days.
- Collaborations
- Coffee invitations
- Love letters
- Spam