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
  1. 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.

  2. 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.

  3. 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.

The PalmRise home page: the headline “Financing for everyday people” over an illustration of palm trees and a setting sun, a Get Started button, and a “Calculate my loan” button in the corner.
The home page. “Calculate my loan” sits on the first screen, for visitors who want 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.

The loan calculator: a Salary Advance of ₦500,000 over one month, with a slider and a typed amount on the left, and on the right ₦550,000 to repay, broken into amount received, interest and total, with the ₦5,000 processing fee shown separately.
A ₦500,000 Salary Advance over one month, the example used below.

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.

Close-up of the amount controls: a slider from ₦100,000 to ₦10,000,000 set to ₦500,000, and under it a field labelled “Or type the exact amount” holding 500,000.
The slider for a rough figure, and the field under it for an exact one. Both move together.

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.

Close-up of the calculator result: ₦550,000 to repay, made up of ₦500,000 received, ₦50,000 interest and ₦550,000 total repayment, then below a rule the processing fee of ₦5,000, labelled “Paid once, upfront, not part of your repayments”.
The fee sits under its own rule, labelled as paid once and upfront. Repayments plus the fee: ₦555,000.
The PalmRise home page on a phone: the headline, a short description of who PalmRise lends to, a Get Started button and the palm tree illustration.
The loan calculator on a phone, with the product picker, amount slider, typed amount, term buttons and the monthly repayment below.
The Get Started page on a phone, asking the visitor to pick what they’re here for, starting with a loan.
On a phone: the home page, the calculator, and Get Started, where you choose a loan, a partnership or something else before filling in one short form.

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.

src/lib/calc/loan.tsTypeScript
/**
 * 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,
    },
  };
}
An excerpt. Out-of-range amounts come back as a reason rather than an error, so the calculator can say what range a product allows instead of breaking.

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.

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