portosaurus 1.14.0

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.
Files changed (57) hide show
  1. package/LICENSE +674 -0
  2. package/README.md +116 -0
  3. package/bin/portosaurus.js +337 -0
  4. package/internal/notes/index.md +10 -0
  5. package/internal/sidebars.js +20 -0
  6. package/internal/src/components/AboutSection/index.js +67 -0
  7. package/internal/src/components/AboutSection/styles.module.css +492 -0
  8. package/internal/src/components/ContactSection/index.js +94 -0
  9. package/internal/src/components/ContactSection/styles.module.css +327 -0
  10. package/internal/src/components/ExperienceSection/index.js +25 -0
  11. package/internal/src/components/ExperienceSection/styles.module.css +180 -0
  12. package/internal/src/components/HeroSection/index.js +61 -0
  13. package/internal/src/components/HeroSection/styles.module.css +471 -0
  14. package/internal/src/components/NoteIndex/index.js +127 -0
  15. package/internal/src/components/NoteIndex/styles.module.css +143 -0
  16. package/internal/src/components/ProjectsSection/index.js +529 -0
  17. package/internal/src/components/ProjectsSection/styles.module.css +830 -0
  18. package/internal/src/components/ScrollToTop/index.js +98 -0
  19. package/internal/src/components/ScrollToTop/styles.module.css +96 -0
  20. package/internal/src/components/SocialLinks/index.js +129 -0
  21. package/internal/src/components/SocialLinks/styles.module.css +55 -0
  22. package/internal/src/components/Tooltip/index.js +30 -0
  23. package/internal/src/components/Tooltip/styles.module.css +92 -0
  24. package/internal/src/config/iconMappings.js +329 -0
  25. package/internal/src/config/metaTags.js +240 -0
  26. package/internal/src/config/prism.js +179 -0
  27. package/internal/src/config/sidebar.js +20 -0
  28. package/internal/src/css/bootstrap.css +6 -0
  29. package/internal/src/css/catppuccin.css +632 -0
  30. package/internal/src/css/custom.css +186 -0
  31. package/internal/src/css/tasks.css +868 -0
  32. package/internal/src/pages/index.js +98 -0
  33. package/internal/src/pages/notes.js +88 -0
  34. package/internal/src/pages/tasks.js +310 -0
  35. package/internal/src/utils/HashNavigation.js +250 -0
  36. package/internal/src/utils/appVersion.js +27 -0
  37. package/internal/src/utils/compileConfig.js +82 -0
  38. package/internal/src/utils/cssUtils.js +99 -0
  39. package/internal/src/utils/filterEnabledItems.js +21 -0
  40. package/internal/src/utils/generateFavicon.js +256 -0
  41. package/internal/src/utils/generateRobotsTxt.js +97 -0
  42. package/internal/src/utils/iconExtractor.js +159 -0
  43. package/internal/src/utils/imageDownloader.js +88 -0
  44. package/internal/src/utils/imageProcessor.js +134 -0
  45. package/internal/src/utils/linkShortner.js +0 -0
  46. package/internal/src/utils/updateTitle.js +107 -0
  47. package/package.json +51 -0
  48. package/template/.github/workflows/deploy.yml +57 -0
  49. package/template/README.md +70 -0
  50. package/template/blog/authors.yml +5 -0
  51. package/template/blog/welcome.md +10 -0
  52. package/template/config.js +233 -0
  53. package/template/notes/getting-started.md +7 -0
  54. package/template/static/README.md +33 -0
  55. package/utils/createConfig.js +227 -0
  56. package/utils/logger.js +19 -0
  57. package/utils/packageManager.js +88 -0
@@ -0,0 +1,179 @@
1
+ /**
2
+ * Catppuccin theme for Prism.js
3
+ **/
4
+
5
+ // Catppuccin Mocha (dark theme)
6
+ export const catppuccinMocha = {
7
+ plain: {
8
+ color: '#cdd6f4',
9
+ backgroundColor: '#181825',
10
+ },
11
+ styles: [
12
+ {
13
+ types: ['comment', 'prolog', 'doctype', 'cdata'],
14
+ style: {
15
+ color: '#6c7086',
16
+ fontStyle: 'italic',
17
+ },
18
+ },
19
+ {
20
+ types: ['namespace'],
21
+ style: {
22
+ opacity: 0.7,
23
+ },
24
+ },
25
+ {
26
+ types: ['string', 'char', 'attr-value'],
27
+ style: {
28
+ color: '#a6e3a1',
29
+ },
30
+ },
31
+ {
32
+ types: ['punctuation', 'operator'],
33
+ style: {
34
+ color: '#a6adc8',
35
+ },
36
+ },
37
+ {
38
+ types: [
39
+ 'entity',
40
+ 'url',
41
+ 'symbol',
42
+ 'number',
43
+ 'boolean',
44
+ 'variable',
45
+ 'constant',
46
+ 'property',
47
+ 'regex',
48
+ 'inserted',
49
+ ],
50
+ style: {
51
+ color: '#fab387',
52
+ },
53
+ },
54
+ {
55
+ types: ['atrule', 'keyword', 'attr-name', 'selector'],
56
+ style: {
57
+ color: '#cba6f7',
58
+ },
59
+ },
60
+ {
61
+ types: ['function', 'deleted', 'tag'],
62
+ style: {
63
+ color: '#f38ba8',
64
+ },
65
+ },
66
+ {
67
+ types: ['function-variable'],
68
+ style: {
69
+ color: '#89b4fa',
70
+ },
71
+ },
72
+ {
73
+ types: ['class-name'],
74
+ style: {
75
+ color: '#f9e2af',
76
+ },
77
+ },
78
+ {
79
+ types: ['important', 'bold'],
80
+ style: {
81
+ fontWeight: 'bold',
82
+ },
83
+ },
84
+ {
85
+ types: ['italic'],
86
+ style: {
87
+ fontStyle: 'italic',
88
+ },
89
+ },
90
+ ],
91
+ };
92
+
93
+ // Catppuccin Latte (light theme)
94
+ export const catppuccinLatte = {
95
+ plain: {
96
+ color: '#4c4f69',
97
+ backgroundColor: '#FAF9F6',
98
+ },
99
+ styles: [
100
+ {
101
+ types: ['comment', 'prolog', 'doctype', 'cdata'],
102
+ style: {
103
+ color: '#8c8fa1',
104
+ fontStyle: 'italic',
105
+ },
106
+ },
107
+ {
108
+ types: ['namespace'],
109
+ style: {
110
+ opacity: 0.7,
111
+ },
112
+ },
113
+ {
114
+ types: ['string', 'char', 'attr-value'],
115
+ style: {
116
+ color: '#40a02b',
117
+ },
118
+ },
119
+ {
120
+ types: ['punctuation', 'operator'],
121
+ style: {
122
+ color: '#8c8fa1',
123
+ },
124
+ },
125
+ {
126
+ types: [
127
+ 'entity',
128
+ 'url',
129
+ 'symbol',
130
+ 'number',
131
+ 'boolean',
132
+ 'variable',
133
+ 'constant',
134
+ 'property',
135
+ 'regex',
136
+ 'inserted',
137
+ ],
138
+ style: {
139
+ color: '#fe640b',
140
+ },
141
+ },
142
+ {
143
+ types: ['atrule', 'keyword', 'attr-name', 'selector'],
144
+ style: {
145
+ color: '#8839ef',
146
+ },
147
+ },
148
+ {
149
+ types: ['function', 'deleted', 'tag'],
150
+ style: {
151
+ color: '#d20f39',
152
+ },
153
+ },
154
+ {
155
+ types: ['function-variable'],
156
+ style: {
157
+ color: '#1e66f5',
158
+ },
159
+ },
160
+ {
161
+ types: ['class-name'],
162
+ style: {
163
+ color: '#df8e1d',
164
+ },
165
+ },
166
+ {
167
+ types: ['important', 'bold'],
168
+ style: {
169
+ fontWeight: 'bold',
170
+ },
171
+ },
172
+ {
173
+ types: ['italic'],
174
+ style: {
175
+ fontStyle: 'italic',
176
+ },
177
+ },
178
+ ],
179
+ };
@@ -0,0 +1,20 @@
1
+
2
+ const sidebar = {
3
+
4
+ notes: [
5
+ {
6
+ type: 'category',
7
+ label: 'Notes',
8
+ link: { type: 'doc', id: 'index' },
9
+ items: [
10
+ {
11
+ type: 'autogenerated',
12
+ dirName: '.'
13
+ }
14
+ ]
15
+ }
16
+ ]
17
+ };
18
+
19
+
20
+ module.exports = sidebar;
@@ -0,0 +1,6 @@
1
+ .center {
2
+ display: flex;
3
+ justify-content: center;
4
+ align-items: center;
5
+ }
6
+