Skip to content

Material Web rebuild for GitHub Pages deployment#3

Merged
hsali merged 1 commit into
mainfrom
feat/material-rebuild-emulationai
Jun 16, 2026
Merged

Material Web rebuild for GitHub Pages deployment#3
hsali merged 1 commit into
mainfrom
feat/material-rebuild-emulationai

Conversation

@hsali

@hsali hsali commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • integrate Material Web (M3) framework across all HTML pages
  • add custom Material-themed CSS classes and JS behavior layer
  • fix broken internal/contact links for static deployment reliability

Notes

  • all pages now load Material Web module plus media/material-theme.css and media/material-init.js
  • changes are static-site compatible for GitHub Pages deployment

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 16, 2026 18:21
@hsali hsali merged commit 3af089a into main Jun 16, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the site’s static HTML pages to adopt a Material Web (M3) look-and-feel for GitHub Pages deployment, adding a shared theme stylesheet and a small JS behavior layer while also adjusting some internal links.

Changes:

  • Loads Material Web (@material/web) and applies a site-wide material-theme body class across pages.
  • Adds media/material-theme.css (Material-themed styling) and media/material-init.js (ripple + active-nav behavior).
  • Updates internal footer links (e.g., services.htmlservice.html) and corrects some email link schemes (mail:mailto: on select pages).

Reviewed changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 35 comments.

Show a summary per file
File Description
about.html Adds Material Web + theme assets; updates footer services/pricing links.
blog-details.html Adds Material Web + theme assets; updates footer services/pricing links.
blog-standard.html Adds Material Web + theme assets; updates footer services/pricing links.
blog.html Adds Material Web + theme assets; updates footer services/pricing links.
careers.html Adds Material Web + theme assets and init script.
contact.html Adds Material Web + theme assets; updates footer services/pricing links.
error.html Adds Material Web + theme assets; updates footer services/pricing links.
faq.html Adds Material Web + theme assets; updates footer services/pricing links.
home2.html Adds Material Web + theme assets; updates footer services/pricing links.
index.html Adds Material Web + theme assets; fixes mail:mailto:; adds init script.
news.html Adds Material Web + theme assets; fixes mail:mailto:; adds init script.
pricing.html Adds Material Web + theme assets; updates footer services/pricing links.
project-details.html Adds Material Web + theme assets; updates footer services/pricing links.
project.html Adds Material Web + theme assets; updates footer services/pricing links.
service-details.html Adds Material Web + theme assets; updates footer services/pricing links.
service.html Adds Material Web + theme assets; updates footer services/pricing links.
team.html Adds Material Web + theme assets; updates footer services/pricing links.
media/material-theme.css New Material-themed styling layer (colors, surfaces, buttons, inputs).
media/material-init.js New JS behavior (theme class, ripples, active nav state).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread team.html
Comment on lines +517 to +518
<a href="tel:info@example.com">info@example.com</a>
<a href="tel:info@support.com">info@support.com</a>
Comment thread service.html
Comment on lines +747 to +748
<a href="tel:info@example.com">info@example.com</a>
<a href="tel:info@support.com">info@support.com</a>
Comment thread service-details.html
Comment on lines +378 to +379
<a href="tel:info@example.com">info@example.com</a>
<a href="tel:info@support.com">info@support.com</a>
Comment thread project.html
Comment on lines +432 to +433
<a href="tel:info@example.com">info@example.com</a>
<a href="tel:info@support.com">info@support.com</a>
Comment thread project-details.html
Comment on lines +353 to +354
<a href="tel:info@example.com">info@example.com</a>
<a href="tel:info@support.com">info@support.com</a>
Comment thread blog.html
<link href="./media/material-theme.css" rel="stylesheet">

<title>Creasoft - Software and Digital Agency HTML Template</title>
<script type="module" src="https://unpkg.com/@material/web/all.js?module"></script>
Comment thread blog-standard.html
<link href="./media/material-theme.css" rel="stylesheet">

<title>Creasoft - Software and Digital Agency HTML Template</title>
<script type="module" src="https://unpkg.com/@material/web/all.js?module"></script>
Comment thread blog-details.html
<link href="./media/material-theme.css" rel="stylesheet">

<title>Creasoft - Software and Digital Agency HTML Template</title>
<script type="module" src="https://unpkg.com/@material/web/all.js?module"></script>
Comment thread about.html
<link href="./media/material-theme.css" rel="stylesheet">

<title>Creasoft - Software and Digital Agency HTML Template</title>
<script type="module" src="https://unpkg.com/@material/web/all.js?module"></script>
Comment thread media/material-init.js
Comment on lines +13 to +22
const currentPath = (location.pathname.split("/").pop() || "index.html").toLowerCase();
document.querySelectorAll(".main-nav a[href]").forEach((a) => {
const href = (a.getAttribute("href") || "").toLowerCase();
if (!href || href.startsWith("#")) {
return;
}
if (href === currentPath || (currentPath === "" && href === "index.html")) {
a.classList.add("active");
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants