muhammad-junaid · portfolio
// A tiny greeting module. Runs once per visitor, right at the door.
export interface Visitor {
  name: string
  greeted: boolean
}

export function greet(visitor: Visitor): string {
  // New visitors get the full line. Returning ones get the short one.
  // Something about this check reads backwards - look closely.
  if (visitor.greeted === false) {
    visitor.greeted = true
    return `Hi, ${visitor.name}. Good to have you here.`
  }

  return `Welcome back, ${visitor.name}.`
}
  • README.md
  • how-i-work.md
  • fix-me.ts
  • wheelbuilds.tsxengineering
  • inspect.tsxengineering
  • identimal.tsxengineering
  • local-coding-model-exp.tsxengineering
  • this-portfolio.tsxengineering
  • crowdfunding-platform.mdproduct
  • web3-nft-dapp.previewproduct
  • real-estate-platform.previewproduct
  • enterprise-risk-management.mdproduct
  • tech-recruiting-platform.mdproduct
  • salesforce-lightning-builds.mdproduct
  • b2b-procurement-platform.mdproduct
  • enterprise-portals.mdproduct
  • shipping-with-ai.mdproduct
  • skills.json
  • contact.ts
  • Muhammad_Junaid_Resume.pdf
  • Switch theme
  • Toggle terminal
  • Open assistant
  • Download resume
  • Copy emailmjunaid7843@gmail.com