create-addfox-app 0.1.1-beta.13 → 0.1.1-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/template-preact-js/app/popup/App.jsx +8 -0
- package/templates/template-preact-js/public/welcome.html +1 -0
- package/templates/template-preact-ts/app/popup/App.tsx +8 -0
- package/templates/template-preact-ts/public/welcome.html +1 -0
- package/templates/template-react-js/app/popup/App.jsx +8 -0
- package/templates/template-react-js/public/welcome.html +1 -0
- package/templates/template-react-ts/app/popup/App.tsx +8 -0
- package/templates/template-react-ts/public/welcome.html +1 -0
- package/templates/template-solid-js/app/popup/App.jsx +8 -0
- package/templates/template-solid-js/public/welcome.html +1 -0
- package/templates/template-solid-ts/app/popup/App.tsx +8 -0
- package/templates/template-solid-ts/public/welcome.html +1 -0
- package/templates/template-svelte-js/app/popup/App.svelte +6 -0
- package/templates/template-svelte-js/public/welcome.html +1 -0
- package/templates/template-svelte-ts/app/popup/App.svelte +6 -0
- package/templates/template-svelte-ts/public/welcome.html +1 -0
- package/templates/template-vanilla-js/app/popup/index.js +12 -1
- package/templates/template-vanilla-js/public/welcome.html +1 -0
- package/templates/template-vanilla-ts/app/popup/index.ts +12 -1
- package/templates/template-vanilla-ts/public/welcome.html +1 -0
- package/templates/template-vue-js/app/popup/App.vue +6 -0
- package/templates/template-vue-js/public/welcome.html +1 -0
- package/templates/template-vue-ts/app/popup/App.vue +6 -0
- package/templates/template-vue-ts/public/welcome.html +1 -0
package/package.json
CHANGED
|
@@ -18,6 +18,14 @@ export default function App() {
|
|
|
18
18
|
<div style={popupStyle}>
|
|
19
19
|
<img src="/icons/icon_128.png" alt="" width={64} height={64} />
|
|
20
20
|
<div style={{ fontSize: 18, fontWeight: 600 }}>AddFox Preact</div>
|
|
21
|
+
<a
|
|
22
|
+
href="https://addfox.dev/"
|
|
23
|
+
target="_blank"
|
|
24
|
+
rel="noopener noreferrer"
|
|
25
|
+
style={{ fontSize: 13, color: "#2563eb" }}
|
|
26
|
+
>
|
|
27
|
+
addfox.dev
|
|
28
|
+
</a>
|
|
21
29
|
</div>
|
|
22
30
|
);
|
|
23
31
|
}
|
|
@@ -15,5 +15,6 @@
|
|
|
15
15
|
<img class="welcome-icon" src="/icons/icon_128.png" alt="" width="96" height="96" />
|
|
16
16
|
<h1>Addfox + Preact</h1>
|
|
17
17
|
<p>Your extension is ready. Happy building!</p>
|
|
18
|
+
<p style="margin-top: 1rem;"><a href="https://addfox.dev/" target="_blank" rel="noopener noreferrer">addfox.dev</a></p>
|
|
18
19
|
</body>
|
|
19
20
|
</html>
|
|
@@ -18,6 +18,14 @@ export default function App() {
|
|
|
18
18
|
<div style={popupStyle}>
|
|
19
19
|
<img src="/icons/icon_128.png" alt="" width={64} height={64} />
|
|
20
20
|
<div style={{ fontSize: 18, fontWeight: 600 }}>AddFox Preact</div>
|
|
21
|
+
<a
|
|
22
|
+
href="https://addfox.dev/"
|
|
23
|
+
target="_blank"
|
|
24
|
+
rel="noopener noreferrer"
|
|
25
|
+
style={{ fontSize: 13, color: "#2563eb" }}
|
|
26
|
+
>
|
|
27
|
+
addfox.dev
|
|
28
|
+
</a>
|
|
21
29
|
</div>
|
|
22
30
|
);
|
|
23
31
|
}
|
|
@@ -15,5 +15,6 @@
|
|
|
15
15
|
<img class="welcome-icon" src="/icons/icon_128.png" alt="" width="96" height="96" />
|
|
16
16
|
<h1>Addfox + Preact</h1>
|
|
17
17
|
<p>Your extension is ready. Happy building!</p>
|
|
18
|
+
<p style="margin-top: 1rem;"><a href="https://addfox.dev/" target="_blank" rel="noopener noreferrer">addfox.dev</a></p>
|
|
18
19
|
</body>
|
|
19
20
|
</html>
|
|
@@ -16,6 +16,14 @@ export default function App() {
|
|
|
16
16
|
<div style={popupStyle}>
|
|
17
17
|
<img src="/icons/icon_128.png" alt="" width={64} height={64} />
|
|
18
18
|
<div style={{ fontSize: 18, fontWeight: 600 }}>AddFox React</div>
|
|
19
|
+
<a
|
|
20
|
+
href="https://addfox.dev/"
|
|
21
|
+
target="_blank"
|
|
22
|
+
rel="noopener noreferrer"
|
|
23
|
+
style={{ fontSize: 13, color: "#2563eb" }}
|
|
24
|
+
>
|
|
25
|
+
addfox.dev
|
|
26
|
+
</a>
|
|
19
27
|
</div>
|
|
20
28
|
);
|
|
21
29
|
}
|
|
@@ -15,5 +15,6 @@
|
|
|
15
15
|
<img class="welcome-icon" src="/icons/icon_128.png" alt="" width="96" height="96" />
|
|
16
16
|
<h1>Addfox + React</h1>
|
|
17
17
|
<p>Your extension is ready. Happy building!</p>
|
|
18
|
+
<p style="margin-top: 1rem;"><a href="https://addfox.dev/" target="_blank" rel="noopener noreferrer">addfox.dev</a></p>
|
|
18
19
|
</body>
|
|
19
20
|
</html>
|
|
@@ -16,6 +16,14 @@ export default function App() {
|
|
|
16
16
|
<div style={popupStyle}>
|
|
17
17
|
<img src="/icons/icon_128.png" alt="" width={64} height={64} />
|
|
18
18
|
<div style={{ fontSize: 18, fontWeight: 600 }}>AddFox React</div>
|
|
19
|
+
<a
|
|
20
|
+
href="https://addfox.dev/"
|
|
21
|
+
target="_blank"
|
|
22
|
+
rel="noopener noreferrer"
|
|
23
|
+
style={{ fontSize: 13, color: "#2563eb" }}
|
|
24
|
+
>
|
|
25
|
+
addfox.dev
|
|
26
|
+
</a>
|
|
19
27
|
</div>
|
|
20
28
|
);
|
|
21
29
|
}
|
|
@@ -15,5 +15,6 @@
|
|
|
15
15
|
<img class="welcome-icon" src="/icons/icon_128.png" alt="" width="96" height="96" />
|
|
16
16
|
<h1>Addfox + React</h1>
|
|
17
17
|
<p>Your extension is ready. Happy building!</p>
|
|
18
|
+
<p style="margin-top: 1rem;"><a href="https://addfox.dev/" target="_blank" rel="noopener noreferrer">addfox.dev</a></p>
|
|
18
19
|
</body>
|
|
19
20
|
</html>
|
|
@@ -21,6 +21,14 @@ export default function App() {
|
|
|
21
21
|
<div style={popupStyle}>
|
|
22
22
|
<img src="/icons/icon_128.png" alt="" width={64} height={64} />
|
|
23
23
|
<div style={titleStyle}>AddFox Solid</div>
|
|
24
|
+
<a
|
|
25
|
+
href="https://addfox.dev/"
|
|
26
|
+
target="_blank"
|
|
27
|
+
rel="noopener noreferrer"
|
|
28
|
+
style={{ "font-size": "13px", color: "#2563eb" }}
|
|
29
|
+
>
|
|
30
|
+
addfox.dev
|
|
31
|
+
</a>
|
|
24
32
|
</div>
|
|
25
33
|
);
|
|
26
34
|
}
|
|
@@ -15,5 +15,6 @@
|
|
|
15
15
|
<img class="welcome-icon" src="/icons/icon_128.png" alt="" width="96" height="96" />
|
|
16
16
|
<h1>Addfox + Solid</h1>
|
|
17
17
|
<p>Your extension is ready. Happy building!</p>
|
|
18
|
+
<p style="margin-top: 1rem;"><a href="https://addfox.dev/" target="_blank" rel="noopener noreferrer">addfox.dev</a></p>
|
|
18
19
|
</body>
|
|
19
20
|
</html>
|
|
@@ -21,6 +21,14 @@ export default function App() {
|
|
|
21
21
|
<div style={popupStyle}>
|
|
22
22
|
<img src="/icons/icon_128.png" alt="" width={64} height={64} />
|
|
23
23
|
<div style={titleStyle}>AddFox Solid</div>
|
|
24
|
+
<a
|
|
25
|
+
href="https://addfox.dev/"
|
|
26
|
+
target="_blank"
|
|
27
|
+
rel="noopener noreferrer"
|
|
28
|
+
style={{ "font-size": "13px", color: "#2563eb" }}
|
|
29
|
+
>
|
|
30
|
+
addfox.dev
|
|
31
|
+
</a>
|
|
24
32
|
</div>
|
|
25
33
|
);
|
|
26
34
|
}
|
|
@@ -15,5 +15,6 @@
|
|
|
15
15
|
<img class="welcome-icon" src="/icons/icon_128.png" alt="" width="96" height="96" />
|
|
16
16
|
<h1>Addfox + Solid</h1>
|
|
17
17
|
<p>Your extension is ready. Happy building!</p>
|
|
18
|
+
<p style="margin-top: 1rem;"><a href="https://addfox.dev/" target="_blank" rel="noopener noreferrer">addfox.dev</a></p>
|
|
18
19
|
</body>
|
|
19
20
|
</html>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<div class="popup">
|
|
2
2
|
<img src="/icons/icon_128.png" alt="" width="64" height="64" />
|
|
3
3
|
<div class="title">AddFox Svelte</div>
|
|
4
|
+
<a class="site-link" href="https://addfox.dev/" target="_blank" rel="noopener noreferrer">addfox.dev</a>
|
|
4
5
|
</div>
|
|
5
6
|
|
|
6
7
|
<style>
|
|
@@ -21,4 +22,9 @@
|
|
|
21
22
|
font-size: 18px;
|
|
22
23
|
font-weight: 600;
|
|
23
24
|
}
|
|
25
|
+
|
|
26
|
+
.site-link {
|
|
27
|
+
font-size: 13px;
|
|
28
|
+
color: #2563eb;
|
|
29
|
+
}
|
|
24
30
|
</style>
|
|
@@ -15,5 +15,6 @@
|
|
|
15
15
|
<img class="welcome-icon" src="/icons/icon_128.png" alt="" width="96" height="96" />
|
|
16
16
|
<h1>Addfox + Svelte</h1>
|
|
17
17
|
<p>Your extension is ready. Happy building!</p>
|
|
18
|
+
<p style="margin-top: 1rem;"><a href="https://addfox.dev/" target="_blank" rel="noopener noreferrer">addfox.dev</a></p>
|
|
18
19
|
</body>
|
|
19
20
|
</html>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<div class="popup">
|
|
2
2
|
<img src="/icons/icon_128.png" alt="" width="64" height="64" />
|
|
3
3
|
<div class="title">AddFox Svelte</div>
|
|
4
|
+
<a class="site-link" href="https://addfox.dev/" target="_blank" rel="noopener noreferrer">addfox.dev</a>
|
|
4
5
|
</div>
|
|
5
6
|
|
|
6
7
|
<style>
|
|
@@ -21,4 +22,9 @@
|
|
|
21
22
|
font-size: 18px;
|
|
22
23
|
font-weight: 600;
|
|
23
24
|
}
|
|
25
|
+
|
|
26
|
+
.site-link {
|
|
27
|
+
font-size: 13px;
|
|
28
|
+
color: #2563eb;
|
|
29
|
+
}
|
|
24
30
|
</style>
|
|
@@ -15,5 +15,6 @@
|
|
|
15
15
|
<img class="welcome-icon" src="/icons/icon_128.png" alt="" width="96" height="96" />
|
|
16
16
|
<h1>Addfox + Svelte</h1>
|
|
17
17
|
<p>Your extension is ready. Happy building!</p>
|
|
18
|
+
<p style="margin-top: 1rem;"><a href="https://addfox.dev/" target="_blank" rel="noopener noreferrer">addfox.dev</a></p>
|
|
18
19
|
</body>
|
|
19
20
|
</html>
|
|
@@ -28,9 +28,20 @@ function createTitle() {
|
|
|
28
28
|
return title;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
function createSiteLink() {
|
|
32
|
+
const a = document.createElement("a");
|
|
33
|
+
a.href = "https://addfox.dev/";
|
|
34
|
+
a.target = "_blank";
|
|
35
|
+
a.rel = "noopener noreferrer";
|
|
36
|
+
a.textContent = "addfox.dev";
|
|
37
|
+
a.style.fontSize = "13px";
|
|
38
|
+
a.style.color = "#2563eb";
|
|
39
|
+
return a;
|
|
40
|
+
}
|
|
41
|
+
|
|
31
42
|
function mountPopup(root) {
|
|
32
43
|
applyPopupLayout(root);
|
|
33
|
-
root.append(createIcon(), createTitle());
|
|
44
|
+
root.append(createIcon(), createTitle(), createSiteLink());
|
|
34
45
|
}
|
|
35
46
|
|
|
36
47
|
const root = document.getElementById("root");
|
|
@@ -15,5 +15,6 @@
|
|
|
15
15
|
<img class="welcome-icon" src="/icons/icon_128.png" alt="" width="96" height="96" />
|
|
16
16
|
<h1>Addfox + Vanilla</h1>
|
|
17
17
|
<p>Your extension is ready. Happy building!</p>
|
|
18
|
+
<p style="margin-top: 1rem;"><a href="https://addfox.dev/" target="_blank" rel="noopener noreferrer">addfox.dev</a></p>
|
|
18
19
|
</body>
|
|
19
20
|
</html>
|
|
@@ -28,9 +28,20 @@ function createTitle(): HTMLDivElement {
|
|
|
28
28
|
return title;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
function createSiteLink(): HTMLAnchorElement {
|
|
32
|
+
const a = document.createElement("a");
|
|
33
|
+
a.href = "https://addfox.dev/";
|
|
34
|
+
a.target = "_blank";
|
|
35
|
+
a.rel = "noopener noreferrer";
|
|
36
|
+
a.textContent = "addfox.dev";
|
|
37
|
+
a.style.fontSize = "13px";
|
|
38
|
+
a.style.color = "#2563eb";
|
|
39
|
+
return a;
|
|
40
|
+
}
|
|
41
|
+
|
|
31
42
|
function mountPopup(root: HTMLElement): void {
|
|
32
43
|
applyPopupLayout(root);
|
|
33
|
-
root.append(createIcon(), createTitle());
|
|
44
|
+
root.append(createIcon(), createTitle(), createSiteLink());
|
|
34
45
|
}
|
|
35
46
|
|
|
36
47
|
const root = document.getElementById("root");
|
|
@@ -15,5 +15,6 @@
|
|
|
15
15
|
<img class="welcome-icon" src="/icons/icon_128.png" alt="" width="96" height="96" />
|
|
16
16
|
<h1>Addfox + Vanilla</h1>
|
|
17
17
|
<p>Your extension is ready. Happy building!</p>
|
|
18
|
+
<p style="margin-top: 1rem;"><a href="https://addfox.dev/" target="_blank" rel="noopener noreferrer">addfox.dev</a></p>
|
|
18
19
|
</body>
|
|
19
20
|
</html>
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<div class="popup">
|
|
3
3
|
<img src="/icons/icon_128.png" alt="" width="64" height="64" />
|
|
4
4
|
<div class="title">AddFox Vue</div>
|
|
5
|
+
<a class="site-link" href="https://addfox.dev/" target="_blank" rel="noopener noreferrer">addfox.dev</a>
|
|
5
6
|
</div>
|
|
6
7
|
</template>
|
|
7
8
|
|
|
@@ -25,4 +26,9 @@
|
|
|
25
26
|
font-size: 18px;
|
|
26
27
|
font-weight: 600;
|
|
27
28
|
}
|
|
29
|
+
|
|
30
|
+
.site-link {
|
|
31
|
+
font-size: 13px;
|
|
32
|
+
color: #2563eb;
|
|
33
|
+
}
|
|
28
34
|
</style>
|
|
@@ -15,5 +15,6 @@
|
|
|
15
15
|
<img class="welcome-icon" src="/icons/icon_128.png" alt="" width="96" height="96" />
|
|
16
16
|
<h1>Addfox + Vue</h1>
|
|
17
17
|
<p>Your extension is ready. Happy building!</p>
|
|
18
|
+
<p style="margin-top: 1rem;"><a href="https://addfox.dev/" target="_blank" rel="noopener noreferrer">addfox.dev</a></p>
|
|
18
19
|
</body>
|
|
19
20
|
</html>
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<div class="popup">
|
|
3
3
|
<img src="/icons/icon_128.png" alt="" width="64" height="64" />
|
|
4
4
|
<div class="title">AddFox Vue</div>
|
|
5
|
+
<a class="site-link" href="https://addfox.dev/" target="_blank" rel="noopener noreferrer">addfox.dev</a>
|
|
5
6
|
</div>
|
|
6
7
|
</template>
|
|
7
8
|
|
|
@@ -23,4 +24,9 @@
|
|
|
23
24
|
font-size: 18px;
|
|
24
25
|
font-weight: 600;
|
|
25
26
|
}
|
|
27
|
+
|
|
28
|
+
.site-link {
|
|
29
|
+
font-size: 13px;
|
|
30
|
+
color: #2563eb;
|
|
31
|
+
}
|
|
26
32
|
</style>
|
|
@@ -15,5 +15,6 @@
|
|
|
15
15
|
<img class="welcome-icon" src="/icons/icon_128.png" alt="" width="96" height="96" />
|
|
16
16
|
<h1>Addfox + Vue</h1>
|
|
17
17
|
<p>Your extension is ready. Happy building!</p>
|
|
18
|
+
<p style="margin-top: 1rem;"><a href="https://addfox.dev/" target="_blank" rel="noopener noreferrer">addfox.dev</a></p>
|
|
18
19
|
</body>
|
|
19
20
|
</html>
|