diff --git a/package-lock.json b/package-lock.json index c67a64611df..5eed5758d58 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "linkfree", - "version": "1.29.0", + "version": "1.35.0", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -16219,4 +16219,4 @@ "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==" } } -} \ No newline at end of file +} diff --git a/pages/docs/how-to-guides/bio.mdx b/pages/docs/how-to-guides/bio.mdx index dea2bd71262..c6fd45832af 100644 --- a/pages/docs/how-to-guides/bio.mdx +++ b/pages/docs/how-to-guides/bio.mdx @@ -1,4 +1,5 @@ import DocsLayout from "../../../components/layouts/DocsLayout.js"; +import ClipboardCopy from "../../../components/ClipboardCopy" ## Bio @@ -14,11 +15,13 @@ _If you need help on how to edit this file, please see the [Editing guide](/docs 2. In the `bio` string, you can wrap text in double asterix to make it bold, here is an example + ```js { "bio": "Open Source DevRel | Founder of **EddieHub** | **GitHub** Star" } ``` + ![LinkFree profile using markdown in bio](https://user-images.githubusercontent.com/624760/208985171-9f337433-92c6-43b7-86a4-05d6af691690.png) diff --git a/pages/docs/how-to-guides/links.mdx b/pages/docs/how-to-guides/links.mdx index 6639d0ceebd..9a9ed0775f2 100644 --- a/pages/docs/how-to-guides/links.mdx +++ b/pages/docs/how-to-guides/links.mdx @@ -1,4 +1,5 @@ import DocsLayout from "../../../components/layouts/DocsLayout.js"; +import ClipboardCopy from "../../../components/ClipboardCopy" ## Links @@ -14,6 +15,7 @@ _If you need help on how to edit this file, please see the [Editing guide](/docs This is an example of a single link object: + ```js { "name": "Follow me on Twitter", @@ -21,6 +23,7 @@ This is an example of a single link object: "icon": "FaTwitter" } ``` + | field | type | description | | :---- | :----- | :--------------------------------------------------------------------------------------------------------- | @@ -30,6 +33,7 @@ This is an example of a single link object: To add more links add another object inside the links collection. For example: + ```js "links": [ { @@ -44,6 +48,7 @@ To add more links add another object inside the links collection. For example: } ] ``` + 3. Now you can commit your file and create a Pull Request, for more details please see [Editing guide](/docs/how-to-guides/editing) diff --git a/pages/docs/how-to-guides/milestones.mdx b/pages/docs/how-to-guides/milestones.mdx index be139a842f8..c921f82f4b5 100644 --- a/pages/docs/how-to-guides/milestones.mdx +++ b/pages/docs/how-to-guides/milestones.mdx @@ -1,4 +1,5 @@ import DocsLayout from "../../../components/layouts/DocsLayout.js"; +import ClipboardCopy from "../../../components/ClipboardCopy" ## Milestones @@ -14,6 +15,7 @@ _If you need help on how to edit this file, please see the [Editing guide](/docs 2. Add a collection called `milestones` at the root of your `json` file which will contain one or more social objects. Each social object must have six fields, `title`, `date`, `icon`, `color`, `description` and `url`, which will look like this: + ```js { "title": "Started Freelancing", @@ -24,6 +26,7 @@ _If you need help on how to edit this file, please see the [Editing guide](/docs "url": "https://www.eddiejaoude.io/" } ``` + | Property | Description | | :---------- | :---------------------------------------------------------- | @@ -36,6 +39,7 @@ _If you need help on how to edit this file, please see the [Editing guide](/docs This is what a complete example looks like: + ```js "milestones": [ { @@ -48,6 +52,7 @@ This is what a complete example looks like: } ] ``` + 3. Now you can commit your file and create a Pull Request, for more details please see [Editing guide](/docs/how-to-guides/editing) diff --git a/pages/docs/how-to-guides/socials-shortcuts.mdx b/pages/docs/how-to-guides/socials-shortcuts.mdx index e2a12b16dbd..9f809de11db 100644 --- a/pages/docs/how-to-guides/socials-shortcuts.mdx +++ b/pages/docs/how-to-guides/socials-shortcuts.mdx @@ -1,4 +1,5 @@ import DocsLayout from "../../../components/layouts/DocsLayout.js"; +import ClipboardCopy from "../../../components/ClipboardCopy" ## Social shortcuts @@ -14,15 +15,18 @@ _If you need help on how to edit this file, please see the [Editing guide](/docs 2. Add a collection called `socials` at the root of your json file which will contain one or more social objects. Each social object must have two fields, `platform` and `url`, which will look like this: + ```js { "icon": "FaTwitter", "url": "https://twitter.com/eddiejaoude" } ``` + This is what a complete example looks like: + ```js "socials": [ { "icon": "FaTwitter", "url": "https://twitter.com/eddiejaoude" }, @@ -30,6 +34,7 @@ This is what a complete example looks like: { "icon": "FaYoutube", "url": "https://youtube.com/eddiejaoude" } ] ``` + 3. Now you can commit your file and create a Pull Request, for more details please see [Editing guide](/docs/how-to-guides/editing) diff --git a/pages/docs/how-to-guides/statistics.mdx b/pages/docs/how-to-guides/statistics.mdx index e4db720a8fb..21b634dc3e2 100644 --- a/pages/docs/how-to-guides/statistics.mdx +++ b/pages/docs/how-to-guides/statistics.mdx @@ -1,4 +1,5 @@ import DocsLayout from "../../../components/layouts/DocsLayout.js"; +import ClipboardCopy from "../../../components/ClipboardCopy" ## Statistics @@ -16,6 +17,7 @@ _If you need help on how to edit this file, please see the [Editing guide](/docs 2. Add another field under your name that is `displayStatsPublic` this will need the value `true` and it should look like this: + ```js { "name": "Sara Jaoude", @@ -25,6 +27,7 @@ _If you need help on how to edit this file, please see the [Editing guide](/docs "avatar": "https://github.com/SaraJaoude.png", } ``` + 3. Now you can commit your file and create a Pull Request, for more details please see [Editing guide](/docs/how-to-guides/editing) diff --git a/pages/docs/how-to-guides/tags.mdx b/pages/docs/how-to-guides/tags.mdx index de79683f187..7620d0adb02 100644 --- a/pages/docs/how-to-guides/tags.mdx +++ b/pages/docs/how-to-guides/tags.mdx @@ -1,4 +1,5 @@ import DocsLayout from "../../../components/layouts/DocsLayout.js"; +import ClipboardCopy from "../../../components/ClipboardCopy" ## Tags @@ -16,6 +17,7 @@ _If you need help on how to edit this file, please see the [Editing guide](/docs This is what an example looks like: + ```js "tags": [ "Open Source", @@ -26,6 +28,7 @@ This is what an example looks like: "DevRel" ] ``` + 3. Now you can commit your file and create a Pull Request, for more details please see [Editing guide](/docs/how-to-guides/editing) diff --git a/pages/docs/how-to-guides/testimonials.mdx b/pages/docs/how-to-guides/testimonials.mdx index c55b51c3658..5957a6d2ac1 100644 --- a/pages/docs/how-to-guides/testimonials.mdx +++ b/pages/docs/how-to-guides/testimonials.mdx @@ -1,4 +1,5 @@ import DocsLayout from "../../../components/layouts/DocsLayout.js"; +import ClipboardCopy from "../../../components/ClipboardCopy" ## Testimonials @@ -12,6 +13,7 @@ You can give a Testimonial for another LinkFree user by submitting an issue http Also you can add a Testimonial manually by creating the `json` file `data//testimonials/.json` with the content: + ```js { "title": "Founder of an Amazing Community", @@ -19,6 +21,7 @@ Also you can add a Testimonial manually by creating the `json` file `data/ ### Including a Testimonial on your Profile @@ -26,6 +29,7 @@ If you receive a Testimonials, you can include this in the Testimonial section o You can do this by including the usernames of the testimonials you wish to show on your profile with the following `json` code: + ```js "testimonials": [ "CBID2", @@ -34,6 +38,7 @@ You can do this by including the usernames of the testimonials you wish to show "krupalitrivedi" ] ``` + export default ({ children }) => (