<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>javascript on luis angel ortega</title><link>https://luisangel.me/tags/javascript/</link><description>Recent Javascript on luis angel ortega</description><generator>Hugo</generator><language>en-US</language><managingEditor>hey@luisangel.me (Luis Angel Ortega)</managingEditor><webMaster>hey@luisangel.me (Luis Angel Ortega)</webMaster><copyright>2025 Luis Angel Ortega Holguin All rights reserved</copyright><lastBuildDate>Thu, 21 Oct 2021 15:32:45 -0500</lastBuildDate><atom:link href="https://luisangel.me/tags/javascript/index.xml" rel="self" type="application/rss+xml"/><item><title>Thinking Outside the Box an Online Resume With Docz</title><link>https://luisangel.me/post/2021/10/21/thinking-outside-the-box-an-online-resume-with-docz/</link><pubDate>Thu, 21 Oct 2021 15:32:45 -0500</pubDate><author>hey@luisangel.me (Luis Angel Ortega)</author><guid>https://luisangel.me/post/2021/10/21/thinking-outside-the-box-an-online-resume-with-docz/</guid><description>&lt;p>One of the best traits of humankind is its curiosity. It is so human that in honor of it we named a Mars rover &amp;ldquo;Curiosity&amp;rdquo; in 2003.&lt;/p>
&lt;p>Talking about curiosity in the developer world, open source projects top the list, since by nature they invite us to experiment, modify and share what else we can do with them. This is why I propose to think a little outside the box with &lt;a href="https://www.docz.site/">Docz&lt;/a> - a software documentation tool that is completely open source.&lt;/p>
&lt;h2 id="what-is-docz">What is Docz?&lt;/h2>
&lt;p>Docz is a &lt;a href="https://www.gatsbyjs.com/">Gatsby-based&lt;/a> project that simplifies the process of documenting other projects without worrying about configuration, speed and support.&lt;/p>
&lt;p>It provides a library that allows you to write MDX pages instead of HTML or JSX files, handles the routing and provides plugins for all the other needs that you may have. All of this results on projects anyone can contribute to!&lt;/p>
&lt;p>Is this simplicity and friendliness that makes Docz a great option for more than just docs.&lt;/p>
&lt;h2 id="creating-our-docz-project">Creating our Docz project&lt;/h2>
&lt;p>Before we can jump into Docz, there are some prerequisites that you will need have in order to create the project:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://docs.npmjs.com/downloading-and-installing-node-js-and-npm#overview">NodeJS&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://yarnpkg.com/getting-started/install">Yarn&lt;/a> or &lt;a href="https://docs.npmjs.com/downloading-and-installing-node-js-and-npm#overview">npm&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>Now that you have the prerequisites, let’s start by creating a new React app with &lt;code>create-react-app&lt;/code> (CRA)&lt;/p>
&lt;p>Go to your terminal and run:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#c6d0f5;background-color:#303446;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>npx create-react-app my-resume
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>If you don’t have CRA installed, npm will ask you if it’s okay to install &lt;code>create-react-app&lt;/code> type &lt;code>y&lt;/code> to continue and let CRA create the new project.&lt;/p>
&lt;blockquote>
&lt;p>We are using the command &lt;code>npx&lt;/code> instead of &lt;code>npm&lt;/code> since we want to execute a package, not install it to a project. You can read more about it &lt;a href="https://stackoverflow.com/questions/50605219/difference-between-npx-and-npm">here&lt;/a>.&lt;/p>
&lt;/blockquote>
&lt;p>Now lets move to the directory of our project and install Docz.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#c6d0f5;background-color:#303446;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#99d1db">cd&lt;/span> my-resume
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>yarn add docz &lt;span style="color:#737994;font-style:italic"># or npm install docz&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Then let’s remove everything that CRA created for us inside the &lt;code>src&lt;/code> folder, since we don’t need it.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#c6d0f5;background-color:#303446;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>rm src/*
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Also, it is a good idea to add to the .gitignore the .docz folder since we only needed for development.&lt;/p>
&lt;pre tabindex="0">&lt;code class="language-.gitignore" data-lang=".gitignore"># .gitignore

# Docz generated files
.docz/
&lt;/code>&lt;/pre>&lt;p>Let’s go and create a file named &lt;code>index.mdx&lt;/code> and a &lt;em>hello world&lt;/em> header in the following way.&lt;/p>
&lt;pre tabindex="0">&lt;code class="language-mdx" data-lang="mdx">&amp;lt;!-- src/index.mdx --&amp;gt;

---
name: Hello World
route: /
---

# Hello world from Docz!
&lt;/code>&lt;/pre>&lt;p>And it’s time to run our development server to see what we have just created.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#c6d0f5;background-color:#303446;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>yarn docz dev &lt;span style="color:#737994;font-style:italic"># or npm run docz dev&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;blockquote>
&lt;p>If you get an error &lt;a href="https://github.com/gatsbyjs/gatsby/issues/19922">ERROR #98123&lt;/a> while trying to run the development server, just delete your &lt;code>yarn.lock&lt;/code> or &lt;code>package-json.lock&lt;/code> and the &lt;code>node_modules&lt;/code> folder and install the dependencies again.&lt;/p>
&lt;/blockquote>
&lt;p>&lt;em>Et voila!&lt;/em> We have successfully created our Docz project.&lt;/p>
&lt;p>&lt;img src="https://luisangel.me/images/post/cv-docz-1.png" alt="Hello from Docz">&lt;/p>
&lt;blockquote>
&lt;p>Now is a good time to commit your files!&lt;/p>
&lt;/blockquote>
&lt;h2 id="your-time-to-shine">Your time to shine&lt;/h2>
&lt;p>Before we start adding more pages, let’s create a configuration file named &lt;code>doczrc.js&lt;/code> on the root of our project. This will help us to set some meta tags easily, but it manages &lt;a href="https://www.docz.site/docs/project-configuration">all the configuration&lt;/a> of our project.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#c6d0f5;background-color:#303446;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-js" data-lang="js">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#737994;font-style:italic">// doczrc.js
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#737994;font-style:italic">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ca9ee6">export&lt;/span> &lt;span style="color:#ca9ee6">default&lt;/span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> title&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> &lt;span style="color:#a6d189">&amp;#34;Luis Angel Ortega&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> description&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> &lt;span style="color:#a6d189">&amp;#34;Hello, I&amp;#39;m Luis Angel and this is my resume made with Docz!&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ignore&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> [&lt;span style="color:#a6d189">&amp;#34;README.md&amp;#34;&lt;/span>]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>The title key will set the suffix for our &lt;a href="https://www.w3schools.com/tags/tag_title.asp">title tag&lt;/a> and it will change the text on the top left corner of our project, since it’s an online resume I recommend using your name in this field.&lt;/p>
&lt;p>Then, the description key that we added will modify the &lt;a href="https://moz.com/learn/seo/meta-description">meta description tag&lt;/a> on our webpage to display it when it’s looked up or shared online.&lt;/p>
&lt;p>The last key will tell Docz to ignore some files and don’t display them on the webpage, as is in this case with the README file.&lt;/p>
&lt;p>Now let’s add more pages! I’ll add a contact page with my socials and resume one in the following way&lt;/p>
&lt;pre tabindex="0">&lt;code class="language-mdx" data-lang="mdx">&amp;lt;!-- src/contact.mdx --&amp;gt;

---
name: Contact
route: /contact
---

# Contact me! 🗣

---

Let&amp;#39;s talk! You can find me on these platforms:

- ✉️ [Email](mailto:hey@luisangelme)
- 🤝 [LinkedIn](https://www.linkedin.com/in/luisangel-ortega)
- 🐙 [GitHub](https://github.com/LinkSake)
- 🐦 [Twitter](https://twitter.com/LinkSake)
- 🌐 [Website](https://luisangel.me)
&lt;/code>&lt;/pre>&lt;pre tabindex="0">&lt;code class="language-mdx" data-lang="mdx">&amp;lt;!-- src/resume.mdx --&amp;gt;

---
name: Resume
route: /resume
---

# Resume 💼

---

## Work Experience

&amp;lt;details&amp;gt;
 &amp;lt;summary&amp;gt;Software Developer. &amp;lt;a href=&amp;#39;growthconstant.co&amp;#39; target=&amp;#39;_blank&amp;#39;&amp;gt;Growth Constant&amp;lt;/a&amp;gt;, (Mar. 2021 - Currently)&amp;lt;/summary&amp;gt;
 &amp;lt;div style={{marginLeft: &amp;#39;1em&amp;#39;}}&amp;gt;
 &amp;lt;li&amp;gt; Full stack developer (Ruby on Rails) and copywriter for the first project of the start-up: &amp;lt;a href=&amp;#39;virtualdash.co&amp;#39; target=&amp;#39;_blank&amp;#39;&amp;gt;Virtual Dash &amp;lt;/a&amp;gt;.&amp;lt;/li&amp;gt;
 &amp;lt;/div&amp;gt;
&amp;lt;/details&amp;gt;

&amp;lt;details&amp;gt;
 &amp;lt;summary&amp;gt;Backend Developer Intern. &amp;lt;a href=&amp;#39;facturasamurai.com&amp;#39; target=&amp;#39;_blank&amp;#39;&amp;gt;Factura Samurai&amp;lt;/a&amp;gt;, (Aug. - Dec. 2020)&amp;lt;/summary&amp;gt;
 &amp;lt;div style={{marginLeft: &amp;#39;1em&amp;#39;}}&amp;gt;
 &amp;lt;li&amp;gt; Implemented the user authentication on the Elixir API. &amp;lt;/li&amp;gt;
 &amp;lt;li&amp;gt; Learn and developed serverless services (Cloudflare Workers) with TypeScript. &amp;lt;/li&amp;gt;
 &amp;lt;/div&amp;gt;
&amp;lt;/details&amp;gt;

&amp;lt;details&amp;gt;
 &amp;lt;summary&amp;gt;Full Stack Web Developer. &amp;lt;a href=&amp;#39;biobot.farm&amp;#39; target=&amp;#39;_blank&amp;#39;&amp;gt;biobot.farm&amp;lt;/a&amp;gt;, (Aug. 2019 - Jun. 2020)&amp;lt;/summary&amp;gt;
 &amp;lt;div style={{marginLeft: &amp;#39;1em&amp;#39;}}&amp;gt;
 &amp;lt;li&amp;gt; Successfully launched a new service (web application) that was developed form scratch while learning React. &amp;lt;/li&amp;gt;
 &amp;lt;li&amp;gt; Documented the web application and taught a colleague to mantener said application. &amp;lt;/li&amp;gt;
 &amp;lt;li&amp;gt; Improved speed, functionality and readability of a Python API and micro-services. &amp;lt;/li&amp;gt;
 &amp;lt;/div&amp;gt;
&amp;lt;/details&amp;gt;

## Education

&amp;lt;details&amp;gt;
 &amp;lt;summary&amp;gt;Bachelor&amp;#39;s Degree in Information Technologies and Telecomunications. &amp;lt;a href=&amp;#39;ulsachihuahua.edu.mx/site&amp;#39; target=&amp;#39;_blank&amp;#39;&amp;gt;Universidad La Salle Chihuahua&amp;lt;/a&amp;gt;, (Aug. 2016 - Dic. 2020)&amp;lt;/summary&amp;gt;
 &amp;lt;div style={{marginLeft: &amp;#39;1em&amp;#39;}}&amp;gt;
 &amp;lt;li&amp;gt; Degree on engineering on information and telecommunication with specialization on mobile development. &amp;lt;/li&amp;gt;
 &amp;lt;li&amp;gt; Academic exchange semester at La Salle Ramon Llull University (Barcelona, Spain) from January to June 2019 with the Computer Engineering degree. &amp;lt;/li&amp;gt;
 &amp;lt;/div&amp;gt;
&amp;lt;/details&amp;gt;

## Skills

&amp;lt;details&amp;gt;
 &amp;lt;summary&amp;gt; Languages &amp;lt;/summary&amp;gt;
 &amp;lt;div style={{marginLeft: &amp;#39;1em&amp;#39;}}&amp;gt;
 &amp;lt;li&amp;gt;Spanish: Native&amp;lt;/li&amp;gt;
 &amp;lt;li&amp;gt;English: Advanced (TOFEL ITP: 627)&amp;lt;/li&amp;gt;
 &amp;lt;/div&amp;gt;
&amp;lt;/details&amp;gt;
&amp;lt;details&amp;gt;
&amp;lt;summary&amp;gt; Tech &amp;lt;/summary&amp;gt;
 &amp;lt;div style={{marginLeft: &amp;#39;1em&amp;#39;}}&amp;gt;
 &amp;lt;li&amp;gt; &amp;lt;b&amp;gt; Professional level &amp;lt;/b&amp;gt; &amp;lt;/li&amp;gt;
 &amp;lt;div div style={{marginLeft: &amp;#39;1em&amp;#39;}}&amp;gt;
 &amp;lt;li&amp;gt;JavaScript (Node, React, Next)&amp;lt;/li&amp;gt;
 &amp;lt;li&amp;gt;Ruby (Rails)&amp;lt;/li&amp;gt;
 &amp;lt;li&amp;gt;SQL (MySQL, PostgreSQL)&amp;lt;/li&amp;gt;
 &amp;lt;li&amp;gt;Version manager (Git)&amp;lt;/li&amp;gt;
 &amp;lt;li&amp;gt;HTML &amp;amp; CSS&amp;lt;/li&amp;gt;
 &amp;lt;/div&amp;gt;
 &amp;lt;/div&amp;gt;
 &amp;lt;div style={{marginLeft: &amp;#39;1em&amp;#39;}}&amp;gt;
 &amp;lt;li&amp;gt; &amp;lt;b&amp;gt; Novice Level &amp;lt;/b&amp;gt; &amp;lt;/li&amp;gt;
 &amp;lt;div style={{marginLeft: &amp;#39;1em&amp;#39;}}&amp;gt;
 &amp;lt;li&amp;gt;Python (Bottle)&amp;lt;/li&amp;gt;
 &amp;lt;li&amp;gt;Docker&amp;lt;/li&amp;gt;
 &amp;lt;li&amp;gt;UNIX&amp;lt;/li&amp;gt;
 &amp;lt;/div&amp;gt;
 &amp;lt;/div&amp;gt;
&amp;lt;/details&amp;gt;

## Achivements

- Essential part of the winning team of the following hackathons:
 - Ideacon (2018)
 - Reset (2018)
- Essential part of the 2nd place team of the Blockchain Mobility Hackathon 2019 in Barcelona, Spain.
&lt;/code>&lt;/pre>&lt;p>As you can see, using MDX means that we can use &lt;a href="https://www.markdownguide.org/">Markdown syntax&lt;/a> and &lt;a href="https://es.reactjs.org/docs/introducing-jsx.html">JSX&lt;/a> in the same document, giving a lot of flexibility and customization to our Docz projects.&lt;/p>
&lt;p>At the end they will look something like this:&lt;/p>
&lt;p>&lt;img src="https://luisangel.me/images/post/cv-docz-2.png" alt="Contact page">&lt;/p>
&lt;p>&lt;img src="https://luisangel.me/images/post/cv-docz-3.png" alt="Resume page">&lt;/p>
&lt;h2 id="spice-it-adding-a-custom-component">Spice it! Adding a custom component&lt;/h2>
&lt;p>Now let’s focus on our &lt;code>index.mdx&lt;/code> file. Let’s change it’s title to &amp;ldquo;About me&amp;rdquo;&lt;/p>
&lt;pre tabindex="0">&lt;code class="language-mdx" data-lang="mdx">&amp;lt;!-- src/index.mdx --&amp;gt;
---
name: About me
route: /
---

# Hello world from Docz!
&lt;/code>&lt;/pre>&lt;p>And then, create a &lt;code>components&lt;/code> folder inside of the &lt;code>src&lt;/code> directory. There create a &lt;code>welcome.jsx&lt;/code> component, this will replace our Markdown heading to make the root page more interesting.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#c6d0f5;background-color:#303446;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-jsx" data-lang="jsx">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#737994;font-style:italic">// src/components/welcome.jsx
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#737994;font-style:italic">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ca9ee6">import&lt;/span> React from &lt;span style="color:#a6d189">&amp;#39;react&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ca9ee6">const&lt;/span> Welcome &lt;span style="color:#99d1db;font-weight:bold">=&lt;/span> ( props ) =&amp;gt; {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#ca9ee6">const&lt;/span> style &lt;span style="color:#99d1db;font-weight:bold">=&lt;/span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> container&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> display&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> &lt;span style="color:#a6d189">&amp;#39;flex&amp;#39;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> flexDirection&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> &lt;span style="color:#a6d189">&amp;#39;column&amp;#39;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> textContainer&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> textAlign&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> &lt;span style="color:#a6d189">&amp;#39;center&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> imgContainer&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> paddingTop&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> &lt;span style="color:#a6d189">&amp;#39;1em&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> img&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> display&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> &lt;span style="color:#a6d189">&amp;#39;flex&amp;#39;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> margin&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> &lt;span style="color:#a6d189">&amp;#39;auto&amp;#39;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> maxWidth&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> &lt;span style="color:#a6d189">&amp;#39;40%&amp;#39;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> borderRadius&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> &lt;span style="color:#a6d189">&amp;#39;50%&amp;#39;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#ca9ee6">return&lt;/span> (
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;lt;&lt;span style="color:#ca9ee6">div&lt;/span> &lt;span style="color:#8caaee">style&lt;/span>&lt;span style="color:#99d1db;font-weight:bold">=&lt;/span>{style.container}&amp;gt;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;lt;&lt;span style="color:#ca9ee6">div&lt;/span> &lt;span style="color:#8caaee">style&lt;/span>&lt;span style="color:#99d1db;font-weight:bold">=&lt;/span>{style.textContainer}&amp;gt;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;lt;&lt;span style="color:#ca9ee6">h1&lt;/span>&amp;gt;{props.title}&amp;lt;/&lt;span style="color:#ca9ee6">h1&lt;/span>&amp;gt;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;lt;&lt;span style="color:#ca9ee6">span&lt;/span>&amp;gt;{props.children}&amp;lt;/&lt;span style="color:#ca9ee6">span&lt;/span>&amp;gt;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;lt;/&lt;span style="color:#ca9ee6">div&lt;/span>&amp;gt;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;lt;&lt;span style="color:#ca9ee6">div&lt;/span> &lt;span style="color:#8caaee">style&lt;/span>&lt;span style="color:#99d1db;font-weight:bold">=&lt;/span>{style.imgContainer}&amp;gt;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;lt;&lt;span style="color:#ca9ee6">img&lt;/span> &lt;span style="color:#8caaee">style&lt;/span>&lt;span style="color:#99d1db;font-weight:bold">=&lt;/span>{style.img} &lt;span style="color:#8caaee">src&lt;/span>&lt;span style="color:#99d1db;font-weight:bold">=&lt;/span>{props.img} &lt;span style="color:#8caaee">alt&lt;/span>&lt;span style="color:#99d1db;font-weight:bold">=&lt;/span>{props.title}/&amp;gt;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;lt;/&lt;span style="color:#ca9ee6">div&lt;/span>&amp;gt;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;lt;/&lt;span style="color:#ca9ee6">div&lt;/span>&amp;gt;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> )
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ca9ee6">export&lt;/span> &lt;span style="color:#ca9ee6">default&lt;/span> Welcome
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Here I just made a quick component that takes a title, some text and displays it all centered and the image as a circle, but you can make your creativity go wild on this one!&lt;/p>
&lt;p>Next, let’s change index.mdx to import our component and use it to give a warm welcome to all the visitors on our webpage, here is how it looks:&lt;/p>
&lt;p>&lt;img src="https://luisangel.me/images/post/cv-docz-4.png" alt="Welcome page">&lt;/p>
&lt;h2 id="its-alive-time-to-deploy">It&amp;rsquo;s alive! Time to deploy&lt;/h2>
&lt;p>ow that we have our Docz project it’s time to build it and deploy it to GitHub Pages (since we already have the repository there).&lt;/p>
&lt;p>First we need to configure some things, go to your doczrc.js file and add a dest key with the value “/docs” and a base key the name of your repo as it’s value.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#c6d0f5;background-color:#303446;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-js" data-lang="js">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#737994;font-style:italic">// doczrc.js
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#737994;font-style:italic">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ca9ee6">export&lt;/span> &lt;span style="color:#ca9ee6">default&lt;/span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> title&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> &lt;span style="color:#a6d189">&amp;#34;Luis Angel Ortega&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> description&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> &lt;span style="color:#a6d189">&amp;#34;Hello, I&amp;#39;m Luis Angel and this is my resume made with Docz!&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ignore&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> [&lt;span style="color:#a6d189">&amp;#34;README.md&amp;#34;&lt;/span>],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> dest&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> &lt;span style="color:#a6d189">&amp;#34;/docs&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> base&lt;span style="color:#99d1db;font-weight:bold">:&lt;/span> &lt;span style="color:#a6d189">&amp;#34;docz-resume&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>The first key is telling Docz to build the project into the docs directory, we’re doing this since GitHub Pages expects the static files to be on the root or docs directories.&lt;/p>
&lt;p>The base key is changing the base folder to match the name of the repo in order to make the public files and links to work in GitHub Pages.&lt;/p>
&lt;p>Once we have everything correctly configured, we need to build the project with the following command:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#c6d0f5;background-color:#303446;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>yarn docz build &lt;span style="color:#737994;font-style:italic"># or npm run docz build&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>When it is done, you will see a docs folder on your project. Commit and push everything to your repo. After that, let’s go to the settings tab on your project and in the left menu go to the Pages section.&lt;/p>
&lt;p>&lt;img src="https://luisangel.me/images/post/cv-docz-5.png" alt="Repo page">&lt;/p>
&lt;p>&lt;img src="https://luisangel.me/images/post/cv-docz-6.png" alt="Settings page">&lt;/p>
&lt;p>Then select your main branch (or the branch on which you are working on) and select the docs folder.&lt;/p>
&lt;p>&lt;img src="https://luisangel.me/images/post/cv-docz-7.png" alt="Pages page">&lt;/p>
&lt;p>And that is it! In a few minutes your website should be live on the link that GitHub has given you.&lt;/p>
&lt;p>&lt;img src="https://luisangel.me/images/post/cv-docz-8.png" alt="Done!">&lt;/p>
&lt;p>&lt;img src="https://luisangel.me/images/post/cv-docz-9.png" alt="Handsome you">&lt;/p>
&lt;h2 id="the-future-awaits">The future awaits&lt;/h2>
&lt;p>In this article we only scratched the surface of what Docz is capable of, so be sure to check their &lt;a href="https://www.docz.site/docs/getting-started">documentation&lt;/a> to learn more.&lt;/p>
&lt;p>I encourage you to read about them to make your resume stand out from the crowd and always remember to support the creators of this amazing project and contribute if you can.&lt;/p>
&lt;p>Find the repo of the project &lt;a href="https://github.com/LinkSake/docz-resume">here&lt;/a>. For end result, check out &lt;a href="https://linksake.github.io/docz-resume/">GitHub&lt;/a>.&lt;/p></description></item></channel></rss>