// portfolio data

const PROJECTS = [
  {
    num: '01',
    cat: 'Banking Systems',
    year: '2026',
    title: 'ISO 8583 Banking Transaction APIs',
    desc: 'Engineered a high-throughput transaction processing platform handling 1M+ daily transactions with 99.99% uptime. Integrated ATM networks and core banking systems in real time while improving query performance through Oracle optimization and Redis caching.',
    tags: ['Java', 'Spring Boot', 'ISO 8583', 'Oracle', 'Redis'],
    vis: 'http://localhost:881/corsys/urban-mobile-fds/laravel/public/assets/images/urban_orig.png',
    metric: { v: '1M+/day', l: 'transactions' },
  },
  {
    num: '02',
    cat: 'Payment Platform',
    year: '2025',
    title: 'SNAP Payment Gateway Integration',
    desc: 'Built real-time payment services for cash-in, cash-out, fund transfers, and digital wallet top-ups. Improved transaction reliability and reduced latency across high-volume payment corridors using event-driven architecture and resilient backend services.',
    tags: ['Java', 'Spring Boot', 'Kafka', 'SNAP', 'Microservices'],
    vis: 'flow',
    metric: { v: '99.99%', l: 'reliability' },
  },
  {
    num: '03',
    cat: 'Mobile Banking',
    year: '2024',
    title: 'End-to-End Mobile Banking Platform',
    desc: 'Led a team of 4 engineers to design and deliver a full-featured mobile banking platform covering onboarding, PPOB, transfers, and secure transaction flows for Android and iOS users with compliant backend architecture.',
    tags: ['Java', 'Spring Boot', 'REST API', 'Mobile Banking'],
    vis: 'bars',
    metric: { v: '4', l: 'engineers led' },
  },
  {
    num: '04',
    cat: 'Infrastructure',
    year: '2024',
    title: 'CI/CD Optimization & Secure Delivery',
    desc: 'Owned cloud infrastructure and delivery pipelines across multiple banking products. Improved release speed through CI/CD optimization, enforced secure coding standards, and conducted penetration testing using Burp Suite and Frida.',
    tags: ['AWS', 'Docker', 'Kubernetes', 'CI/CD', 'Security'],
    vis: 'grid',
    metric: { v: '0', l: 'critical downtime' },
  },
];

const STACK = [
  { cat: 'Languages', name: 'Java', yrs: '7y', lvl: 95 },
  { cat: 'Languages', name: 'Spring Boot', yrs: '6y', lvl: 93 },
  { cat: 'Languages', name: 'Python', yrs: '3y', lvl: 75 },

  { cat: 'Infra', name: 'Kubernetes', yrs: '4y', lvl: 88 },
  { cat: 'Infra', name: 'Docker', yrs: '5y', lvl: 90 },
  { cat: 'Infra', name: 'AWS', yrs: '5y', lvl: 92 },
  { cat: 'Infra', name: 'CI/CD', yrs: '5y', lvl: 90 },

  { cat: 'Data', name: 'Oracle', yrs: '6y', lvl: 94 },
  { cat: 'Data', name: 'Kafka', yrs: '4y', lvl: 85 },
  { cat: 'Data', name: 'Redis', yrs: '5y', lvl: 88 },
  { cat: 'Data', name: 'MongoDB', yrs: '3y', lvl: 78 },
];

const TIMELINE = [
  {
    yr: '2018 — NOW',
    role: 'Software Engineer',
    co: 'PT Intisoft Mitra Sejahtera',
    what: 'Building high-throughput banking and fintech systems across ATM transactions, core banking, payment gateways, and digital banking platforms. Leading backend architecture, infrastructure, and delivery pipelines while mentoring a team of 4 engineers.',
  },
  {
    yr: '2024 — 2026',
    role: 'Team Lead / Senior Engineer',
    co: 'Banking & FinTech Projects',
    what: 'Owned major delivery streams for mobile banking, internet banking, and conversational banking platforms. Reduced release cycles through CI/CD improvements and enforced secure coding practices across products.',
  },
  {
    yr: '2017 — 2017',
    role: 'Full-Stack JavaScript Engineer (Intern)',
    co: 'Auditsi Executive Search',
    what: 'Developed a responsive job portal using Meteor.js, leading a small team from planning to delivery. Built frontend interfaces and optimized REST API integrations for cross-device usability.',
  },
  {
    yr: '2015 — 2018',
    role: 'Software Engineering Student',
    co: 'Wikrama Vocational School',
    what: 'Focused on software engineering fundamentals, backend systems, and database administration. Built early production systems and completed Microsoft Database Administration certification.',
  },
];

const NOW_LIST = [
  { k: 'Reading', v: 'Designing Data-Intensive Applications · Martin Kleppmann' },
  { k: 'Building', v: 'Secure banking microservices with Java + Kafka' },
  { k: 'Listening', v: 'Lo-fi · focus music · ambient coding sessions' },
  { k: 'Open to', v: 'Senior Java Backend / Fintech roles · 2026' },
  { k: 'Based in', v: 'Jakarta · remote-friendly across SEA' },
];

const MARQUEE = [
  'JAVA',
  'SPRING BOOT',
  'MICROSERVICES',
  'KUBERNETES',
  'AWS',
  'KAFKA',
  'ORACLE',
  'REDIS',
  'ISO 8583',
  'BANKING SYSTEMS',
  'SNAP',
  'CI/CD',
  'FINTECH',
  'SECURITY',
  'PAYMENT GATEWAY',
  'DEVOPS',
];

const H1_POOL = [
  ['Building', 'banking', 'systems', 'that stay online.'],
  ['Keeping', 'transactions', 'fast', 'and reliable.'],
  ['Shipping', 'backend', 'services', 'for real money.'],
  ['Making', 'financial', 'systems', 'boringly stable.'],
  ['Writing', 'code', 'banks', 'can trust.'],
  ['Scaling', 'payments', 'without', 'breaking trust.'],
  ['Quietly', 'running', 'critical', 'infrastructure.'],
];

const PROFILE = {
  name: 'Yohanes Randy Kurnianto',
  nameShort: 'yohanes randy k.',
  initials: 'y',
  monogram: 'yrk',
  photo: 'headshot.png',

  status: {
    availability: "● available · 2026",
    version: 'v 7.0.0',
    city: 'jakarta',
    timezone: 'Asia/Jakarta',
    tzLabel: 'WIB',
    build: 'build · stable',
  },

  hero: {
    badge: 'currently · fintech software engineer @ pt intisoft mitra sejahtera',
    h1: H1_POOL[Math.floor(Math.random() * H1_POOL.length)],
    lede: "I'm Yohanes — a software engineer focused on fintech and banking systems. I work in backend services, transaction platforms, payment gateways, and the infrastructure that keeps high-volume financial systems stable, secure, and fast.",
    meta: [
      { k: 'Role', bold: 'Software Engineer', rest: ' · backend · fintech · banking' },
      { k: 'Based', bold: 'Jakarta', rest: ' — remote across SEA' },
      { k: 'Stack', bold: 'Java', rest: ', Spring Boot, Kafka, AWS, Oracle' },
      { k: 'In prod', bold: '7+ years', rest: ' · 1M+ daily tx · 99.99% uptime' },
      { k: 'Status', bold: 'Open to se roles', rest: ', selectively — 2026' },
    ],
  },

  sections: {
    work: ["Things I've built that ", 'move money', ' safely every day.'],
    stack: ['The tools I trust, ', 'in production', ' and under pressure.'],
    timeline: ['Seven years, banking systems, ', 'one focus', ': reliability.'],
    about: ['I believe the best engineering ', 'feels invisible', '.'],
  },

  about: {
    bio: [
      "I started building software because I liked solving exact problems. I stayed because I learned that in banking, reliability matters more than novelty. The best systems are the ones users never have to think about.",
      "Most of my work lives in backend systems: transaction engines, payment gateways, mobile banking APIs, and the infrastructure around them. I care about stability, performance, and secure systems that survive real production traffic.",
      "Outside of work, I enjoy improving developer workflows, simplifying deployments, and building systems that make engineers sleep better at night instead of waking up to pager alerts.",
    ],
    nowLabel: '# now — april 2026',
  },

  contact: {
    email: 'hello@yortech.id',
    phone: '+62 821 2533 5086',
    resumeUrl: '#',
    cta: ['Have a banking system that', 'needs to ', 'stay up', '?'],
    links: [
      { label: 'github ↗', url: '#' },
      { label: 'linkedin ↗', url: '#' },
    ],
    posts: [
      { label: 'building reliable payment systems ↗', url: '#' },
      { label: 'iso 8583 in production ↗', url: '#' },
      { label: 'quiet ci/cd for fintech teams ↗', url: '#' },
    ],
    sig: '— Yohanes',
    since: 'est. 2018 · ©2026 yohanes',
    legal: [
      'built with care · secure by default',
      'last commit · 2026.04.29 · main · ✓ green',
    ],
  },
};

Object.assign(window, {
  PROJECTS,
  STACK,
  TIMELINE,
  NOW_LIST,
  MARQUEE,
  PROFILE
});