A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and deploying solutions.
JavaScript claude-code-pluginclaude-code-skillscode-appsgithub-copilot-pluginpower-appspower-pagespower-platform
Use Power Pages icon in create-site preview loader (#117)
Priyanshu Agrawal465a495175fc
diff --git a/plugins/power-pages/skills/create-site/SKILL.md b/plugins/power-pages/skills/create-site/SKILL.mdindex edd1d131d..4e2d3438e 100644--- a/plugins/power-pages/skills/create-site/SKILL.md+++ b/plugins/power-pages/skills/create-site/SKILL.md@@ -101,6 +101,10 @@ Read and copy all files from the matching asset template to the project directorUse `Glob` to discover all files in the asset directory, `Read` each file, then `Write` to the project directory preserving the relative path structure.+**Also copy the shared loader icon** that the scaffold references from its CSS (`url('/power-pages-icon.png')`):++`Read` the binary file `${CLAUDE_PLUGIN_ROOT}/skills/create-site/assets/shared/power-pages-icon.png` and `Write` it to `<PROJECT_ROOT>/public/power-pages-icon.png`. (All four supported frameworks serve `public/` at the web root, so the same `/power-pages-icon.png` URL works for every framework.)+### 2.2 Replace PlaceholdersAfter copying, replace all `__PLACEHOLDER__` tokens in every file. Use `Edit` with `replace_all: true` on each file.diff --git a/plugins/power-pages/skills/create-site/assets/angular/src/app/pages/home.component.ts b/plugins/power-pages/skills/create-site/assets/angular/src/app/pages/home.component.tsindex c3482f9ab..7b8d52c2c 100644--- a/plugins/power-pages/skills/create-site/assets/angular/src/app/pages/home.component.ts+++ b/plugins/power-pages/skills/create-site/assets/angular/src/app/pages/home.component.ts@@ -53,29 +53,8 @@ html, body { overflow: hidden; background: var(--pp-bg); color: var(--pp-text);.center-stage { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 36px; padding: 40px 40px 48px; max-height: 100vh; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }.center-stage::-webkit-scrollbar { display: none; }.orbit-system { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; }-.core-shape { position: absolute; width: 72px; height: 72px; z-index: 5; }-.core-shape .slab { position: absolute; width: 72px; height: 48px; border-radius: 14px; left: 50%; top: 50%; transform-origin: center center; box-shadow: 0 4px 20px rgba(139, 111, 192, 0.2); }-.core-shape .slab:nth-child(1) { background: linear-gradient(135deg, var(--pp-lavender), var(--pp-periwinkle)); animation: slabTop 4s ease-in-out infinite; z-index: 3; }-.core-shape .slab:nth-child(2) { background: linear-gradient(135deg, var(--pp-purple), var(--pp-sky)); animation: slabMid 4s ease-in-out infinite; z-index: 2; }-.core-shape .slab:nth-child(3) { background: linear-gradient(135deg, var(--pp-violet), var(--pp-purple)); animation: slabBot 4s ease-in-out infinite; z-index: 1; }-@keyframes slabTop {- 0%, 100% { transform: translate(-50%, -80%) rotate(-15deg) scale(1); opacity: 0.95; }- 25% { transform: translate(-50%, -80%) rotate(-20deg) scale(1.05); }- 50% { transform: translate(-50%, -75%) rotate(-10deg) scale(0.95); opacity: 1; }- 75% { transform: translate(-50%, -85%) rotate(-18deg) scale(1.02); }-}-@keyframes slabMid {- 0%, 100% { transform: translate(-50%, -50%) rotate(-5deg) scale(1); opacity: 0.85; }- 25% { transform: translate(-50%, -48%) rotate(-8deg) scale(1.03); }- 50% { transform: translate(-50%, -52%) rotate(0deg) scale(0.97); opacity: 0.9; }- 75% { transform: translate(-50%, -50%) rotate(-3deg) scale(1.01); }-}-@keyframes slabBot {- 0%, 100% { transform: translate(-50%, -20%) rotate(5deg) scale(1); opacity: 0.75; }- 25% { transform: translate(-50%, -18%) rotate(8deg) scale(0.97); }- 50% { transform: translate(-50%, -22%) rotate(2deg) scale(1.04); opacity: 0.8; }- 75% { transform: translate(-50%, -16%) rotate(6deg) scale(0.99); }-}+.core-shape { position: absolute; width: 120px; height: 120px; z-index: 5; background: url('/power-pages-icon.png') center/contain no-repeat; animation: coreFloat 4s ease-in-out infinite; }+@keyframes coreFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.025); } }.core-glow { position: absolute; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(167, 139, 219, 0.18) 0%, transparent 70%); z-index: 3; animation: coreGlow 3s ease-in-out infinite alternate; filter: blur(25px); }@keyframes coreGlow { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.5); opacity: 0.9; } }.orbit-ring { position: absolute; border: 1px solid rgba(139, 111, 192, 0.15); border-radius: 50%; animation: ringRotate linear infinite; }@@ -145,9 +124,6 @@ html, body { overflow: hidden; background: var(--pp-bg); color: var(--pp-text);<div class="orbit-system"><div class="core-glow"></div><div class="core-shape">- <div class="slab"></div>- <div class="slab"></div>- <div class="slab"></div></div><div class="orbit-ring"></div><div class="orbit-ring"></div>diff --git a/plugins/power-pages/skills/create-site/assets/astro/src/pages/index.astro b/plugins/power-pages/skills/create-site/assets/astro/src/pages/index.astroindex abdf8b5c5..2c7f65a63 100644--- a/plugins/power-pages/skills/create-site/assets/astro/src/pages/index.astro+++ b/plugins/power-pages/skills/create-site/assets/astro/src/pages/index.astro@@ -14,9 +14,6 @@ import Layout from '../layouts/Layout.astro'<div class="orbit-system"><div class="core-glow"></div><div class="core-shape">- <div class="slab"></div>- <div class="slab"></div>- <div class="slab"></div></div><div class="orbit-ring"></div><div class="orbit-ring"></div>@@ -112,29 +109,8 @@ html, body { overflow: hidden; background: var(--pp-bg); color: var(--pp-text);.center-stage { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 36px; padding: 40px 40px 48px; max-height: 100vh; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }.center-stage::-webkit-scrollbar { display: none; }.orbit-system { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; }-.core-shape { position: absolute; width: 72px; height: 72px; z-index: 5; }-.core-shape .slab { position: absolute; width: 72px; height: 48px; border-radius: 14px; left: 50%; top: 50%; transform-origin: center center; box-shadow: 0 4px 20px rgba(139, 111, 192, 0.2); }-.core-shape .slab:nth-child(1) { background: linear-gradient(135deg, var(--pp-lavender), var(--pp-periwinkle)); animation: slabTop 4s ease-in-out infinite; z-index: 3; }-.core-shape .slab:nth-child(2) { background: linear-gradient(135deg, var(--pp-purple), var(--pp-sky)); animation: slabMid 4s ease-in-out infinite; z-index: 2; }-.core-shape .slab:nth-child(3) { background: linear-gradient(135deg, var(--pp-violet), var(--pp-purple)); animation: slabBot 4s ease-in-out infinite; z-index: 1; }-@keyframes slabTop {- 0%, 100% { transform: translate(-50%, -80%) rotate(-15deg) scale(1); opacity: 0.95; }- 25% { transform: translate(-50%, -80%) rotate(-20deg) scale(1.05); }- 50% { transform: translate(-50%, -75%) rotate(-10deg) scale(0.95); opacity: 1; }- 75% { transform: translate(-50%, -85%) rotate(-18deg) scale(1.02); }-}-@keyframes slabMid {- 0%, 100% { transform: translate(-50%, -50%) rotate(-5deg) scale(1); opacity: 0.85; }- 25% { transform: translate(-50%, -48%) rotate(-8deg) scale(1.03); }- 50% { transform: translate(-50%, -52%) rotate(0deg) scale(0.97); opacity: 0.9; }- 75% { transform: translate(-50%, -50%) rotate(-3deg) scale(1.01); }-}-@keyframes slabBot {- 0%, 100% { transform: translate(-50%, -20%) rotate(5deg) scale(1); opacity: 0.75; }- 25% { transform: translate(-50%, -18%) rotate(8deg) scale(0.97); }- 50% { transform: translate(-50%, -22%) rotate(2deg) scale(1.04); opacity: 0.8; }- 75% { transform: translate(-50%, -16%) rotate(6deg) scale(0.99); }-}+.core-shape { position: absolute; width: 120px; height: 120px; z-index: 5; background: url('/power-pages-icon.png') center/contain no-repeat; animation: coreFloat 4s ease-in-out infinite; }+@keyframes coreFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.025); } }.core-glow { position: absolute; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(167, 139, 219, 0.18) 0%, transparent 70%); z-index: 3; animation: coreGlow 3s ease-in-out infinite alternate; filter: blur(25px); }@keyframes coreGlow { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.5); opacity: 0.9; } }.orbit-ring { position: absolute; border: 1px solid rgba(139, 111, 192, 0.15); border-radius: 50%; animation: ringRotate linear infinite; }diff --git a/plugins/power-pages/skills/create-site/assets/react/src/pages/Home.tsx b/plugins/power-pages/skills/create-site/assets/react/src/pages/Home.tsxindex 724a3d4ab..38e48cfa8 100644--- a/plugins/power-pages/skills/create-site/assets/react/src/pages/Home.tsx+++ b/plugins/power-pages/skills/create-site/assets/react/src/pages/Home.tsx@@ -49,29 +49,8 @@ html, body { overflow: hidden; background: var(--pp-bg); color: var(--pp-text);.center-stage { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 36px; padding: 40px 40px 48px; max-height: 100vh; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }.center-stage::-webkit-scrollbar { display: none; }.orbit-system { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; }-.core-shape { position: absolute; width: 72px; height: 72px; z-index: 5; }-.core-shape .slab { position: absolute; width: 72px; height: 48px; border-radius: 14px; left: 50%; top: 50%; transform-origin: center center; box-shadow: 0 4px 20px rgba(139, 111, 192, 0.2); }-.core-shape .slab:nth-child(1) { background: linear-gradient(135deg, var(--pp-lavender), var(--pp-periwinkle)); animation: slabTop 4s ease-in-out infinite; z-index: 3; }-.core-shape .slab:nth-child(2) { background: linear-gradient(135deg, var(--pp-purple), var(--pp-sky)); animation: slabMid 4s ease-in-out infinite; z-index: 2; }-.core-shape .slab:nth-child(3) { background: linear-gradient(135deg, var(--pp-violet), var(--pp-purple)); animation: slabBot 4s ease-in-out infinite; z-index: 1; }-@keyframes slabTop {- 0%, 100% { transform: translate(-50%, -80%) rotate(-15deg) scale(1); opacity: 0.95; }- 25% { transform: translate(-50%, -80%) rotate(-20deg) scale(1.05); }- 50% { transform: translate(-50%, -75%) rotate(-10deg) scale(0.95); opacity: 1; }- 75% { transform: translate(-50%, -85%) rotate(-18deg) scale(1.02); }-}-@keyframes slabMid {- 0%, 100% { transform: translate(-50%, -50%) rotate(-5deg) scale(1); opacity: 0.85; }- 25% { transform: translate(-50%, -48%) rotate(-8deg) scale(1.03); }- 50% { transform: translate(-50%, -52%) rotate(0deg) scale(0.97); opacity: 0.9; }- 75% { transform: translate(-50%, -50%) rotate(-3deg) scale(1.01); }-}-@keyframes slabBot {- 0%, 100% { transform: translate(-50%, -20%) rotate(5deg) scale(1); opacity: 0.75; }- 25% { transform: translate(-50%, -18%) rotate(8deg) scale(0.97); }- 50% { transform: translate(-50%, -22%) rotate(2deg) scale(1.04); opacity: 0.8; }- 75% { transform: translate(-50%, -16%) rotate(6deg) scale(0.99); }-}+.core-shape { position: absolute; width: 120px; height: 120px; z-index: 5; background: url('/power-pages-icon.png') center/contain no-repeat; animation: coreFloat 4s ease-in-out infinite; }+@keyframes coreFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.025); } }.core-glow { position: absolute; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(167, 139, 219, 0.18) 0%, transparent 70%); z-index: 3; animation: coreGlow 3s ease-in-out infinite alternate; filter: blur(25px); }@keyframes coreGlow { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.5); opacity: 0.9; } }.orbit-ring { position: absolute; border: 1px solid rgba(139, 111, 192, 0.15); border-radius: 50%; animation: ringRotate linear infinite; }@@ -280,9 +259,6 @@ export default function Home() {<div className="orbit-system"><div className="core-glow" /><div className="core-shape">- <div className="slab" />- <div className="slab" />- <div className="slab" /></div><div className="orbit-ring" /><div className="orbit-ring" />diff --git a/plugins/power-pages/skills/create-site/assets/shared/power-pages-icon.png b/plugins/power-pages/skills/create-site/assets/shared/power-pages-icon.pngnew file mode 100644index 000000000..92da95b4dBinary files /dev/null and b/plugins/power-pages/skills/create-site/assets/shared/power-pages-icon.png differdiff --git a/plugins/power-pages/skills/create-site/assets/vue/src/pages/Home.vue b/plugins/power-pages/skills/create-site/assets/vue/src/pages/Home.vueindex 3c7045e37..3e3b5f110 100644--- a/plugins/power-pages/skills/create-site/assets/vue/src/pages/Home.vue+++ b/plugins/power-pages/skills/create-site/assets/vue/src/pages/Home.vue@@ -10,9 +10,6 @@<div class="orbit-system"><div class="core-glow" /><div class="core-shape">- <div class="slab" />- <div class="slab" />- <div class="slab" /></div><div class="orbit-ring" /><div class="orbit-ring" />@@ -253,29 +250,8 @@ html, body { overflow: hidden; background: var(--pp-bg); color: var(--pp-text);.center-stage { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 36px; padding: 40px 40px 48px; max-height: 100vh; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }.center-stage::-webkit-scrollbar { display: none; }.orbit-system { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; }-.core-shape { position: absolute; width: 72px; height: 72px; z-index: 5; }-.core-shape .slab { position: absolute; width: 72px; height: 48px; border-radius: 14px; left: 50%; top: 50%; transform-origin: center center; box-shadow: 0 4px 20px rgba(139, 111, 192, 0.2); }-.core-shape .slab:nth-child(1) { background: linear-gradient(135deg, var(--pp-lavender), var(--pp-periwinkle)); animation: slabTop 4s ease-in-out infinite; z-index: 3; }-.core-shape .slab:nth-child(2) { background: linear-gradient(135deg, var(--pp-purple), var(--pp-sky)); animation: slabMid 4s ease-in-out infinite; z-index: 2; }-.core-shape .slab:nth-child(3) { background: linear-gradient(135deg, var(--pp-violet), var(--pp-purple)); animation: slabBot 4s ease-in-out infinite; z-index: 1; }-@keyframes slabTop {- 0%, 100% { transform: translate(-50%, -80%) rotate(-15deg) scale(1); opacity: 0.95; }- 25% { transform: translate(-50%, -80%) rotate(-20deg) scale(1.05); }- 50% { transform: translate(-50%, -75%) rotate(-10deg) scale(0.95); opacity: 1; }- 75% { transform: translate(-50%, -85%) rotate(-18deg) scale(1.02); }-}-@keyframes slabMid {- 0%, 100% { transform: translate(-50%, -50%) rotate(-5deg) scale(1); opacity: 0.85; }- 25% { transform: translate(-50%, -48%) rotate(-8deg) scale(1.03); }- 50% { transform: translate(-50%, -52%) rotate(0deg) scale(0.97); opacity: 0.9; }- 75% { transform: translate(-50%, -50%) rotate(-3deg) scale(1.01); }-}-@keyframes slabBot {- 0%, 100% { transform: translate(-50%, -20%) rotate(5deg) scale(1); opacity: 0.75; }- 25% { transform: translate(-50%, -18%) rotate(8deg) scale(0.97); }- 50% { transform: translate(-50%, -22%) rotate(2deg) scale(1.04); opacity: 0.8; }- 75% { transform: translate(-50%, -16%) rotate(6deg) scale(0.99); }-}+.core-shape { position: absolute; width: 120px; height: 120px; z-index: 5; background: url('/power-pages-icon.png') center/contain no-repeat; animation: coreFloat 4s ease-in-out infinite; }+@keyframes coreFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.025); } }.core-glow { position: absolute; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(167, 139, 219, 0.18) 0%, transparent 70%); z-index: 3; animation: coreGlow 3s ease-in-out infinite alternate; filter: blur(25px); }@keyframes coreGlow { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.5); opacity: 0.9; } }.orbit-ring { position: absolute; border: 1px solid rgba(139, 111, 192, 0.15); border-radius: 50%; animation: ringRotate linear infinite; }