Back to Home Page Full Component
Home Page

Personal Portfolio Page

#fullpage

Live preview

Source code

html
<nav class="navbar navbar-expand-lg navbar-light bg-white">
  <div class="container"><a class="navbar-brand fw-bold" href="#">Ayesha R.</a>
    <ul class="navbar-nav ms-auto flex-row gap-3">
      <li class="nav-item"><a class="nav-link" href="#work">Work</a></li>
      <li class="nav-item"><a class="nav-link" href="#about">About</a></li>
      <li class="nav-item"><a class="nav-link" href="#contact">Contact</a></li>
    </ul>
  </div>
</nav>
<section class="py-5 text-center">
  <div class="container py-5"><img src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=300&h=300&fit=crop" alt="Ayesha portrait" class="rounded-circle mb-4" style="width:160px;height:160px;object-fit:cover">
    <h1 class="display-4 fw-bold">Hi, I'm Ayesha 👋</h1>
    <p class="lead text-muted">Product designer crafting delightful experiences for early-stage startups.</p>
    <div><a href="#" class="btn btn-dark me-2">View portfolio</a><a href="mailto:hi@ayesha.com" class="btn btn-outline-dark">Say hi</a></div>
  </div>
</section>
<section id="work" class="py-5 bg-light">
  <div class="container">
    <h3 class="fw-bold mb-4">Recent projects</h3>
    <div class="row g-4">
      <div class="col-md-4">
        <div class="card border-0 shadow-sm"><img src="https://images.unsplash.com/photo-1522542550221-31fd19575a2d?w=600&h=400&fit=crop" alt="App project" class="card-img-top">
          <div class="card-body">
            <h6 class="fw-bold">Fintech mobile app</h6><small class="text-muted">iOS · 2025</small>
          </div>
        </div>
      </div>
      <div class="col-md-4">
        <div class="card border-0 shadow-sm"><img src="https://images.unsplash.com/photo-1467232004584-a241de8bcf5d?w=600&h=400&fit=crop" alt="Web project" class="card-img-top">
          <div class="card-body">
            <h6 class="fw-bold">SaaS dashboard</h6><small class="text-muted">Web · 2024</small>
          </div>
        </div>
      </div>
      <div class="col-md-4">
        <div class="card border-0 shadow-sm"><img src="https://images.unsplash.com/photo-1559028012-481c04fa702d?w=600&h=400&fit=crop" alt="Brand project" class="card-img-top">
          <div class="card-body">
            <h6 class="fw-bold">Brand identity</h6><small class="text-muted">Branding · 2024</small>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>
<section id="about" class="py-5">
  <div class="container">
    <div class="row g-5 align-items-center">
      <div class="col-md-6">
        <h3 class="fw-bold">About me</h3>
        <p class="text-muted">7+ years designing products for humans. Previously at Grameenphone, now freelancing with founders around the world.</p>
      </div>
      <div class="col-md-6">
        <h5>Skills</h5><span class="badge bg-secondary me-1 mb-1">Figma</span><span class="badge bg-secondary me-1 mb-1">Design Systems</span><span class="badge bg-secondary me-1 mb-1">UX Research</span><span class="badge bg-secondary me-1 mb-1">Webflow</span>
      </div>
    </div>
  </div>
</section>
<footer id="contact" class="py-5 bg-dark text-white text-center">
  <div class="container">
    <h4>Let's work together</h4><a href="mailto:hi@ayesha.com" class="btn btn-warning mt-2">hi@ayesha.com</a>
    <p class="small mt-3 text-white-50">© Ayesha R. 2026</p>
  </div>
</footer>
How to use this home page

Add it to your project in three steps

  1. Copy the HTML from the Source code tab above and paste it inside your <div class="container"> wrapper.
  2. Make sure the Bootstrap 5 CDN CSS and JS are linked in your <head> and before </body>. Any CodeShikhi component assumes Bootstrap 5.3+ is already loaded.
  3. Swap the placeholder text, links, and images for your own content — the layout, spacing, and responsive behaviour stay intact.

The Personal Portfolio Page block is fully responsive and works on every screen from 320 px phones to 1440 px+ desktops without additional CSS.

Accessibility checklist

Ship it accessible by default

  • Use semantic HTML landmarks — <header>, <nav>, <main>, <footer> — so screen readers can navigate your page.
  • Give every image an alt attribute (empty alt="" if it's decorative).
  • Label icon-only buttons with aria-label and keep focus outlines visible.
  • Maintain a contrast ratio of at least 4.5:1 for body text against its background.
  • Test the home page with Tab / Shift+Tab and Enter — every interactive element should be reachable.
Step-by-step customisation

Make it match your brand

  1. Change the colour palette by overriding Bootstrap CSS variables: --bs-primary, --bs-body-bg.
  2. Adjust spacing with utility classes such as py-5, gap-4, and mt-lg-5 — no custom CSS required.
  3. Swap the typography by loading a Google Font in your <head> and setting --bs-body-font-family.
  4. Replace stock images with brand assets. Keep dimensions similar to avoid layout shift.
  5. Preview at multiple breakpoints (mobile, tablet, desktop) and tweak column spans if content wraps awkwardly.

Need the full theory? Read our Bootstrap 5 Technical Introduction Guide for grid, breakpoints, and Sass customisation in depth.

About the Personal Portfolio Page home page

This home page is part of the free CodeShikhi (কোড শিখি) Bootstrap 5 library — a growing collection of copy-paste website building blocks curated for learners and freelance developers. Every block is written in clean, semantic HTML with Bootstrap utility classes, keeps custom CSS to the minimum needed, and works without any build step. Use it as a starting point and adapt the markup, colours, and content to fit your project's brand and audience.

If you spot a bug, want a new variation, or would like to contribute an improvement, reach us via the contact page — we ship updates weekly based on community feedback.

Detailed Technical Breakdown

Detailed Technical Breakdown: Personal Portfolio Page

Browser compatibility & standards

The Personal Portfolio Page home page is authored against Bootstrap 5.3, which drops legacy Internet Explorer support and targets modern evergreen engines — Chrome, Edge, Firefox, Safari, and all Chromium-based mobile browsers. Because the markup relies exclusively on the standard CSS features that ship with Bootstrap (Flexbox, CSS Grid, CSS custom properties, and the responsive breakpoint system), you can safely deploy this home page to any browser released in the last five years without polyfills. If you need to support very old WebKit or Samsung Internet builds, load the standard Bootstrap 5 CSS from the official jsDelivr CDN — the bundled autoprefixer output already covers those vendor prefixes.

Performance impact

Performance-wise this block is intentionally light. The HTML payload for a typical Bootstrap home page is under 4 KB gzipped, and it shares the same Bootstrap CSS/JS bundle you are already loading — meaning the marginal cost of adding it to a page is effectively zero KB on repeat visits. There is no JavaScript framework runtime, no hydration cost, and no client-side data fetching. The only images referenced are placeholders you will replace with your own assets; when you do, serve them as WebP or AVIF, add explicit width and height attributes to prevent layout shift (CLS), and lazy-load anything below the fold with loading="lazy". These small changes typically move Lighthouse Performance scores from the mid-80s into the 95+ range on both mobile and desktop.

Utility classes used

The home page leans on Bootstrap's utility-first classes to stay declarative: spacing utilities (p-*, m-*, gap-*), the flex helpers (d-flex, align-items-*, justify-content-*), the grid system (container, row, col-lg-*), typography helpers (display-*, lead, text-*), and colour utilities that resolve to Bootstrap CSS variables such as --bs-primary, --bs-body-bg, and --bs-border-color. Because everything is expressed as utilities you can re-theme the entire home page by overriding a handful of CSS variables at the :root level — no Sass recompile required.

Exact customisation steps

  1. Copy the source HTML from the tab above and paste it inside your <body>. The outer <div class="container"> wrapper is already included so the home page sits on the Bootstrap grid.
  2. Replace the placeholder headings and paragraphs with your own copy. Keep heading levels in order (h1h2h3) so screen readers and search engines can parse the document outline.
  3. Swap any <img> tags for your brand assets. Match the original aspect ratio to avoid layout shift, and always fill in a meaningful alt attribute.
  4. Retune the palette by overriding CSS variables::root { --bs-primary: #4f46e5; --bs-body-bg: #ffffff; }. All utility colour classes update automatically.
  5. Test at each Bootstrap breakpoint — sm (576 px), md (768 px),lg (992 px), xl (1200 px), xxl (1400 px) — using your browser's device toolbar, and tweak column spans if long content wraps.
  6. Ship it with the standard Bootstrap 5 CDN in the <head> and the JS bundle before the closing </body>. No build step required.
Technical & Performance Integration Guide

Technical & Performance Integration Guide — Personal Portfolio Page (gallery)

When and why to use this gallery

An image gallery is the heaviest block you can put on a page, and also the one visitors judge fastest. The goal is a grid that stays perfectly aligned while loading progressively, so the layout never jumps as photographs arrive.

Accessibility & ARIA attributes

Give each image a descriptive alt attribute that says what the photo shows, not "image1.jpg". Purely decorative tiles take alt="". If clicking a thumbnail opens a lightbox, that dialog needs role="dialog", aria-modal="true", a focus trap and Escape-to-close — Bootstrap's modal component provides all of this when you keep its data attributes intact. Announce the gallery itself with a <section aria-label="Photo gallery"> wrapper.

Performance notes for this pattern

Always pair loading="lazy" with a fixed aspect ratio (.ratio.ratio-4x3) so lazy images reserve their space and CLS stays at zero. Serve responsive sources with srcset and sizes so phones download roughly 400 px-wide files rather than desktop originals — typically a 70–80% byte saving. Decode off the main thread with decoding="async", and keep the first row eager so the gallery paints something immediately.

Three customisation tricks

  • Use .object-fit-cover with a ratio wrapper for a masonry-like look without a JavaScript layout library.
  • Add .g-2 instead of .g-4 for a tighter, more editorial mosaic.
  • Preload only the first visible image with <link rel="preload" as="image">.

Mistakes to avoid

  • Shipping 3000 px originals to mobile.
  • Empty or duplicated alt text across every tile, which search engines treat as a quality signal.

More designs in this section