Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4b78dcd586 | |||
| c919601f7e | |||
| 5e0cd2e639 | |||
| 9b24ae64c9 | |||
| 71d1fafbd6 | |||
| 8947cb3641 | |||
| 7898e38f8e | |||
| b23cab5944 |
@@ -138,6 +138,7 @@ Please read [`CONTRIBUTING`](CONTRIBUTING.md) for details on our [`CODE OF CONDU
|
||||
- [Gautam Krishna R](https://github.com/gautamkrishnar) for the awesome [blog post workflow](https://github.com/gautamkrishnar/blog-post-workflow)
|
||||
- [Jonah Lawrence](https://github.com/DenverCoder1) for the incredible [github-readme-streak-stats](https://github.com/DenverCoder1/github-readme-streak-stats)
|
||||
- [Julien Monty](https://github.com/konpa) for super useful [devicon](https://github.com/konpa/devicon)
|
||||
- [Eliot Sanford](https://github.com/techieeliot) for adding hashnode as a blog input
|
||||
|
||||
## 🙇 Sponsors
|
||||
|
||||
|
||||
Generated
+38564
-126
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -38,7 +38,7 @@
|
||||
"gatsby-transformer-remark": "^2.8.27",
|
||||
"gatsby-transformer-sharp": "^2.5.7",
|
||||
"gsap": "^3.4.0",
|
||||
"prismjs": "^1.25.0",
|
||||
"prismjs": "^1.27.0",
|
||||
"prop-types": "^15.7.2",
|
||||
"react": "^16.12.0",
|
||||
"react-dom": "^16.12.0",
|
||||
|
||||
@@ -368,7 +368,7 @@ exports[`Addons should render Customize Badges 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -385,6 +385,7 @@ exports[`Addons should render Customize Badges 1`] = `
|
||||
"outline": "none",
|
||||
}
|
||||
}
|
||||
type="button"
|
||||
>
|
||||
<XCircleIcon
|
||||
className="transform scale-100 md:scale-125"
|
||||
@@ -515,6 +516,7 @@ exports[`Addons should render Customize Badges 1`] = `
|
||||
>
|
||||
Preview:
|
||||
<img
|
||||
alt="profile-visitors-count"
|
||||
src="https://komarev.com/ghpvc/?username=undefined&label=Profile%20views&color=0e75b6&style=flat"
|
||||
/>
|
||||
</span>
|
||||
@@ -543,7 +545,7 @@ exports[`Addons should render Customize Badges 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -595,7 +597,7 @@ exports[`Addons should render Customize Badges 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -612,6 +614,7 @@ exports[`Addons should render Customize Badges 1`] = `
|
||||
"outline": "none",
|
||||
}
|
||||
}
|
||||
type="button"
|
||||
>
|
||||
<ToolsIcon
|
||||
className="transform scale-100 md:scale-125"
|
||||
@@ -685,7 +688,7 @@ exports[`Addons should render Customize Badges 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -702,6 +705,7 @@ exports[`Addons should render Customize Badges 1`] = `
|
||||
"outline": "none",
|
||||
}
|
||||
}
|
||||
type="button"
|
||||
>
|
||||
<ToolsIcon
|
||||
className="transform scale-100 md:scale-125"
|
||||
@@ -763,7 +767,7 @@ exports[`Addons should render Customize Badges 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -780,6 +784,7 @@ exports[`Addons should render Customize Badges 1`] = `
|
||||
"outline": "none",
|
||||
}
|
||||
}
|
||||
type="button"
|
||||
>
|
||||
<ToolsIcon
|
||||
className="transform scale-100 md:scale-125"
|
||||
@@ -831,7 +836,7 @@ exports[`Addons should render Customize Badges 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -861,7 +866,7 @@ exports[`Addons should render Customize Badges 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -891,7 +896,7 @@ exports[`Addons should render Customize Badges 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -921,7 +926,7 @@ exports[`Addons should render Customize Badges 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -1070,7 +1075,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -1087,6 +1092,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
|
||||
"outline": "none",
|
||||
}
|
||||
}
|
||||
type="button"
|
||||
>
|
||||
<ToolsIcon
|
||||
className="transform scale-100 md:scale-125"
|
||||
@@ -1138,7 +1144,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -1190,7 +1196,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -1207,6 +1213,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
|
||||
"outline": "none",
|
||||
}
|
||||
}
|
||||
type="button"
|
||||
>
|
||||
<XCircleIcon
|
||||
className="transform scale-100 md:scale-125"
|
||||
@@ -1406,7 +1413,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
</label>
|
||||
<label
|
||||
@@ -1483,7 +1490,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -1500,6 +1507,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
|
||||
"outline": "none",
|
||||
}
|
||||
}
|
||||
type="button"
|
||||
>
|
||||
<ToolsIcon
|
||||
className="transform scale-100 md:scale-125"
|
||||
@@ -1561,7 +1569,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -1578,6 +1586,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
|
||||
"outline": "none",
|
||||
}
|
||||
}
|
||||
type="button"
|
||||
>
|
||||
<ToolsIcon
|
||||
className="transform scale-100 md:scale-125"
|
||||
@@ -1629,7 +1638,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -1659,7 +1668,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -1689,7 +1698,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -1719,7 +1728,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -1868,7 +1877,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -1885,6 +1894,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
|
||||
"outline": "none",
|
||||
}
|
||||
}
|
||||
type="button"
|
||||
>
|
||||
<ToolsIcon
|
||||
className="transform scale-100 md:scale-125"
|
||||
@@ -1936,7 +1946,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -1988,7 +1998,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -2005,6 +2015,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
|
||||
"outline": "none",
|
||||
}
|
||||
}
|
||||
type="button"
|
||||
>
|
||||
<ToolsIcon
|
||||
className="transform scale-100 md:scale-125"
|
||||
@@ -2078,7 +2089,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -2095,6 +2106,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
|
||||
"outline": "none",
|
||||
}
|
||||
}
|
||||
type="button"
|
||||
>
|
||||
<XCircleIcon
|
||||
className="transform scale-100 md:scale-125"
|
||||
@@ -2294,7 +2306,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
</label>
|
||||
<label
|
||||
@@ -2359,7 +2371,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -2376,6 +2388,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
|
||||
"outline": "none",
|
||||
}
|
||||
}
|
||||
type="button"
|
||||
>
|
||||
<ToolsIcon
|
||||
className="transform scale-100 md:scale-125"
|
||||
@@ -2427,7 +2440,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -2457,7 +2470,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -2487,7 +2500,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
@@ -2517,7 +2530,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<span
|
||||
className="pl-4"
|
||||
|
||||
@@ -24,8 +24,7 @@ exports[`Footer component renders correctly 1`] = `
|
||||
<div
|
||||
className="mr-2 sm:mr-0"
|
||||
>
|
||||
GitHub Profile
|
||||
|
||||
GitHub Profile
|
||||
<img
|
||||
alt="github profile markdown generator logo"
|
||||
className="inline sm:hidden h-12"
|
||||
|
||||
@@ -35,6 +35,7 @@ exports[`Markdown renders devDynamicBlogs is true 1`] = `
|
||||
project="currentWork"
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="🌱 I’m currently learning"
|
||||
project=""
|
||||
/>
|
||||
@@ -51,24 +52,30 @@ exports[`Markdown renders devDynamicBlogs is true 1`] = `
|
||||
<DisplayWork
|
||||
link="portfolio"
|
||||
prefix="👨💻 All of my projects are available at"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="blog"
|
||||
prefix="📝 I regularly write articles on"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="💬 Ask me about"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="📫 How to reach me"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="resume"
|
||||
prefix="📄 Know about my experiences"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="⚡ Fun fact"
|
||||
project=""
|
||||
/>
|
||||
@@ -181,7 +188,13 @@ exports[`Markdown renders devDynamicBlogs is true 1`] = `
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplaySupport />
|
||||
<DisplaySupport
|
||||
support={
|
||||
Object {
|
||||
"buyMeACoffee": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplayTopLanguages
|
||||
options={
|
||||
Object {
|
||||
@@ -211,7 +224,19 @@ exports[`Markdown renders devDynamicBlogs is true 1`] = `
|
||||
}
|
||||
show={false}
|
||||
/>
|
||||
<DisplayStreakStats />
|
||||
<DisplayStreakStats
|
||||
options={
|
||||
Object {
|
||||
"bgColor": "",
|
||||
"cacheSeconds": "",
|
||||
"hideBorder": "",
|
||||
"locale": "",
|
||||
"textColor": "",
|
||||
"theme": "",
|
||||
"titleColor": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
`;
|
||||
|
||||
@@ -250,6 +275,7 @@ exports[`Markdown renders githubProfileTrophy is true 1`] = `
|
||||
project="currentWork"
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="🌱 I’m currently learning"
|
||||
project=""
|
||||
/>
|
||||
@@ -266,24 +292,30 @@ exports[`Markdown renders githubProfileTrophy is true 1`] = `
|
||||
<DisplayWork
|
||||
link="portfolio"
|
||||
prefix="👨💻 All of my projects are available at"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="blog"
|
||||
prefix="📝 I regularly write articles on"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="💬 Ask me about"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="📫 How to reach me"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="resume"
|
||||
prefix="📄 Know about my experiences"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="⚡ Fun fact"
|
||||
project=""
|
||||
/>
|
||||
@@ -396,7 +428,13 @@ exports[`Markdown renders githubProfileTrophy is true 1`] = `
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplaySupport />
|
||||
<DisplaySupport
|
||||
support={
|
||||
Object {
|
||||
"buyMeACoffee": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplayTopLanguages
|
||||
options={
|
||||
Object {
|
||||
@@ -426,7 +464,19 @@ exports[`Markdown renders githubProfileTrophy is true 1`] = `
|
||||
}
|
||||
show={false}
|
||||
/>
|
||||
<DisplayStreakStats />
|
||||
<DisplayStreakStats
|
||||
options={
|
||||
Object {
|
||||
"bgColor": "",
|
||||
"cacheSeconds": "",
|
||||
"hideBorder": "",
|
||||
"locale": "",
|
||||
"textColor": "",
|
||||
"theme": "",
|
||||
"titleColor": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
`;
|
||||
|
||||
@@ -465,6 +515,7 @@ exports[`Markdown renders githubProfileTrophy is true 2`] = `
|
||||
project="currentWork"
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="🌱 I’m currently learning"
|
||||
project=""
|
||||
/>
|
||||
@@ -481,24 +532,30 @@ exports[`Markdown renders githubProfileTrophy is true 2`] = `
|
||||
<DisplayWork
|
||||
link="portfolio"
|
||||
prefix="👨💻 All of my projects are available at"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="blog"
|
||||
prefix="📝 I regularly write articles on"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="💬 Ask me about"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="📫 How to reach me"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="resume"
|
||||
prefix="📄 Know about my experiences"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="⚡ Fun fact"
|
||||
project=""
|
||||
/>
|
||||
@@ -611,7 +668,13 @@ exports[`Markdown renders githubProfileTrophy is true 2`] = `
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplaySupport />
|
||||
<DisplaySupport
|
||||
support={
|
||||
Object {
|
||||
"buyMeACoffee": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplayTopLanguages
|
||||
options={
|
||||
Object {
|
||||
@@ -641,7 +704,19 @@ exports[`Markdown renders githubProfileTrophy is true 2`] = `
|
||||
}
|
||||
show={false}
|
||||
/>
|
||||
<DisplayStreakStats />
|
||||
<DisplayStreakStats
|
||||
options={
|
||||
Object {
|
||||
"bgColor": "",
|
||||
"cacheSeconds": "",
|
||||
"hideBorder": "",
|
||||
"locale": "",
|
||||
"textColor": "",
|
||||
"theme": "",
|
||||
"titleColor": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
`;
|
||||
|
||||
@@ -680,6 +755,7 @@ exports[`Markdown renders topLanguages is true 1`] = `
|
||||
project="currentWork"
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="🌱 I’m currently learning"
|
||||
project=""
|
||||
/>
|
||||
@@ -696,24 +772,30 @@ exports[`Markdown renders topLanguages is true 1`] = `
|
||||
<DisplayWork
|
||||
link="portfolio"
|
||||
prefix="👨💻 All of my projects are available at"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="blog"
|
||||
prefix="📝 I regularly write articles on"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="💬 Ask me about"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="📫 How to reach me"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="resume"
|
||||
prefix="📄 Know about my experiences"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="⚡ Fun fact"
|
||||
project=""
|
||||
/>
|
||||
@@ -826,7 +908,13 @@ exports[`Markdown renders topLanguages is true 1`] = `
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplaySupport />
|
||||
<DisplaySupport
|
||||
support={
|
||||
Object {
|
||||
"buyMeACoffee": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplayTopLanguages
|
||||
options={
|
||||
Object {
|
||||
@@ -856,7 +944,19 @@ exports[`Markdown renders topLanguages is true 1`] = `
|
||||
}
|
||||
show={false}
|
||||
/>
|
||||
<DisplayStreakStats />
|
||||
<DisplayStreakStats
|
||||
options={
|
||||
Object {
|
||||
"bgColor": "",
|
||||
"cacheSeconds": "",
|
||||
"hideBorder": "",
|
||||
"locale": "",
|
||||
"textColor": "",
|
||||
"theme": "",
|
||||
"titleColor": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
`;
|
||||
|
||||
@@ -895,6 +995,7 @@ exports[`Markdown renders topLanguages is true and githubStats is true 1`] = `
|
||||
project="currentWork"
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="🌱 I’m currently learning"
|
||||
project=""
|
||||
/>
|
||||
@@ -911,24 +1012,30 @@ exports[`Markdown renders topLanguages is true and githubStats is true 1`] = `
|
||||
<DisplayWork
|
||||
link="portfolio"
|
||||
prefix="👨💻 All of my projects are available at"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="blog"
|
||||
prefix="📝 I regularly write articles on"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="💬 Ask me about"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="📫 How to reach me"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="resume"
|
||||
prefix="📄 Know about my experiences"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="⚡ Fun fact"
|
||||
project=""
|
||||
/>
|
||||
@@ -1041,7 +1148,13 @@ exports[`Markdown renders topLanguages is true and githubStats is true 1`] = `
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplaySupport />
|
||||
<DisplaySupport
|
||||
support={
|
||||
Object {
|
||||
"buyMeACoffee": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplayTopLanguages
|
||||
options={
|
||||
Object {
|
||||
@@ -1071,7 +1184,19 @@ exports[`Markdown renders topLanguages is true and githubStats is true 1`] = `
|
||||
}
|
||||
show={true}
|
||||
/>
|
||||
<DisplayStreakStats />
|
||||
<DisplayStreakStats
|
||||
options={
|
||||
Object {
|
||||
"bgColor": "",
|
||||
"cacheSeconds": "",
|
||||
"hideBorder": "",
|
||||
"locale": "",
|
||||
"textColor": "",
|
||||
"theme": "",
|
||||
"titleColor": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
`;
|
||||
|
||||
@@ -1110,6 +1235,7 @@ exports[`Markdown renders twitterBadge is true 1`] = `
|
||||
project="currentWork"
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="🌱 I’m currently learning"
|
||||
project=""
|
||||
/>
|
||||
@@ -1126,24 +1252,30 @@ exports[`Markdown renders twitterBadge is true 1`] = `
|
||||
<DisplayWork
|
||||
link="portfolio"
|
||||
prefix="👨💻 All of my projects are available at"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="blog"
|
||||
prefix="📝 I regularly write articles on"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="💬 Ask me about"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="📫 How to reach me"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="resume"
|
||||
prefix="📄 Know about my experiences"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="⚡ Fun fact"
|
||||
project=""
|
||||
/>
|
||||
@@ -1256,7 +1388,13 @@ exports[`Markdown renders twitterBadge is true 1`] = `
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplaySupport />
|
||||
<DisplaySupport
|
||||
support={
|
||||
Object {
|
||||
"buyMeACoffee": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplayTopLanguages
|
||||
options={
|
||||
Object {
|
||||
@@ -1286,7 +1424,19 @@ exports[`Markdown renders twitterBadge is true 1`] = `
|
||||
}
|
||||
show={false}
|
||||
/>
|
||||
<DisplayStreakStats />
|
||||
<DisplayStreakStats
|
||||
options={
|
||||
Object {
|
||||
"bgColor": "",
|
||||
"cacheSeconds": "",
|
||||
"hideBorder": "",
|
||||
"locale": "",
|
||||
"textColor": "",
|
||||
"theme": "",
|
||||
"titleColor": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
`;
|
||||
|
||||
@@ -1325,6 +1475,7 @@ exports[`Markdown renders visitorsBadge is true 1`] = `
|
||||
project="currentWork"
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="🌱 I’m currently learning"
|
||||
project=""
|
||||
/>
|
||||
@@ -1341,24 +1492,30 @@ exports[`Markdown renders visitorsBadge is true 1`] = `
|
||||
<DisplayWork
|
||||
link="portfolio"
|
||||
prefix="👨💻 All of my projects are available at"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="blog"
|
||||
prefix="📝 I regularly write articles on"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="💬 Ask me about"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="📫 How to reach me"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="resume"
|
||||
prefix="📄 Know about my experiences"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="⚡ Fun fact"
|
||||
project=""
|
||||
/>
|
||||
@@ -1471,7 +1628,13 @@ exports[`Markdown renders visitorsBadge is true 1`] = `
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplaySupport />
|
||||
<DisplaySupport
|
||||
support={
|
||||
Object {
|
||||
"buyMeACoffee": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplayTopLanguages
|
||||
options={
|
||||
Object {
|
||||
@@ -1501,7 +1664,19 @@ exports[`Markdown renders visitorsBadge is true 1`] = `
|
||||
}
|
||||
show={false}
|
||||
/>
|
||||
<DisplayStreakStats />
|
||||
<DisplayStreakStats
|
||||
options={
|
||||
Object {
|
||||
"bgColor": "",
|
||||
"cacheSeconds": "",
|
||||
"hideBorder": "",
|
||||
"locale": "",
|
||||
"textColor": "",
|
||||
"theme": "",
|
||||
"titleColor": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
`;
|
||||
|
||||
@@ -1540,6 +1715,7 @@ exports[`Markdown renders without link.currentWork 1`] = `
|
||||
project="currentWork"
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="🌱 I’m currently learning"
|
||||
project=""
|
||||
/>
|
||||
@@ -1554,23 +1730,32 @@ exports[`Markdown renders without link.currentWork 1`] = `
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="👨💻 All of my projects are available at"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="📝 I regularly write articles on"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="💬 Ask me about"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="📫 How to reach me"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="📄 Know about my experiences"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="⚡ Fun fact"
|
||||
project=""
|
||||
/>
|
||||
@@ -1683,7 +1868,13 @@ exports[`Markdown renders without link.currentWork 1`] = `
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplaySupport />
|
||||
<DisplaySupport
|
||||
support={
|
||||
Object {
|
||||
"buyMeACoffee": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplayTopLanguages
|
||||
options={
|
||||
Object {
|
||||
@@ -1713,7 +1904,19 @@ exports[`Markdown renders without link.currentWork 1`] = `
|
||||
}
|
||||
show={false}
|
||||
/>
|
||||
<DisplayStreakStats />
|
||||
<DisplayStreakStats
|
||||
options={
|
||||
Object {
|
||||
"bgColor": "",
|
||||
"cacheSeconds": "",
|
||||
"hideBorder": "",
|
||||
"locale": "",
|
||||
"textColor": "",
|
||||
"theme": "",
|
||||
"titleColor": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
`;
|
||||
|
||||
@@ -1752,6 +1955,7 @@ exports[`Markdown renders without prefix.title and data.title 1`] = `
|
||||
project="currentWork"
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="🌱 I’m currently learning"
|
||||
project=""
|
||||
/>
|
||||
@@ -1768,24 +1972,30 @@ exports[`Markdown renders without prefix.title and data.title 1`] = `
|
||||
<DisplayWork
|
||||
link="portfolio"
|
||||
prefix="👨💻 All of my projects are available at"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="blog"
|
||||
prefix="📝 I regularly write articles on"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="💬 Ask me about"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="📫 How to reach me"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="resume"
|
||||
prefix="📄 Know about my experiences"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="⚡ Fun fact"
|
||||
project=""
|
||||
/>
|
||||
@@ -1898,7 +2108,13 @@ exports[`Markdown renders without prefix.title and data.title 1`] = `
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplaySupport />
|
||||
<DisplaySupport
|
||||
support={
|
||||
Object {
|
||||
"buyMeACoffee": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplayTopLanguages
|
||||
options={
|
||||
Object {
|
||||
@@ -1928,7 +2144,19 @@ exports[`Markdown renders without prefix.title and data.title 1`] = `
|
||||
}
|
||||
show={false}
|
||||
/>
|
||||
<DisplayStreakStats />
|
||||
<DisplayStreakStats
|
||||
options={
|
||||
Object {
|
||||
"bgColor": "",
|
||||
"cacheSeconds": "",
|
||||
"hideBorder": "",
|
||||
"locale": "",
|
||||
"textColor": "",
|
||||
"theme": "",
|
||||
"titleColor": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
`;
|
||||
|
||||
@@ -1967,6 +2195,7 @@ exports[`Markdown renders without subtitle 1`] = `
|
||||
project="currentWork"
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="🌱 I’m currently learning"
|
||||
project=""
|
||||
/>
|
||||
@@ -1983,24 +2212,30 @@ exports[`Markdown renders without subtitle 1`] = `
|
||||
<DisplayWork
|
||||
link="portfolio"
|
||||
prefix="👨💻 All of my projects are available at"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="blog"
|
||||
prefix="📝 I regularly write articles on"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="💬 Ask me about"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="📫 How to reach me"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link="resume"
|
||||
prefix="📄 Know about my experiences"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="⚡ Fun fact"
|
||||
project=""
|
||||
/>
|
||||
@@ -2113,7 +2348,13 @@ exports[`Markdown renders without subtitle 1`] = `
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplaySupport />
|
||||
<DisplaySupport
|
||||
support={
|
||||
Object {
|
||||
"buyMeACoffee": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
<DisplayTopLanguages
|
||||
options={
|
||||
Object {
|
||||
@@ -2143,6 +2384,18 @@ exports[`Markdown renders without subtitle 1`] = `
|
||||
}
|
||||
show={false}
|
||||
/>
|
||||
<DisplayStreakStats />
|
||||
<DisplayStreakStats
|
||||
options={
|
||||
Object {
|
||||
"bgColor": "",
|
||||
"cacheSeconds": "",
|
||||
"hideBorder": "",
|
||||
"locale": "",
|
||||
"textColor": "",
|
||||
"theme": "",
|
||||
"titleColor": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
`;
|
||||
|
||||
@@ -7,7 +7,7 @@ exports[`DisplaySocial Preview renders correctly 1`] = `
|
||||
target="blank"
|
||||
>
|
||||
<img
|
||||
alt="props.username"
|
||||
alt="username"
|
||||
className="w-6 h-6"
|
||||
src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/codepen.svg"
|
||||
/>
|
||||
@@ -219,6 +219,9 @@ exports[`Markdown Preview renders correctly 1`] = `
|
||||
"twitter": "",
|
||||
"youtube": "",
|
||||
},
|
||||
"support": Object {
|
||||
"buyMeACoffee": "",
|
||||
},
|
||||
}
|
||||
}
|
||||
/>
|
||||
@@ -254,7 +257,13 @@ exports[`Markdown Preview renders correctly 1`] = `
|
||||
<SkillsPreview
|
||||
skills={Object {}}
|
||||
/>
|
||||
<SupportPreview />
|
||||
<SupportPreview
|
||||
support={
|
||||
Object {
|
||||
"buyMeACoffee": "",
|
||||
}
|
||||
}
|
||||
/>
|
||||
<div
|
||||
className="block sm:flex sm:justify-center sm:items-start"
|
||||
>
|
||||
@@ -290,6 +299,8 @@ exports[`Markdown Preview renders correctly 1`] = `
|
||||
/>
|
||||
<StreakStatsPreview
|
||||
github=""
|
||||
options={Object {}}
|
||||
show={false}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -504,8 +515,9 @@ exports[`TwitterBadgePreview Preview renders correctly with show true 1`] = `
|
||||
>
|
||||
|
||||
<a
|
||||
href="https://twitter.com/\${props.twitter}"
|
||||
target="blank"
|
||||
href="https://twitter.com/"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
<img
|
||||
alt=""
|
||||
@@ -541,6 +553,7 @@ exports[`Work Preview renders correctly 1`] = `
|
||||
project="readme-generator"
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="🌱 I’m currently learning"
|
||||
project=""
|
||||
/>
|
||||
@@ -555,26 +568,32 @@ exports[`Work Preview renders correctly 1`] = `
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="💬 Ask me about"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="👨💻 All of my projects are available at"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="📝 I regularly write articles on"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="📄 Know about my experiences"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="📫 How to reach me"
|
||||
project=""
|
||||
/>
|
||||
<DisplayWork
|
||||
link=""
|
||||
prefix="⚡ Fun fact"
|
||||
project=""
|
||||
/>
|
||||
|
||||
@@ -61,7 +61,7 @@ exports[`Skills renders correctly 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<img
|
||||
alt="javascript"
|
||||
@@ -104,7 +104,7 @@ exports[`Skills renders correctly 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<img
|
||||
alt="react"
|
||||
@@ -133,7 +133,7 @@ exports[`Skills renders correctly 1`] = `
|
||||
type="checkbox"
|
||||
/>
|
||||
<span
|
||||
class="checkbox-label__control"
|
||||
className="checkbox-label__control"
|
||||
/>
|
||||
<img
|
||||
alt="svelte"
|
||||
|
||||
@@ -550,6 +550,9 @@ const Markdown = (props) => {
|
||||
<>
|
||||
<DisplaySocial base="https://www.behance.net" icon={`${iconBaseUrl}behance.svg`} username={social.behance} />
|
||||
</>
|
||||
<>
|
||||
<DisplaySocial base="https://hashnode.com" icon={`${iconBaseUrl}hashnode.svg`} username={social.hashnode} />
|
||||
</>
|
||||
<>
|
||||
<DisplaySocial base="https://medium.com" icon={`${iconBaseUrl}medium.svg`} username={social.medium} />
|
||||
</>
|
||||
|
||||
@@ -175,6 +175,9 @@ export const SocialPreview = (props) => {
|
||||
<>
|
||||
<DisplaySocial base="https://www.behance.net" icon={`${iconBaseUrl}behance.svg`} username={social.behance} />
|
||||
</>
|
||||
<>
|
||||
<DisplaySocial base="https://hashnode.com" icon={`${iconBaseUrl}hashnode.svg`} username={social.hashnode} />
|
||||
</>
|
||||
<>
|
||||
<DisplaySocial base="https://medium.com" icon={`${iconBaseUrl}medium.svg`} username={social.medium} />
|
||||
</>
|
||||
|
||||
@@ -55,6 +55,10 @@ const Social = (props) => {
|
||||
<img src="https://cdn.jsdelivr.net/npm/simple-icons@3.1.0/icons/behance.svg" className="w-6 h-6 sm:w-8 sm:h-8 mr-1 sm:mr-4" alt="behance" />
|
||||
<input id="behance" placeholder="behance username" className="outline-none placeholder-gray-700 w-32 sm:w-1/2 border-t-0 border-l-0 border-r-0 border solid border-gray-900 py-1 px-2 focus:border-blue-700" value={social.behance} onChange={(event) => handleSocialChange('behance', event)} />
|
||||
</div>
|
||||
<div className="w-1/2 flex justify-center items-center text-xxs sm:text-lg py-4 pr-2 sm:pr-0">
|
||||
<img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/hashnode.svg" className="w-6 h-6 sm:w-8 sm:h-8 mr-1 sm:mr-4" alt="hashnode" />
|
||||
<input id="hashnode" placeholder="hashnode username (with @)" className="outline-none placeholder-gray-700 w-32 sm:w-1/2 border-t-0 border-l-0 border-r-0 border solid border-gray-900 py-1 px-2 focus:border-blue-700" value={social.hashnode} onChange={(event) => handleSocialChange('hashnode', event)} />
|
||||
</div>
|
||||
<div className="w-1/2 flex justify-center items-center text-xxs sm:text-lg py-4 pr-2 sm:pr-0">
|
||||
<img src="https://cdn.jsdelivr.net/npm/simple-icons@3.1.0/icons/medium.svg" className="w-6 h-6 sm:w-8 sm:h-8 mr-1 sm:mr-4" alt="medium" />
|
||||
<input id="medium" placeholder="medium username (with @)" className="outline-none placeholder-gray-700 w-32 sm:w-1/2 border-t-0 border-l-0 border-r-0 border solid border-gray-900 py-1 px-2 focus:border-blue-700" value={social.medium} onChange={(event) => handleSocialChange('medium', event)} />
|
||||
|
||||
-40
@@ -1,40 +0,0 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
export default function HTML(props) {
|
||||
return (
|
||||
<html {...props.htmlAttributes}>
|
||||
<head>
|
||||
<meta charSet="utf-8" />
|
||||
<meta httpEquiv="x-ua-compatible" content="ie=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
{props.headComponents}
|
||||
<script
|
||||
data-name="BMC-Widget"
|
||||
src="https://cdnjs.buymeacoffee.com/1.0.0/widget.prod.min.js"
|
||||
data-id="rahuldkjain"
|
||||
data-description="Support me on Buy me a coffee!"
|
||||
data-message="Loved the tool🚀. Buy me a coffee to support the work!"
|
||||
data-color="#FF813F"
|
||||
data-position=""
|
||||
data-x_margin="18"
|
||||
data-y_margin="18"
|
||||
></script>
|
||||
</head>
|
||||
<body {...props.bodyAttributes}>
|
||||
{props.preBodyComponents}
|
||||
<div key={`body`} id="___gatsby" dangerouslySetInnerHTML={{ __html: props.body }} />
|
||||
{props.postBodyComponents}
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
HTML.propTypes = {
|
||||
htmlAttributes: PropTypes.object,
|
||||
headComponents: PropTypes.array,
|
||||
bodyAttributes: PropTypes.object,
|
||||
preBodyComponents: PropTypes.array,
|
||||
body: PropTypes.string,
|
||||
postBodyComponents: PropTypes.array,
|
||||
};
|
||||
@@ -0,0 +1,32 @@
|
||||
/* eslint-disable react/jsx-props-no-spreading */
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
export default function HTML(props) {
|
||||
const { htmlAttributes, headComponents, bodyAttributes, preBodyComponents, postBodyComponents, body } = props;
|
||||
return (
|
||||
<html {...htmlAttributes} lang="en">
|
||||
<head>
|
||||
<meta charSet="utf-8" />
|
||||
<meta httpEquiv="x-ua-compatible" content="ie=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
{headComponents}
|
||||
<script data-name="BMC-Widget" src="https://cdnjs.buymeacoffee.com/1.0.0/widget.prod.min.js" data-id="rahuldkjain" data-description="Support me on Buy me a coffee!" data-message="Loved the tool🚀. Buy me a coffee to support the work!" data-color="#FF813F" data-position="" data-x_margin="18" data-y_margin="18" />
|
||||
</head>
|
||||
<body {...bodyAttributes}>
|
||||
{preBodyComponents}
|
||||
<div key="body" id="___gatsby" dangerouslySetInnerHTML={{ __html: body }} />
|
||||
{postBodyComponents}
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
HTML.propTypes = {
|
||||
htmlAttributes: PropTypes.object.isRequired,
|
||||
headComponents: PropTypes.array.isRequired,
|
||||
bodyAttributes: PropTypes.object.isRequired,
|
||||
preBodyComponents: PropTypes.array.isRequired,
|
||||
body: PropTypes.string.isRequired,
|
||||
postBodyComponents: PropTypes.array.isRequired,
|
||||
};
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 24 24"><title>Hashnode icon</title><path d="M3.84 0h16.32A3.84 3.84 0 0 1 24 3.84v16.32A3.84 3.84 0 0 1 20.16 24H3.84A3.84 3.84 0 0 1 0 20.16V3.84A3.84 3.84 0 0 1 3.84 0zm14.175 21.638l-.004-.001a2.577 2.577 0 0 0 .209-5.139l-4.917-8.682c-.719-1.292-2.108-1.236-2.609.598-.43 1.736-.319 3.372-.444 5.348-.001.013-.01.024-.023.027s-.026-.002-.033-.013l-4.39-8.751c.358-.281.568-.711.569-1.167a1.459 1.459 0 1 0-1.459 1.459c.069 0 .125-.014.18-.014 1.848 4.75 3.904 10.293 4.64 11.571.5 1.222 2.209.833 2.251-.486l.18-6.932c0-.042.055-.042.07-.014l3.526 8.389a2.573 2.573 0 0 0 2.254 3.806z"/></svg>
|
||||
|
After Width: | Height: | Size: 661 B |
Reference in New Issue
Block a user