readme-aura 0.2.3 → 0.2.4
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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[](https://www.npmjs.com/package/readme-aura)
|
|
2
2
|
|
|
3
3
|
Write custom **React/JSX components** directly inside your Markdown, and readme-aura will render them into beautiful SVGs that work on GitHub.
|
|
4
4
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AURA_GLOW_SVG, AURA_KEYFRAMES_CSS } from './aura-hero-assets.js';
|
|
2
|
-
const BADGE = '[](https://github.com/collectioneur/readme-aura)';
|
|
3
2
|
export function generateSourceProfile(ctx) {
|
|
4
|
-
return
|
|
3
|
+
return `
|
|
5
4
|
|
|
6
5
|
\`\`\`aura width=860 height=248
|
|
7
6
|
<div style={{ width: '100%', height: '100%', background: '#08080c', display: 'flex', flexDirection: 'column', fontFamily: 'Inter', position: 'relative', overflow: 'hidden', borderRadius: 16, border: '1px solid rgba(110,80,220,0.18)' }}>
|
|
@@ -39,19 +38,14 @@ export function generateSourceProfile(ctx) {
|
|
|
39
38
|
</div>
|
|
40
39
|
</div>
|
|
41
40
|
</div>
|
|
41
|
+
</div>
|
|
42
|
+
\`\`\`
|
|
43
|
+
|
|
44
|
+
\`\`\`aura width=860 height=248
|
|
42
45
|
<div style={{ display: 'flex', justifyContent: 'center', alignItems: 'center', width: '100%', paddingBottom: 10, paddingTop: 4 }}>
|
|
43
46
|
<span style={{ fontSize: 11, color: 'rgba(150,140,200,0.55)', fontWeight: 500, letterSpacing: '0.4px' }}>powered by readme-aura</span>
|
|
44
47
|
</div>
|
|
45
|
-
</div>
|
|
46
48
|
\`\`\`
|
|
47
|
-
|
|
48
|
-
## About Me
|
|
49
|
-
|
|
50
|
-
Write something about yourself here.
|
|
51
|
-
|
|
52
|
-
## Projects
|
|
53
|
-
|
|
54
|
-
Check out my pinned repositories below.
|
|
55
49
|
`;
|
|
56
50
|
}
|
|
57
51
|
//# sourceMappingURL=source-profile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source-profile.js","sourceRoot":"","sources":["../../src/templates/source-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAO1E,MAAM,
|
|
1
|
+
{"version":3,"file":"source-profile.js","sourceRoot":"","sources":["../../src/templates/source-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAO1E,MAAM,UAAU,qBAAqB,CAAC,GAAoB;IACxD,OAAO;;;;;cAKK,kBAAkB;IAC5B,aAAa;;;;;;+DAM8C,GAAG,CAAC,KAAK;;;;;uDAKjB,GAAG,CAAC,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B/D,CAAC;AACF,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AURA_GLOW_SVG, AURA_KEYFRAMES_CSS } from './aura-hero-assets.js';
|
|
2
|
-
const BADGE = '[](https://github.com/collectioneur/readme-aura)';
|
|
3
2
|
export function generateSourceProject(ctx) {
|
|
4
|
-
return
|
|
3
|
+
return `
|
|
5
4
|
|
|
6
5
|
\`\`\`aura width=860 height=248
|
|
7
6
|
<div style={{ width: '100%', height: '100%', background: '#08080c', display: 'flex', flexDirection: 'column', fontFamily: 'Inter', position: 'relative', overflow: 'hidden', borderRadius: 16, border: '1px solid rgba(110,80,220,0.18)' }}>
|
|
@@ -41,25 +40,14 @@ export function generateSourceProject(ctx) {
|
|
|
41
40
|
</div>
|
|
42
41
|
</div>
|
|
43
42
|
</div>
|
|
44
|
-
<div style={{ display: 'flex', justifyContent: 'center', alignItems: 'center', width: '100%', paddingBottom: 10, paddingTop: 4 }}>
|
|
45
|
-
<span style={{ fontSize: 11, color: 'rgba(150,140,200,0.55)', fontWeight: 500, letterSpacing: '0.4px' }}>powered by readme-aura</span>
|
|
46
|
-
</div>
|
|
47
43
|
</div>
|
|
48
44
|
\`\`\`
|
|
49
45
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
46
|
+
\`\`\`aura width=860 height=248
|
|
47
|
+
<div style={{ display: 'flex', justifyContent: 'center', alignItems: 'center', width: '100%', paddingBottom: 10, paddingTop: 4 }}>
|
|
48
|
+
<span style={{ fontSize: 11, color: 'rgba(150,140,200,0.55)', fontWeight: 500, letterSpacing: '0.4px' }}>powered by readme-aura</span>
|
|
49
|
+
</div>
|
|
54
50
|
\`\`\`
|
|
55
|
-
|
|
56
|
-
## Usage
|
|
57
|
-
|
|
58
|
-
Describe how to use your project here.
|
|
59
|
-
|
|
60
|
-
## License
|
|
61
|
-
|
|
62
|
-
MIT
|
|
63
51
|
`;
|
|
64
52
|
}
|
|
65
53
|
//# sourceMappingURL=source-project.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source-project.js","sourceRoot":"","sources":["../../src/templates/source-project.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAO1E,MAAM,
|
|
1
|
+
{"version":3,"file":"source-project.js","sourceRoot":"","sources":["../../src/templates/source-project.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAO1E,MAAM,UAAU,qBAAqB,CAAC,GAAoB;IACxD,OAAO;;;;;cAKK,kBAAkB;IAC5B,aAAa;;;;;;+DAM8C,GAAG,CAAC,KAAK;;;;;wBAKhD,GAAG,CAAC,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B/B,CAAC;AACF,CAAC"}
|