<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: rhizene</title>
    <description>The latest articles on DEV Community by rhizene (@rhizene).</description>
    <link>https://dev.to/rhizene</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F104746%2Ff98e9b5a-183a-463c-be7b-f1705cf0f8bf.png</url>
      <title>DEV Community: rhizene</title>
      <link>https://dev.to/rhizene</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rhizene"/>
    <language>en</language>
    <item>
      <title>How I came up with my Portfolio</title>
      <dc:creator>rhizene</dc:creator>
      <pubDate>Fri, 12 Jul 2024 06:53:47 +0000</pubDate>
      <link>https://dev.to/rhizene/how-i-came-up-with-my-portfolio-25bc</link>
      <guid>https://dev.to/rhizene/how-i-came-up-with-my-portfolio-25bc</guid>
      <description>

&lt;h2&gt;
  
  
  The idea
&lt;/h2&gt;

&lt;p&gt;I used to have an &lt;a href="//about.me"&gt;about.me&lt;/a&gt; included in my email signature. I update it from time to time, but it lacks the links that I want to add. Back then, &lt;a href="https://linktr.ee/" rel="noopener noreferrer"&gt;linktree&lt;/a&gt; and &lt;a href="https://carrd.co/" rel="noopener noreferrer"&gt;carrd&lt;/a&gt; weren't a thing, and even if they are I still like to add the projects that I have worked up somehow. The basic portfolio function, at least the links and few "about me" texts, should also work without the JS.&lt;/p&gt;




&lt;h2&gt;
  
  
  The theme
&lt;/h2&gt;

&lt;p&gt;Silent Hill's relaxing vibe accompany me during COVID coding sessions; I think a B.G.M., font and a color scheme is all I need. Though I want to create a color scheme, color theory is not my area. A quick visit to &lt;a href="https://coolors.co/afb927-1c1c1c-646f58-eff1ed-cdd3d5" rel="noopener noreferrer"&gt;coolors&lt;/a&gt; did the trick. For the music, I can't hire &lt;a href="https://www.youtube.com/watch?v=td3P1-cfZ4E" rel="noopener noreferrer"&gt;Akira Yamaoka&lt;/a&gt; yet, but I have &lt;a href="https://www.newgrounds.com/audio/listen/545883" rel="noopener noreferrer"&gt;deadeyejam's&lt;/a&gt; jam for the dead as the jam for the dead jamming for the dead (thanks!).&lt;/p&gt;

&lt;p&gt;I may add graphics soon, but for now this and learning the tools would do.&lt;/p&gt;




&lt;h2&gt;
  
  
  The tools
&lt;/h2&gt;

&lt;h3&gt;
  
  
  HTML
&lt;/h3&gt;

&lt;p&gt;The basics of knowing how search engine reads an HTML document helps the engine determine that a page has relevant information. Instead of &lt;code&gt;&amp;lt;divs /&amp;gt;&lt;/code&gt;, go &lt;code&gt;&amp;lt;em /&amp;gt;&lt;/code&gt;s, &lt;em&gt;headers&lt;/em&gt; (&lt;code&gt;&amp;lt;h1 /&amp;gt;, &amp;lt;h2 /&amp;gt;, ...&lt;/code&gt;), &lt;code&gt;&amp;lt;section /&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;aside /&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;main /&amp;gt;&lt;/code&gt;...&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;In this project, I got to try &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog" rel="noopener noreferrer"&gt;&lt;code&gt;&amp;lt;dialog /&amp;gt;&lt;/code&gt;&lt;/a&gt;. It still needs &lt;em&gt;JavaScript&lt;/em&gt; to work. In my opinion, having a "dialog" tag is better than eating another layer of &lt;code&gt;&amp;lt;div /&amp;gt;&lt;/code&gt; for dessert. If Search engines can feel, it may be like this I don't know.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details" rel="noopener noreferrer"&gt;&lt;code&gt;&amp;lt;details /&amp;gt;&lt;/code&gt;&lt;/a&gt; allows summarizing details without JS. With further styling, this works for me.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  CSS / SASS
&lt;/h3&gt;

&lt;p&gt;The first &lt;em&gt;Webkit&lt;/em&gt; version of the portfolio handles &lt;em&gt;SASS&lt;/em&gt; to &lt;em&gt;CSS&lt;/em&gt; to satisfy the no JS requirement. As I transfer to &lt;em&gt;React&lt;/em&gt;, there is an added optional process of  picking some of the SASS files to become the static stylesheet.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I thought of checking how to apply React's &lt;a href="https://github.com/facebook/create-react-app/issues/1248" rel="noopener noreferrer"&gt;%PUBLIC_URL%&lt;/a&gt; in an external stylesheet so the static stylesheet would not be optional. For now, the optional static stylesheet handling will do.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  React
&lt;/h3&gt;

&lt;p&gt;Dividing the portfolio into components is desirable since it would be mostly list of links, portfolio items, and skills.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;It's also nice to know that React's components can have their own &lt;a href="https://create-react-app.dev/docs/adding-a-css-modules-stylesheet/" rel="noopener noreferrer"&gt;Module Stylesheets&lt;/a&gt;, but to include some of the component styles in the static stylesheet, the style modules need to be imported to the main SASS file. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Github Pages
&lt;/h3&gt;

&lt;p&gt;Just a simple host for a 3-piece landing page, plus page assets.&lt;/p&gt;

&lt;h3&gt;
  
  
  Supabase
&lt;/h3&gt;

&lt;p&gt;The portfolio needs to have a source of information somehow. With Supabase, I already have a web admin for database, a file store, and API already in the cloud! There's just a bit of learning curve for desiring a local dev environment for &lt;a href="https://supabase.com/docs/guides/functions" rel="noopener noreferrer"&gt;Edge Functions&lt;/a&gt;. Be prepared to carve a CLI path to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Docker setup, if you haven't&lt;/li&gt;
&lt;li&gt;Initialize a Supabase project&lt;/li&gt;
&lt;li&gt;Connect to your Supabase project online&lt;/li&gt;
&lt;li&gt;Pulling and creating local setup for Supa's Database&lt;/li&gt;
&lt;li&gt;Configuring Deno in VSCode&lt;/li&gt;
&lt;li&gt;Starting the local database&lt;/li&gt;
&lt;li&gt;Writing the Edge Function&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;... And finally Deploying the function online.&lt;/p&gt;




&lt;h2&gt;
  
  
  Result
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://github.com/rhizene/status" rel="noopener noreferrer"&gt;https://github.com/rhizene/status&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;I am considering looking into &lt;a href="https://nextjs.org/" rel="noopener noreferrer"&gt;Next&lt;/a&gt; to take care of the static stylesheets, contents, and improve SEO.&lt;/li&gt;
&lt;li&gt;Theme Graphics, and maybe a Brand logo.&lt;/li&gt;
&lt;li&gt;A better intro and navigation idea.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>firstpost</category>
      <category>javascript</category>
      <category>portfolio</category>
      <category>nojs</category>
    </item>
  </channel>
</rss>
