@todovue/tv-footer 1.0.0 → 1.1.1

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.
@@ -0,0 +1 @@
1
+ <svg width="98" height="96" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z" fill="#fff"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="98" height="96" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z" fill="#24292f"/></svg>
Binary file
@@ -0,0 +1,94 @@
1
+ import GitHubWithIcon from './icons/github-white.svg';
2
+ import FacebookIcon from './icons/facebook.png';
3
+ import TODOvue from './icons/todovue.png';
4
+
5
+ import Default from './demos/default.vue?raw';
6
+ import Newsletter from './demos/newsletter.vue?raw';
7
+
8
+ const config = {
9
+ brand: {
10
+ logo: 'https://res.cloudinary.com/denj4fg7f/image/upload/v1766199952/logo_ohpadg.png', // Optional
11
+ url: '/'
12
+ },
13
+ version: 'v2.4.0',
14
+ navigation: [
15
+ {
16
+ title: 'Product',
17
+ items: [
18
+ { label: 'Features', url: '/#' },
19
+ { label: 'Pricing', url: '/#' },
20
+ { label: 'Showcase', url: '/#' }
21
+ ]
22
+ },
23
+ {
24
+ title: 'Resources',
25
+ items: [
26
+ { label: 'Documentation', url: '/#' },
27
+ { label: 'API Reference', url: '/#' },
28
+ { label: 'Community', url: '/#' }
29
+ ]
30
+ },
31
+ {
32
+ title: 'Company',
33
+ items: [
34
+ { label: 'About Us', url: '/#' },
35
+ { label: 'Blog', url: '/#' },
36
+ { label: 'Careers', url: '/#' }
37
+ ]
38
+ }
39
+ ],
40
+ social: [
41
+ {
42
+ label: 'GitHub',
43
+ url: 'https://github.com/TODOvue',
44
+ iconUrl: GitHubWithIcon // Icon library class (e.g. FontAwesome, UnoCSS)
45
+ },
46
+ {
47
+ label: 'Facebook',
48
+ url: 'https://facebook.com',
49
+ iconUrl: FacebookIcon
50
+ },
51
+ {
52
+ label: 'TODOvue',
53
+ url: 'https://todovue.blog',
54
+ iconUrl: TODOvue
55
+ }
56
+ ],
57
+ legal: [
58
+ { label: 'Privacy', url: '/#' },
59
+ { label: 'Terms', url: '/#' },
60
+ { label: 'Cookies', url: '/#' }
61
+ ],
62
+ copyright: '© {year} TvFooter. All rights reserved.'
63
+ }
64
+
65
+ const configEnhanced = {
66
+ ...config,
67
+ newsletter: {
68
+ title: 'Subscribe to our newsletter',
69
+ description: 'Get the latest news and updates right to your inbox.',
70
+ placeholder: 'Your email address',
71
+ buttonText: 'Subscribe'
72
+ }
73
+ }
74
+
75
+ export const demos = [
76
+ {
77
+ id: 1,
78
+ title: "TvFooter Default",
79
+ description: "Default TvFooter component",
80
+ propsData: {
81
+ config,
82
+ },
83
+ html: Default,
84
+ },
85
+ {
86
+ id: 2,
87
+ title: "TvFooter Enhanced",
88
+ description: "TvFooter with Newsletter",
89
+ propsData: {
90
+ config: configEnhanced,
91
+ },
92
+ html: Newsletter,
93
+ },
94
+ ];
package/src/entry.ts ADDED
@@ -0,0 +1,21 @@
1
+ import type { App, Plugin } from 'vue'
2
+ import _TvFooter from './components/TvFooter.vue'
3
+ import './style.scss'
4
+
5
+ const TvFooter = _TvFooter as typeof _TvFooter & Plugin;
6
+ TvFooter.install = (app: App) => {
7
+ app.component('TvFooter', TvFooter)
8
+ };
9
+
10
+ export { TvFooter }
11
+
12
+ export const TvFooterPlugin: Plugin = {
13
+ install: TvFooter.install
14
+ };
15
+ export default TvFooter;
16
+
17
+ declare module 'vue' {
18
+ export interface GlobalComponents {
19
+ TvFooter: typeof TvFooter;
20
+ }
21
+ }
package/src/main.js ADDED
@@ -0,0 +1,7 @@
1
+ import { createApp } from 'vue'
2
+ import './style.scss'
3
+ import '@todovue/tv-demo/style.css'
4
+ import TvFooter from './demo/Demo.vue'
5
+
6
+ const app = createApp(TvFooter)
7
+ app.mount('#tv-footer')
package/src/style.scss ADDED
@@ -0,0 +1 @@
1
+ @use "./assets/scss/style";