Decan logoDecan Konnect

Documentation & guide

This page explains every link on the hub, how the site is built, and how to change or deploy it.

Add or edit a button

Open index.html, copy one <a class="card"> block and change four things: the --accent colour, the href, the title and the description. The icon is an inline SVG path, so no icon library is needed.

<a class="card" style="--accent:#a78bfa"
   href="https://example.com" target="_blank" rel="noopener noreferrer">
  <span class="ico"><svg viewBox="0 0 24 24"><path d="..."/></svg></span>
  <span class="txt"><h2>Title</h2><p>Description</p></span>
</a>

Colours live in :root at the top of assets/style.css (--v, --b, --c, --p).

SEO checklist

Animations

Deploy on Vercel

  1. Push the folder to a GitHub repository (or run vercel inside it).
  2. Import the repo in Vercel. Framework preset: Other. No build command, output directory is the root.
  3. Add a custom domain such as links.decankonnect.co.ke under Project Settings, Domains.
  4. vercel.json already enables clean URLs (so /docs works), security headers, a Content-Security-Policy and sensible caching.
  5. In your DNS add a CNAME record: name links, value cname.vercel-dns.com.
  6. After changing CSS or JS, visitors pick up the new version within an hour (assets are cached for 1 hour).

Project structure

decan-links/
  index.html
  docs/index.html
  404.html
  favicon.svg
  icon-192.png, icon-512.png, apple-touch-icon.png
  og-image.png
  manifest.webmanifest
  robots.txt
  sitemap.xml
  vercel.json
  README.md
  assets/style.css
  assets/app.js

Back to links