Imported library

← Imported library
Free sampleMIT licence

Developer portfolio hero (terminal and project showcase)

hero

Hero from PicartWeb/hero-section-collection.

From prompt to live site

  1. 01

    Copy the code

    Grab every file as one text, each carrying its licence notice.

  2. 02

    Paste into your AI

    Drop it into Claude, Cursor or v0 — or straight into your own project.

  3. 03

    Launch it live

    Adapt the copy, wire your data, and ship — with the notice kept alongside.

Read the full code
Developer portfolio hero (terminal and project showcase)
PicartWeb/hero-section-collection@87193fd823cb · 3 code file(s)

Licence notice — required by the licence; keep it with this code:

MIT License

Copyright (c) 2026 Picart Web

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

--- hero-10-developer-portfolio/index.html ---
<!DOCTYPE html>
<!--
MIT License

Copyright (c) 2026 Picart Web

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-->
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Developer Portfolio Hero | Hero Section Collection</title>
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <main class="shell">
    <aside class="identity">
      <a href="../index.html">AK</a>
      <nav aria-label="Portfolio navigation"><a href="#projects">Projects</a><a href="#stack">Stack</a><a href="#contact">Contact</a></nav>
    </aside>
    <section class="hero">
      <div class="intro">
        <span class="available">Available for selective builds</span>
        <h1>Full-stack developer building fast, useful web products.</h1>
        <p>I design and ship dashboards, booking systems, content platforms, and polished front-end experiences for small teams.</p>
        <div class="actions"><a class="primary" href="https://github.com/PicartWeb">GitHub</a><a class="secondary" href="mailto:info@picartweb.com">Contact me</a></div>
      </div>
      <section class="terminal" aria-label="Project preview terminal">
        <div class="bar"><i></i><i></i><i></i><span>projects.js</span></div>
        <pre id="projectPreview">const project = {
  name: "Client Portal",
  stack: ["PHP", "MySQL", "Vanilla JS"],
  status: "launched"
}</pre>
      </section>
      <section class="projects" id="projects"><button class="active" data-project="portal" type="button">Client Portal</button><button data-project="booking" type="button">Booking UI</button><button data-project="analytics" type="button">Analytics</button></section>
      <section class="stack" id="stack"><span>HTML</span><span>CSS</span><span>JavaScript</span><span>PHP</span><span>Laravel</span></section>
    </section>
  </main>
  <footer id="contact">info@picartweb.com</footer>
  <script src="script.js"></script>
</body>
</html>

--- hero-10-developer-portfolio/script.js ---
/*!
MIT License

Copyright (c) 2026 Picart Web

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
const menuToggle = document.querySelector(".menu-toggle");
const nav = document.getElementById(menuToggle?.getAttribute("aria-controls"));

function closeMenu() {
  document.body.classList.remove("menu-open");
  menuToggle?.setAttribute("aria-expanded", "false");
}

menuToggle?.addEventListener("click", () => {
  const open = document.body.classList.toggle("menu-open");
  menuToggle.setAttribute("aria-expanded", String(open));
});

nav?.addEventListener("click", (event) => {
  if (event.target.closest("a")) closeMenu();
});

document.addEventListener("keydown", (event) => {
  if (event.key === "Escape") closeMenu();
});

document.querySelectorAll("form").forEach((form) => {
  form.addEventListener("submit", (event) => {
    event.preventDefault();
    form.classList.add("submitted");
    setTimeout(() => form.classList.remove("submitted"), 1200);
  });
});

const previews = {
  portal: 'const project = {\n  name: "Client Portal",\n  stack: ["PHP", "MySQL", "Vanilla JS"],\n  status: "launched"\n}',
  booking: 'const project = {\n  name: "Boutique Booking UI",\n  stack: ["HTML", "CSS", "JS"],\n  status: "shipping"\n}',
  analytics: 'const project = {\n  name: "Analytics Console",\n  stack: ["Laravel", "Charts", "APIs"],\n  status: "prototype"\n}'
};
document.querySelectorAll("[data-project]").forEach((button) => {
  button.addEventListener("click", () => {
    document.querySelectorAll("[data-project]").forEach((item) => item.classList.remove("active"));
    button.classList.add("active");
    document.getElementById("projectPreview").textContent = previews[button.dataset.project];
  });
});

--- hero-10-developer-portfolio/style.css ---
/*!
MIT License

Copyright (c) 2026 Picart Web

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;background:#0b1120;color:#e5e7eb}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;overflow-x:hidden}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid currentColor;outline-offset:4px}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.shell{display:grid;grid-template-columns:220px 1fr;min-height:100vh}.identity{border-right:1px solid rgba(148,163,184,.18);padding:28px;display:flex;flex-direction:column;gap:34px}.identity>a{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:#a3e635;color:#0b1120;font-weight:950}.identity nav{display:grid;gap:14px;color:#94a3b8}.hero{padding:54px clamp(18px,5vw,70px);display:grid;grid-template-columns:1fr .9fr;gap:34px;align-items:center}.available{display:inline-flex;border:1px solid rgba(163,230,53,.28);color:#bef264;border-radius:999px;padding:8px 12px}.intro h1{font-size:clamp(2.6rem,6vw,6rem);line-height:.95;margin:18px 0}.intro p{color:#94a3b8;line-height:1.8;font-size:1.1rem}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.primary,.secondary{border-radius:10px;padding:13px 16px;font-weight:900}.primary{background:#a3e635;color:#0b1120}.secondary{border:1px solid rgba(148,163,184,.25)}.terminal{background:#020617;border:1px solid rgba(148,163,184,.22);border-radius:24px;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.28)}.bar{display:flex;align-items:center;gap:8px;padding:13px;border-bottom:1px solid rgba(148,163,184,.18)}.bar i{width:10px;height:10px;border-radius:50%;background:#64748b}.bar span{margin-left:8px;color:#94a3b8}pre{margin:0;padding:26px;min-height:300px;color:#a7f3d0;line-height:1.7;white-space:pre-wrap}.projects{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap}.projects button,.stack span{border:1px solid rgba(148,163,184,.22);background:#111827;color:#e5e7eb;border-radius:999px;padding:10px 13px}.projects .active{background:#a3e635;color:#0b1120}.stack{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap}footer{padding:0 clamp(18px,5vw,70px) 28px;margin-left:220px;color:#94a3b8}@media(max-width:860px){.shell{grid-template-columns:1fr}.identity{border-right:0;border-bottom:1px solid rgba(148,163,184,.18);flex-direction:row;align-items:center}.identity nav{display:flex;flex-wrap:wrap}.hero{grid-template-columns:1fr}.intro h1{font-size:2.7rem}footer{margin-left:0}}
Source and licence

Source: PicartWeb/hero-section-collection@87193fd823cb

Author: 2026 Picart Web

Entry: hero-10-developer-portfolio/index.html

  • brand/nav link points to ../index.html (the repo gallery); repoint on import
MIT License

Copyright (c) 2026 Picart Web

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Files (3, plus 1 media)
  • hero-10-developer-portfolio/index.html (1,904 bytes)
  • hero-10-developer-portfolio/script.js (1,658 bytes)
  • hero-10-developer-portfolio/style.css (2,785 bytes)

Want the whole library?

Every item's prompt, code and instructions, with a CreativePower subscription.

See plans

More hero section templates