Material Web rebuild for GitHub Pages deployment#3
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
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-widematerial-themebody class across pages. - Adds
media/material-theme.css(Material-themed styling) andmedia/material-init.js(ripple + active-nav behavior). - Updates internal footer links (e.g.,
services.html→service.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 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 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 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 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 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> |
| <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> |
| <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> |
| <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> |
| <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 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"); | ||
| } | ||
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Notes