How My Portfolio Was Built

Chapter 01 of 34 English First Vision
I'd always wanted a personal portfolio: one place to show everything I'd built, but not just another plain page. I wanted it to feel completely like Ali, something that made it obvious from the start that it came from my own creativity and personality.
Something like a hub: a central place for my projects, resume, social links, and everything else connected to me.
When life got a little quieter and I felt ready to begin, I had the idea of building a bookshelf where each book represented one of my projects. A simple, cozy bookshelf.
I even thought it could be fun to have a stop-motion version of me standing beside it, waving, following the cursor with his eyes, with a few small easter eggs hidden around the page.
I sketched the first version of the idea in Paint, and that became the project's first rough design.
فارسی ویژن اولیه
من همیشه دوست داشتم یه پورتفولیوی شخصی داشته باشم؛ جایی که بتونم ساختههام رو یکجا به نمایش بذارم، ولی فقط یه صفحهی ساده و معمولی نباشه. میخواستم پورتفولیو کاملا به مدل علی باشه. چیزی که از همون اول معلوم باشه با خلاقیت و شخصیت خودم ساخته شده.
یه چیزی شبیه یه هاب؛ یه نقطهی اتصال برای پروژههام، رزومهم، لینکهای سوشال مدیاهام و چیزهایی که به من مربوط میشن.
وقتی سرم خلوتتر شده بود و از نظر روحی هم آمادگی شروعش رو داشتم، ایدهی ساختن یه کتابخونه به ذهنم رسید؛ جایی که هر کتاب، نمایندهی یکی از پروژههام باشه. یه کتابخونه ساده و cozy.
حتی فکر کردم شاید جالب باشه اون کنار، خود علی بهصورت استاپموشن دست تکون بده، با چشمهاش موس رو دنبال کنه، یا یه سری ایستر اگ کوچیک و باحال توی صفحه داشته باشه.
اولین نسخهی ایده رو خیلی ساده توی Paint کشیدم و این شد اولین دیزاین اولیه پروژه.

Chapter 02 of 34 English First Design
I told ChatGPT about the idea, the vision behind it, and how I wanted it to be built. I also shared my resume, and we talked through the portfolio design together.
Eventually, we arrived at this image. It felt unique, creative, and genuinely exciting to me.
A three-dimensional shelf with a beautiful perspective in the center, simple text and contact details on the left, and a stop-motion version of me on the right.
It had a subtle cyberpunk, neon-lit feel. Not too loud, not too hidden.
It was a design I was excited to build myself. I had some experience creating objects in perspective, so it didn't feel completely beyond my abilities.
With the vision and design in place, I was ready to start building.
فارسی دیزاین اولیه
ایدهم رو به چتجیپیتی گفتم، ویژنی که براش داشتم و میخواستم اونجوری ساخته بشه. همراه ایدهم، رزومهم رو هم بهش دادم و با هم راجعبه دیزاین پورتفولیوم گپ زدیم.
در نهایت به این عکس رسیدیم. چیزی بود که به نظرم خیلی خاص و خلاقانه و جذاب بود.
شلف سهبعدی با پرسپکتیو خوشگل وسط صفحه، نوشته معمولی و اطلاعات تماس سمت چپ و خودم بهصورت استاپموشن سمت راست.
یه حالت سایبرپانکی نئونلایتی ریز داشت. نه خیلی تو چشم، نه خیلی نامرئی.
دیزاین چیزی بود که خودم برای ساختنش هیجان داشتم. تجربهی ساخت اجسام با پرسپکتیو هم داشتم و کامل خارج از توانم نمیدیدم.
پس حالا که دیزاین و ویژن رو داشتم، میتونستم پروژه رو شروع کنم.

Chapter 03 of 34 English Shaping the Heart of the Project
With ChatGPT image generation, I built the shelf. It took a lot of back and forth and changes to create something that matched the design and what I wanted, but in the end it gave me something that felt perfect to me.
I brought the image into Photoshop and removed its background. I wanted the shadow and glowing reflection of the shelf to be visible on the floor, so I created a gradient over part of the ground that made the floor background color become transparent inside the gradient. That way, it looked like the shadow was actually on the floor, and it felt natural that the shelf was really placed there with its reflection on the ground.
فارسی ساخت قلب پروژه
با کمک image generation چتجیپیتی شلف رو ساختم. برای ساخت چیزی که توی دیزاین بود و خودم میخواستم، کلی بالا و پایین و تغییرات لازم بود، ولی در نهایت چیزی داد که به نظرم پرفکت بود.
عکس رو توی فتوشاپ بردم و بکگراندش رو جدا کردم. میخواستم روی زمین، سایه و بازتاب درخشان شلف معلوم باشه، پس اومدم توی یه محوطه از روی زمین، یه حالت گرادینت ایجاد کردم که رنگ بکگراند زمین داخل گرادینت ترنسپرنت بشه و انگار واقعا این سایه روی زمین هست و به چشم طبیعی بیاد که شلف واقعا روی زمین قرار داره و بازتابش هم روی زمین هست.

Chapter 04 of 34 English Placing the Heart of the Project
First, I finalized the background animation, making the color shift very slowly with a subtle flicker. Not lifeless, but not distracting either.
Then I placed the shelf image in the center and started building the floor around it.
I chose a dominant color that helped the floor, shelf image, and background blend together, so it wasn't obvious where the image began or ended.
I also added a gradient between the floor and background to soften the edge and keep it from drawing attention.
Then I placed the shelf items on the page.
Now it was time to arrange them.
فارسی قرار دادن قلب پروژه
اول حالت انیمیشن بکگراند رو نهایی کردم که رنگش خیلی آروم و سوسوکنان تغییر بکنه. نه خیلی بیروح باشه، نه حواسپرتکن.
بعد عکس شلف رو وسط صفحه گذاشتم و سعی کردم زمین رو بسازم.
برای زمین از یه رنگ غالب خوب استفاده کردم تا رنگهای زمین، عکس و بکگراند بهتر با هم حل بشن و بهراحتی معلوم نباشه عکس از کجا شروع میشه و کجا تموم میشه.
یه گرادینت هم برای مرز زمین تا بکگراند دادم که تیزی مرزشون حواس رو پرت نکنه.
بعد آیتمهای شلف رو فقط روی صفحه گذاشتم.
حالا نوبت چیدنشون بود.

Chapter 05 of 34 English Playing with Perspective
Matching the cards to the perspective of the shelf image was a surprisingly complicated process...
I kept adjusting the perspective origin, the perspective amount, and the cards' X, Y, and Z rotation angles...
Eventually, I got to something that felt almost right.
I realized each row would need its own custom values.
At this stage, I used only the Things I've Built row as my reference and focused on getting its overall shape right.
Later, I could go back and find the right values for every shelf.
فارسی بازی با پرسپکتیو
قرار دادن کارتها طبق پرسپکتیو عکس شلف، پروسه خیلی پیچیدهای بود...
همش بازی با اوریجین پرسپکتیو، مقدار پرسپکتیو، زاویههای X و Y و Z چرخش کارتها...
ولی در نهایت به چیزی رسیدم که به نظرم تقریبا اوکی بود.
فهمیدم هر سطر متاسفانه نیاز به مقادیر کاستوم خودش داره.
تو این مرحله فعلا فقط ردیف Things I’ve Built رو الگوی کارم قرار دادم و فقط سعی کردم کلیت اون رو درست کنم.
تا بعدا برم و برای هر شلف مقدار درست به دست بیارم.

Chapter 06 of 34 English It Moves!
With a lot of careful tweaking, I finally got the card angles right!
I kept thinking that if the angles were wrong, it would be the first thing people noticed, even if they couldn't explain why. It could undermine all the work I'd already done and everything still ahead. If something looked off, users would immediately feel that the scene wasn't natural.
I also realized that each row needed a different card height.
Then I added infinite scrolling, acceleration, natural drag behavior, and shadows at both ends of each row.
The movement speed and the friction when throwing the cards finally felt natural and fun.
فارسی تکون میخوره!
با ظرافت خیلی زیاد تونستم زاویهی کارتها رو درست دربیارم!
با خودم میگفتم اگه نتونم زاویهها رو درست دربیارم، اولین چیزی هست که بهصورت ناخودآگاه توی دید اول به چشم میاد و میتونه کل زحمات الان و آیندهم رو بیارزش کنه. اگه مشکلدار باشه، کاربر میگه اینجا یه چیزی اشتباهه. طبیعی نیست.
و فهمیدم ارتفاع کارتهای ردیفها هم لازمه متفاوت باشه.
بعد قابلیت بینهایت بودن کارتها، شتاب و رفتار طبیعی کشیدن کارتها، و سایهی شروع و پایان ردیف رو اضافه کردم.
سرعت حرکت کارتها و مقدار اصطکاک پرت شدن کارتها، به نظرم طبیعی و فان شده بود.

Chapter 07 of 34 English Injecting DNA into the Shelf
I also turned card width into a separate value for each row. Now every row had its own length, width, angle, perspective, speed, behavior, and content, all passed into the template that built it.
I finalized the short project descriptions, added square placeholders for the images, and improved the card styling and spacing.
For the first time, I could really see how beautiful it was going to be!
فارسی تزریق DNA شلف
عرض کارتها هم دیتای جدا برای هر ردیف کردم. الان طول، عرض، زاویه، پرسپکتیو، سرعت، رفتار و دیتای هر ردیف، مختص به خودش بود و برای ساخته شدن، به فایل تمپلیت داده میشد.
دیسکریپشن کوتاه پروژههام رو نهایی کردم، برای عکسها مربع پلیسهولدر گذاشتم و استایل و فاصلهگذاری کارتها رو بهتر کردم.
الان برای اولین بار میشد واقعا دید که چه چیز خوشگلی خواهد شد!

Chapter 08 of 34 English My Baby is Alive!
I added the images for the Tech Stack and Career sections.
All of the images needed a quick visit to Photoshop so their size would be exactly 300 by 300, and so the logos would not stick too close to the border. I wanted them to have a little bit of space and sit nicely inside the cards. (This gets much better later.)
Then I changed the image formats to jpg, kept their sizes roughly around 4 to 9 kilobytes, and compressed them properly.
Now my project was not just a single blue color anymore. It felt like it had gained a soul, like it had earned badges of honor :)
And I do not know why this screenshot is so much brighter than the others... but it turned out cool :)
فارسی بچم زندهست!
عکسهای قسمت Tech Stack و Career رو گذاشتم.
عکسها همشون نیاز بود یه بار سر به فتوشاپ بزنن که اندازهشون حتما ۳۰۰ در ۳۰۰ بشه و تا جای ممکن لوگو خیلی به بوردر نچسبه و یکم فاصله داشته باشه که خوشگل تو کارت بشینه. (بعدا این خیلی بهترتر میشه)
بعد پسوند عکسها رو jpg کردم و حجمشون رو تو رنج تقریبی ۴ تا ۹ کیلوبایت نگه داشتم و حسابی کامپرسشون کردم.
الان پروژهم دیگه فقط یه تکرنگ آبی نبود. انگار روح گرفته بود، بجهای آنر گرفته بود :)
و نمیدونم چرا این اسکرینشات اینقدر روشنتر از بقیهست... ولی باحال شده :)

Chapter 09 of 34 English Wingardium Leviosa
This was where the most complicated change in the project happened. It is not really visible in the design, but I made all the items inside the shelf use cqw!
Basically, the size of every item inside the shelf became dependent on the size of the shelf parent. This helped me finally implement a feature I was really stressed about, in a very clean way. The project would always look the way it was designed, on any screen, monitor, or zoom level.
Then I made the size of the shelf parent div depend on the width and height of the monitor, so changing the zoom or the screen could no longer break the shelf, or make it and its items too small or too big!
Oh, and yeah, I also filled the left side of the page.
فارسی Wingardium Leviosa
اینجا پیچیدهترین تغییر پروژه رخ داد. این تغییر تو ظاهر قابلتشخیص نیست. کاری کردم تمامی آیتمهای داخل شلف، همشون از cqw استفاده کنن!
یعنی اندازهی تمامی آیتمهای داخل شلف وابسته به اندازهی پرنت شلف بود. این باعث شد بتونم فیچری که خیلی براش استرس داشتم رو بالاخره خیلی تمیز پیاده کنم. اینکه پروژه تو هر صفحه، مانیتور و زومی، همیشه اونجور که طراحی شده نشون داده بشه.
بعد اندازهی div پرنت شلف رو وابسته به عرض و ارتفاع مانیتور کردم و دیگه تغییر زوم و مانیتور نمیتونست باعث خراب شدن، خیلی کوچیک شدن یا خیلی بزرگ شدن شلف یا آیتمهاش بشه!
آهان و آره، قسمت چپ صفحه هم پر کردم.

Chapter 10 of 34 English Two Different Worlds
For testing, I took a photo of myself wearing the same outfit and using the same lighting angle as the design, then placed it in the project.
It was honestly disappointing to realize that my photo didn't work well on the page.
The lighting angle, image quality, and overall realism all needed to be perfect. If even one part felt slightly off, the image stopped looking natural and made the whole page less comfortable to look at. I realized that continuing with this design would put the entire project at a high risk of failure.
There was another problem too. My photo drew too much attention. The shelf was supposed to be the focal point, and having two parts of the page constantly competing for attention wasn't good for the experience.
So it was a failed but useful experiment, and I knew I needed to change the design.
فارسی دو دنیای متفاوت
برای تست، یه عکس از خودم با لباس و زاویهی نوریای که تو دیزاین داشتم گرفتم و تو پروژه گذاشتم.
برام خیلی ناراحتکننده بود که دیدم بودن عکس خودم تو صفحه خوب جواب نمیده.
زاویهی نوری خاص عکس، کیفیت فوقبالا و طبیعی بودن عکس باید همشون پرفکت باشن. اگه یکم مشکلدار باشه، طبیعی به چشم نمیاد و ناخودآگاه راحت بودن با دیدن صفحه رو پس میزنه. دیدم تو چالشی افتادم که اگه بخوام این مسیر رو با این دیزاین ادامه بدم، احتمال شکست پروژه خیلی بالا میره.
بعد یه مشکل دیگه هم بود. بودن عکس من خیلی توجه جلب میکرد. قرار بود شلف مرکز توجه صفحه باشه. دوتیکهی پروژه که مدام بخوان توجه رو جلب کنن، خیلی برای تجربهی کاربری خوب نیست.
پس این یه تست ناموفق و باحال بود و دیدم نیاز بود تو دیزاین پروژه دست ببرم.

Chapter 11 of 34 English The Second Design
Instead of the stop-motion Ali on the right side of the page, I added an About Me section with my photo at the top, where the user could scroll and read the full text.
To me, it felt like a clean and simple idea that did not grab too much attention and allowed the shelf to shine on the page. It was not so simple that it felt out of place either. In my eyes, it sat well on the page.
I created the new design image with ChatGPT and started building it.
فارسی دیزاین دوم پروژه
به جای علی استاپموشنی سمت راست صفحه، یه سکشن About Me قرار دادم که بالاش عکسم باشه و توش کاربر بتونه اسکرول کنه و کل متن رو بخونه.
به چشمم ایدهی تمیز و سادهای میومد که خیلی هم جلب توجه نمیکرد و اجازه میداد شلف بتونه تو صفحه بدرخشه. اونقدر هم ساده نبود که جاش تو صفحه نباشه. به دیدم خوب تو صفحه نشسته بود.
عکس جدید دیزاین رو با چتجیپیتی ساختم و شروع به ساختنش کردم.

Chapter 12 of 34 English A Strange Section
I built the new section and named it the About Section.
Having the text tilted inside it looked a little strange to me. Since this section was meant for reading, the perspective made it tiring and uncomfortable for the eyes.
I gave myself some time to live with it, in case I was only being overly sensitive in the moment.
I also improved the Career cards to match the new design. They were no longer just an image with text underneath. They now looked more polished, professional, and visually consistent.
فارسی سکشن عجیب
سکشن جدید رو ساختم. اسمش رو About Section گذاشتم.
یکم اینکه متن توش کج بود، به چشمم عجیب میومد. این عجیبی به خاطر این بود که این سکشن برای خوندن بود و این پرسپکتیو یکم خستهکننده و اذیتکننده برای چشم بود.
یکم به خودم وقت دادم بیشتر باهاش وقت بگذرونم، شاید فقط تو لحظه نسبت بهش حساس بودم.
کارتهای Career رو طبق دیزاین بهتر کردم. دیگه فقط یه عکس و متن زیرش نبود. شبیه دیزاین جدید، بهتر و حرفهایتر و خوشگلتر شد.

Chapter 13 of 34 English Choosing the Best Path
I thought a lot about how to show users more details about the shelf cards.
One of the early ideas, which felt really cool and scary to me, was opening an animated modal when the user clicked on a shelf card. It would show the card information inside, be resizable, and let users move multiple modals around the page with different sizes.
It was a very big idea. I thought maybe it would become way bigger than my portfolio, or make interacting with the page too complicated.
Then a simpler idea came to my mind. I could use this new About Me section, and when the user clicked on a card, it would show that card’s information there. When no card was selected, it would show About Me.
It felt like a creative and good idea to me. With ChatGPT, I made the rough design and layout of the parts inside it, and I had a good plan to continue.
فارسی انتخاب بهترین راه
سر اینکه چطور توضیحات بیشتر کارتهای شلفها رو به کاربر نشون بدم، خیلی فکر کردم.
یکی از ایدههای اولیه پروژه که به نظرم خیلی باحال و ترسناک میومد این بود که وقتی روی کارتهای شلف کلیک میشه، یه مودال با انیمیشن باز بشه و توش اطلاعات کارت نشون داده بشه. این مودال تو صفحه قابلیت تغییر اندازه داشته باشه، جوری که کاربر بتونه مودالها رو تو صفحه تکون بده یا چند تا در لحظه باز داشته باشه، با سایزهای مختلف.
ایده خیلی بزرگی بود. فکر کردم شاید خیلی فراتر از پورتفولیوم میشه یا زیادی کار با صفحه رو پیچیده میکنه.
بعد یه ایده سادهتر به ذهنم رسید. میتونم از این سکشن About Me جدید استفاده کنم و وقتی کاربر روی کارتی کلیک کرد، اون اطلاعات کارت رو تو این سکشن نشون بده. وقتی هم کارتی سلکت نشده، About Me رو نشون بده.
به نظرم ایده خلاقانه و خوبی میومد. با چتجیپیتی دیزاین تقریبی و قرارگیری قسمتهای داخلش رو ساختم و پلن خوبی برای ادامه دادن داشتم.

Chapter 14 of 34 English Dynamic Model
I implemented the dynamic version of the About Section.
It looked beautiful and fun to me, although the content inside felt a little too small.
I also wanted every card to have a description and story section where I could write about it in Persian, in my own voice. The user needed to be able to switch languages easily, so I added a language toggle at the top of the card.
I also straightened the entire section and removed the tilted perspective.
فارسی مدل داینامیک
مدل داینامیک About Section رو پیادهسازی کردم.
به چشمم خوشگل و باحال میومد. فقط محتواهای داخلش یه کم زیادی کوچیک و ریز به چشمم میومد.
دوست داشتم برای هر کارت هم یه سکشن توضیح و داستان داشته باشم که بتونم توش به فارسی داستانش رو بنویسم و کاربر بتونه راحت زبون کارت رو عوض کنه و متن رو به مدل علیای فارسی بخونه. پس به بالای کارت، سوییچ تغییر زبان هم اضافه کردم.
کلا سکشن هم صاف گذاشتم و اون حالت پرسپکتیو کج رو ازش گرفتم.

Chapter 15 of 34 English Myself in a Modal
I finally wrote the About Me text. I tried hard to make it feel completely like me, but it ended up a little longer than I wanted. I kept it for now so I could revisit it later.
I finalized the width of the About Me section and started working on the expanded state of the About Section.
The first version didn't have the prettiest icon, but it was only a starting point.
Then I realized I could give About Me and About Card different widths, so the section would subtly resize when switching between them. It was a simple effect, but it looked really nice.
فارسی خودم تو مودال
متن About Me رو بالاخره نوشتم. خیلی سعی کردم متن دقیقا خود خود خودم باشه، ولی یکم طولانیتر از چیزی بود که دوست داشتم. فعلا همین رو نگه داشتم تا بعدا دوباره بهش سر بزنم.
عرض سکشن About Me رو نهایی کردم و شروع کردم به اضافه کردن حالت expanded سکشن About Section.
پیادهسازی اولیه خیلی آیکون خوشگلی نداشت، ولی باز شروع اولیه بود.
به ذهنم رسید میتونم عرض مختلف برای About Me و About Card بذارم که وقتی بین این دو مود سوییچ میشه، تفاوت عرضی بین دو مود باشه. افکت سادهایه، ولی به چشم خوشگل میاد.

Chapter 16 of 34 English Elastic Modal
I put together an initial design for the section's Expanded state and added a subtle blur effect. It turned out really cool because I could see the cards moving behind the section. I also softened the design of the button used to expand it, although it was still a little bulkier than what I wanted for the final version.
This was just an experiment to see how the section would look and behave. It didn't have a scrollbar yet, the text had a bit too much spacing on the right, and I was also planning to increase the font size in the Expanded state later.
But I really liked the section's size, how it behaved, and especially that blur effect. The visual test had passed in my eyes, so I could move on to implementing it more fully and cleaning up the remaining details.
فارسی مودال الاستیک
برای حالت Expanded سکشن یه طراحی اولیه درست کردم و یه Blur ریز بهش دادم. خیلی باحال شد، چون میشد حرکت کارتها رو از پشت سکشن دید. ظاهر دکمه باز کردن سکشن رو هم نرمتر کردم، هرچند هنوز یکم چاقتر از چیزی بود که برای خروجی نهایی میخواستم.
این فعلا یه حالت تست بود که ببینم ظاهر و رفتار سکشن چجوری از آب درمیاد. هنوز اسکرولبار نداشت، فاصله متن از سمت راست یکم زیاد بود و قرار بود بعدا فونت متن رو هم تو حالت Expanded بزرگتر کنم.
ولی از اندازه سکشن، مدل رفتارش و مخصوصا اون افکت Blur خیلی خوشم اومد. تست ظاهر به نظرم پاس شده بود و حالا میتونستم برم سراغ کاملتر کردنش و تر و تمیزکاری جزئیات.

Chapter 17 of 34 English Privacy First
I gave the About Section a custom scrollbar. I manually adjusted its size, animation, delay, and movement speed until it felt natural, soft, and lovely to me.
Here, I learned an important lesson. At first, I wanted to use photos from communities, meetings, and groups I had been part of in the card galleries, like governance meetings, general meetings, sprints, workshops, and so on. I had edited them heavily so no private information or people’s names would be visible, but it still did not feel right to put people’s faces on my site. Even with names and information removed, they might still not be okay with their photos being in my portfolio.
I removed the photos that showed another person or their non-public information, and only used images of my work.
Writing the stories and adding gallery images gave my project a lot of soul and personality. Like a person’s character, it is built with memories and the things they have experienced. Now my project was starting to gain memories and personality.
فارسی Privacy First
به About Section اسکرولبار کاستوم دادم. برای اندازه، انیمیشن، دیلی و سرعت حرکتش، دستی مقادیر رو بالا و پایین کردم و در نهایت به چشمم طبیعی و نرم و دوستداشتنی میومد.
اینجا یه درس مهم یاد گرفتم. اول میخواستم تو گالری کارتها عکس کامیونیتی، جلسات و گروههایی که بودم رو بذارم. مثلا اسکرینشات جلسات گاورننس، عمومی، اسپرینت، کارگاه و غیره. عکسها رو هم حسابی ادیت کرده بودم که هیچ اطلاعات خصوصی یا اسم افراد توش معلوم نباشه، ولی باز خیلی اوکی نبود بخوام عکس صورت افراد رو تو سایتم بذارم. حتی اگه اسم و تمامی اطلاعاتشون حذف شده باشه، باز شاید اون افراد راضی نباشن عکسشون تو پورتفولیوم باشه.
عکسهایی که توش شخصی دیگه اطلاعات غیر پابلیکش معلوم بود رو حذف کردم و فقط از عکسهای کارهام استفاده کردم.
نوشتن داستان و اضافه کردن عکس گالری، خیلی به پروژهم روح و شخصیت داد. مثل شخصیت یه آدم، ساخته میشه با خاطرات و چیزایی که تجربه کرده. الان پروژهم خاطرات و شخصیت داشت به دست میاورد.

Chapter 18 of 34 English Thanks to AI Overlords
Until then, I only had 300×300 versions of all the shelf and project images. They worked fine as thumbnails, but I wanted a larger, higher-quality version to appear in a lightbox when someone clicked on an image.
The problem was that I didn't have the larger versions, and I hadn't saved the Photoshop files when I originally made the shelf images.
So I asked Codex to help. I told it to create sharper, higher-quality 600×600 versions without changing anything in the images themselves.
In about 15 minutes, it processed all 28 images, and the results were exactly what I wanted!
Now the project displays the smaller, lightweight images by default and only loads the higher-quality versions when someone opens them in the lightbox.
I'd never used Codex for something like this before, and I was genuinely blown away by how fast it worked and how good the results were!
فارسی تشکر از AI Overlords
تا اون موقع تمام عکسهای شلف و پروژهها رو فقط تو سایز ۳۰۰ در ۳۰۰ داشتم. برای Thumbnail خوب بودن، ولی میخواستم وقتی کاربر روی عکس کلیک میکنه، نسخه بزرگتر و باکیفیتتری تو Lightbox نمایش داده بشه.
مشکل این بود که نسخه بزرگ عکسها رو نداشتم و فایلهای Photoshop عکسهای شلف رو هم موقع ساختشون ذخیره نکرده بودم.
برای همین از Codex کمک گرفتم. ازش خواستم بدون تغییر محتوای عکسها، نسخههای ۶۰۰ در ۶۰۰ با کیفیت بهتر و شارپتر بسازه.
تو حدود ۱۵ دقیقه تمام ۲۸ عکس رو آماده کرد و خروجی دقیقا همون چیزی شد که میخواستم!
حالا پروژه تو حالت عادی نسخه کمحجم عکسها رو نشون میده و فقط وقتی کاربر عکسی رو تو Lightbox باز میکنه، نسخه باکیفیتترش لود میشه.
تا اون موقع از Codex برای همچین کاری استفاده نکرده بودم و واقعا از سرعت و کیفیت خروجیش کف کردم!

Chapter 19 of 34 English The Project's Gem
One feature that came to me halfway through the project, and quickly became really important to me, was this history of how I built it.
It was like a project diary for myself, while letting other people follow the way I thought: how the project grew, what problems I ran into, and how I solved them.
To me, one of the most important skills for a software engineer is learning how to see a problem and approach solving it. In a way, I wanted to give that journey to anyone viewing the project. A funny little gift: two months of Ali's work packed into a few images :)
I wanted it to have its own page, but I spent a lot of time thinking about where its button should go. I didn't want it to disappear into the page or demand too much attention. Every part of the layout already had a reason to be there, so I couldn't just drop a random button somewhere. Eventually, I came up with two ideas, which you'll see in the next two slides.
فارسی گوهر پروژه
یکی از فیچرهایی که وسط کار به ذهنم رسید و به نظرم خیلی مهم و باحال بود، همین تاریخچهی اینکه چطور پروژهم رو ساختم بود.
بودنش شبیه یه یادداشت خاطره از پروژهم برای خودم بود و بقیه میتونستن همراه من سفر ذهنی کنن که چجوری پروژه رو ساختم، رشدش چطور بود، به چه مشکلاتی خوردم و چطور حلشون کردم.
به نظرم برای یه مهندس نرمافزار، هیچچیز مهمتر از یادگیری نحوهی دیدن مسئله و مدل حل مسئله نیست. یه جورایی با این کار میخواستم این مسیر رو به بینندهی پروژهم هدیه بدم. هدیهی فانی هم به نظرم میاد. دو ماه زحمت علی تو چند تا دونه عکس :)
میخواستم یه صفحهی جداگانه تو پروژهم باشه. سر اینکه دکمهی باز شدنش رو کجا تو صفحه بذارم، خیلی فکر کردم. نمیخواستم این دکمه تو صفحه گم باشه یا خیلی توجه جلب کنه. تمامی قسمتها دلیل حضور خودشون رو داشتن و نمیتونستم همینجوری یه دکمه وسطشون قرار بدم. در نهایت به دو ایده برای قرار دادن دکمه رسیدم که تو دو اسلاید بعد میبینیم.

Chapter 20 of 34 English Pretty but Nah...
The first idea was to put an item on top of the shelf, like in the image. Something like a book lying on the shelf, with “How My Portfolio Was Built” written on it. When clicked, it would open the page that is open right now.
It was a pretty and creative idea. I implemented it for testing, but in practice it did not work very well.
One of the beautiful things about the page was that the shelf was simple and easy to understand at first glance. The eye wants to first see the main lines of the image, find the patterns, and quickly understand what it is looking at. Having an object somewhere the eye does not expect it reduced the joy of seeing a clean, smooth, perspective-based design.
I did not want my design to become more crowded or lose the beauty of the perspective I had built for the shelf. So I gave up on this idea.
فارسی خوشگله ولی نه...
ایدهی اول این بود که یه آیتم بالای شلف مثل عکس بذارم. شبیه یه کتاب که بالای شلف افتاده. روش نوشته باشه How My Portfolio Was Built و وقتی روش کلیک بشه، این صفحهای که الان باز هست باز بشه.
ایدهی خوشگل و خلاقانهای بود. این رو برای تست پیادهسازی کردم، ولی تو عمل خیلی خوب نشد.
یکی از زیباییهای صفحه، ساده و قابلفهم بودن شلف در نگاه اول بود. چشم دوست داره اول خطوط کلی تصویر رو ببینه و با پیدا کردن الگوها سریع متوجه بشه با چه چیزی روبهروئه. حضور یه جسم در جایی که چشم انتظارش رو نداره، از لذت دیدن یه دیزاین تمیز، صاف و پرسپکتیومحور کم میکرد.
دوست نداشتم دیزاینم شلوغتر بشه یا از زیبایی پرسپکتیوی که برای شلف ساخته بودم کم بشه. پس بیخیال این ایده شدم.

Chapter 21 of 34 English Turning the Page
I felt terrible. I couldn't figure out where to put the button for opening the project history, but I also couldn't bring myself to give up on the page.
While I was busy working on something else, the idea of turning a page suddenly came to me.
It felt clean and made sense. It could sit independently in the corner instead of being forced into an unrelated section. It was small without getting lost, creative, fun, and similar to something I'd built before.
I found the library I needed and implemented it.
Getting the animation, speed, and overall behavior right took some fiddling, but I loved the result.
I was so happy that the question I'd had since the beginning, where to put this feature, was finally answered :)
فارسی ورق برگشت
خیلی حس بدی داشتم. ایدهی اصلی قرار دادن دکمهی دیدن تاریخچهی پروژهم رو نمیدونستم کجا میتونم بذارم. دلم هم اصلا نمیاومد بیخیال صفحهی تاریخچهی پروژهم بشم.
درگیر کارهای دیگه بودم، یهو ایدهی برگردوندن ورق به ذهنم رسید.
به نظرم ایدهی تمیز و خوبی بود. گوشهی صفحه بهصورت مستقل بود و تو سکشن بیربط نبود، کوچیک بود ولی تو صفحه گم نبود، خلاقانه و باحال بود و چیزی بود که قبلا یه چیزی شبیهش رو ساخته بودم.
لایبرری مورد نیازش رو پیدا کردم و پیادهسازیش کردم.
مشکلات و سرعت و مدل انیمیشن و ایناش یکم دنگ و فنگ داشت، ولی خروجی خیلی دوستداشتنی برام شده بود.
خیلی خوشحال بودم که گنگیای که از اول پروژه برای قرار دادن این فیچر داشتم، بالاخره حل شده بود :)

Chapter 22 of 34 English The Story Behind Every Card
I finalized the About Cards template for every section, both structurally and visually.
I added a Story section to the cards, where I could write about each card, my experience with it, and everything around it in my own voice. That made it feel like something Ali had truly built, not just a cold, dry resume filled with project information.
Now all that remained was the very difficult, time-consuming task of writing a tiny novel for every card.
You might not believe it, but filling out a single card took me an unbelievable amount of time. As I'm writing this, it's 2 AM, and I've spent today, yesterday, and the day before finalizing the text and polishing the small details of this gallery. I still have a few slides left :D
فارسی داستان هر کارت
تمپلیت قسمت About Cards رو برای همهی سکشنها از نظر ساختار و استایل نهایی کردم.
به کارتها قسمت Story اضافه کردم. توش قرار شد به زبون خودم داستان هر کارت، تجربه و چیزهای مربوط بهش رو بنویسم. اینجوری حس میکردم این واقعا کار علی هست، نه فقط یه رزومهی خشک و سرد با اطلاعات پروژه یا کارت.
حالا فقط کار خیلی سخت و زمانبر رماننویسی برای هر کارت مونده بود.
شاید باورت نشه، ولی به شکل غیرقابلباوری پر کردن یه کارت ازم زمان برد. الان که دارم این رو مینویسم ساعت ۲ صبحه و امروز، دیروز و روز قبلش رو برای نهاییسازی متن و ریزکاریهای این گالری وقت گذاشتم. هنوز هم چند تا اسلاید دیگه مونده :D

Chapter 23 of 34 English Look at Me!!
At this point, the project had reached a stage where I wanted to use its link on my social media and introduce it to people I knew. So I added a temporary Toast saying that the project was still in progress, and that this link could be used to follow its progress.
Clicking and opening the project history page was not very obvious, so I added an onboarding-like behavior for the feature. Eight seconds after entering the page, the edge of the page would lift a little to quietly grab some attention.
I chose eight seconds because, from my own experience, it took about that long for the eye to see and understand the elements on the page. Once the eye understood the page, a small attention grab would happen in the corner so the viewer would not miss this feature. This feature might still get lost in the user’s view, but I did not want to make it any louder than this. Someone who cares and wants to explore will notice it. Someone who does not care might be better off not finding it.
فارسی منو ببین!!
اینجا پروژه به جایی رسیده بود که خواستم از لینکش تو سوشالمدیاهام استفاده کنم و به آشناهام معرفیش کنم. برای همین یه Toast موقت به صفحه اضافه کردم که توش میگم این پروژه هنوز داره روش کار میشه و تموم نشده. میتونی با این لینک پیشرفت پروژهم رو ببینی.
کلیک و باز کردن صفحهی تاریخچهی پروژهم خیلی معلوم نبود، پس یه حالت onboarding برای فیچر گذاشتم که ۸ ثانیه بعد از ورود به صفحه، لبهی ورق یه کم بالا بیاد و کمی جلب توجه کنه. ۸ ثانیه گذاشتم چون با تجربهی خودم، تقریبا ۸ ثانیه طول میکشید تا چشم بتونه المنتهای صفحه رو ببینه و درک کنه. وقتی چشم فهمید صفحه چی هست، اونموقع یه جلب توجه ریز گوشهی صفحه انجام میشه که یه وقت این فیچر رو بیننده از دست نده.
باز هم ممکنه این فیچر تو دید کاربر گم بشه، ولی نمیخواستم بیشتر از این جلب توجهش رو بولدتر کنم. کسی که بخواد و براش مهم باشه، متوجهش میشه. کسی که براش مهم نباشه، پیدا نکردن فیچر شاید براش بهتر باشه.

Chapter 24 of 34 English Being Tall is Not Always Good
For the design of the portfolio history page, my first idea was a ladder-like layout. A very long page where images and text sit next to each other, and the user can scroll through it.
After building the first template, I realized it did not have a good user experience. With this design, I would not really stop at each image to carefully look at the text and the image. I just wanted to keep scrolling until I reached the bottom of the page.
I wanted this page to be the beautiful gem of my project, and I really did not want to just leave it like that and call it good enough...
So the design had to change.
فارسی مشکلات قد بلند
برای طراحی صفحهی تاریخچهی پورتفولیو، ایدهی اولیهم حالت نردبونی بود. یه صفحهی خیلی دراز که عکس و نوشته کنار هم هستن و کاربر میتونه اسکرول کنه.
بعد از ساخت تمپلیت اولیهش، دیدم تجربهی کاربری خوبی نداره. با این دیزاین من واقعا سر هر عکس ایست نمیکردم تا با دقت متن و عکس رو ببینم و بخونم، فقط میخواستم اسکرول کنم تا پایین صفحه برم.
من میخواستم این صفحه گوهر خوشگل پروژهم باشه و دلم نمیاومد همینجوری ولش کنم و بگم گود اینافه...
پس دیزاین رو لازم بود عوض کنم.

Chapter 25 of 34 English A Better Frame
In the greatest design tool of all time, MS Paint, I sketched a gallery-style layout for the images and text.
I didn't want users to scroll through one long page, then keep nudging the scrollbar up and down just to line each image and paragraph up with their view. If I'd kept that design, they probably would have given up on reading the page.
With this model, everything would live inside one defined frame. Users could choose which part to view, which language to read, and how quickly to move through the sections.
The idea felt right, so I started building it.
فارسی قاب بهتر
تو بهترین برنامهی دیزاین، MS Paint، ایدهی قرارگیری عکسها و متنها به حالت گالری رو کشیدم.
میخواستم کاربر دیگه مجبور نباشه وسط یه صفحهی بلند اسکرول کنه، بعد هی اسکرولبار رو آروم بالا و پایین ببره تا عکس و متن دقیقا جلوی چشمش قرار بگیرن. اگه اون حالت میموند، احتمالا خیلی راحت بیخیال خوندن و دیدن صفحه میشد.
با این مدل، همهچیز داخل یه باکس مشخص قرار میگرفت. کاربر میتونست خودش انتخاب کنه کدوم فریم رو ببینه، با چه زبانی بخونتش و با چه سرعتی بین بخشها جلو بره.
به نظرم ایدهی خوبی بود، پس رفتم برای پیادهسازیش.

Chapter 26 of 34 English Almost Alive
The new design was now implemented. I also added a few small intro animations, trying to capture the feeling of entering one of Apple's product pages.
There may also be an easter egg that needs six clicks before it runs :)
I added the footer, copyright notice, and the project's custom license too.
Everything looked good. All that remained was filling in the cards and polishing the small details.
فارسی تقریبا زنده
پیادهسازی دیزاین جدید هم انجام شد. انیمیشنهای intro ریز و خوشگلی هم بهش دادم. شبیه سایت Apple سعی کردم حس ورود به صفحه رو بسازم.
تو صفحه هم شاید یه ایستر اگ گذاشته باشم که لازم باشه ۶ بار روش کلیک بشه تا اجرا بشه :)
فوتر، حق کپیرایت و لایسنس کاستوم پروژه رو هم به پروژه اضافه کردم.
به نظر همهچیزش اوکی بود. فقط پر کردن اطلاعات کارتها و ریزکاریهاش مونده بود.

Chapter 27 of 34 English More Than a Shelf
I added two new elements to the project. One was a badge in the top-left corner showing that the project was still under development. Hovering over it would reveal the current website version and a link to GitHub. I really liked how this badge looked. I might use it in future projects too.
I also added a little hint at the bottom of the page that would appear about eight seconds after the site first loaded, telling visitors they could click on the cards to see more details.
Until then, it wasn't very obvious that the cards were clickable. Someone might think they were just looking at a pretty, static shelf and never even try clicking one. The hint was there to show that there was more to it than just a pretty shelf. Of course, if someone clicked a card during those eight seconds, the hint wouldn't appear at all.
In the bottom-right corner, I had also added the page-peeling effect. It looked really nice, but I was using a relatively old external library called peel.js to make it work. The library was heavy, and I didn't need all its features. So I built my own lighter version that did exactly what I needed.
فارسی بیشتر از یه شلف
به پروژه دو قسمت جدید اضافه کردم. یکی یه بج بالا سمت چپ بود که نشون میداد پروژه هنوز در حال ساخته. وقتی موس رو روش هاور میکردی، ورژن فعلی سایت و لینک گیتهاب رو نشون میداد. ظاهر این بج رو خیلی دوست داشتم. شاید تو پروژههای بعدی هم ازش استفاده کنم.
یه متن راهنما هم پایین صفحه گذاشتم که حدود ۸ ثانیه بعد از لود اولیهی سایت ظاهر میشد و میگفت میتونی روی کارتها کلیک کنی تا توضیحات کاملترشون رو ببینی.
تا اون موقع خیلی واضح نبود که کارتها قابل کلیکن. ممکن بود کاربر فکر کنه فقط با یه شلف استاتیک و خوشگل طرفه و اصلا امتحان نکنه روی کارتها کلیک کنه. این هینت قرار بود نشون بده ماجرا فقط یه شلف خوشگل نیست. البته اگه کاربر تو همون ۸ ثانیه روی یه کارت کلیک میکرد، دیگه هینت نمایش داده نمیشد.
پایین سمت راست هم از افکت ورق زدن صفحه استفاده کرده بودم. خیلی خوب شده بود، ولی برای پیادهسازیش از یه لایبرری خارجی نسبتا قدیمی به اسم peel.js استفاده میکردم. این لایبرری سنگین بود و من هم به همهی فیچرهاش نیاز نداشتم. برای همین خودم یه نسخهی سبکتر ساختم که فقط همون کارهایی رو انجام بده که لازم داشتم.

Chapter 28 of 34 English Facing My Biggest Fear
The project had finally reached a point where I really needed to start working on the mobile version.
To be fair, I really didn't want to touch it until now because it felt a little scary to me. I had no idea how to fit the pretty shelf I'd built into a tiny 380-pixel-wide screen. And then there was the whole thing with opening card details and everything else.
For testing, I took the same shelf and its content, scaled everything down, and placed it on a mobile screen. Since I had used cqw, resizing the entire shelf and all its elements was actually pretty easy. But unfortunately, the result wasn't that great. It looked pretty to me, but using it on a phone was really uncomfortable.
I couldn't bring myself to just leave it like that. I didn't want the mobile version to be nothing more than a smaller version of the desktop one.
So... it was time to focus on building a mobile version that looked just as pretty as the desktop version, and something I would genuinely love too...
فارسی مواجهه با بزرگترین ترس
بعد دیگه کار پروژه به جایی رسید که واقعا لازم بود برم سراغ ساخت نسخهی موبایل.
تا اینجا راستش خیلی دلم نمیخواست سمتش برم، چون یکم ترسناک به نظرم میومد. ایدهای نداشتم که شلف خوشگلی که ساخته بودم رو چجوری تو یه صفحهی کوچیک ۳۸۰ پیکسلی جا بدم. تازه باز شدن اطلاعات کارتها و بقیهی چیزهاش هم بود.
برای تست، اومدم همون شلف و محتواهاش رو کوچیک کردم و تو صفحهی موبایل گذاشتم. چون از cqw استفاده کرده بودم، تغییر اندازهی کل شلف و اجزاش خیلی راحت بود.
ولی متاسفانه نتیجه خیلی خوب نبود. به چشمم خوشگل میومد، ولی روی گوشی اصلا نمیشد راحت باهاش کار کرد.
دلم نمیاومد همینجوری ولش کنم. نمیخواستم نسخهی موبایل فقط یه نسخهی کوچیکشده از دسکتاپ باشه.
پس... وقتش بود تمرکزم رو بذارم روی ساخت یه نسخهی موبایل که مثل نسخهی دسکتاپ خوشگل باشه و چیزی باشه که خودم هم دوستش داشته باشم...

Chapter 29 of 34 English Way Prettier Than I Expected!
Here's a big time jump. I spent a lot of time working on the mobile version. I had full-length screenshots of both the initial and final versions, so I put them together in this image.
I had built something that kept the same soul and colors as the desktop version, but instead of one shelf, it was split into several different shelf sections that worked and looked much better on a phone.
The mobile version turned out really, really good. At one point, I even liked it more than the desktop version. It felt smooth and professional to me, and a bit closer to what you would normally see in a portfolio. I also added a pretty bottom sheet for showing the card details, and I was really happy with it.
With the mobile version finally checked off my list, all the big tasks of the project were done.
Just a few little details left :D
فارسی خیلی خوشگلتر از انتظارم!
اینجا یه پرش زمانی بزرگ داریم. کلی روی ساخت نسخهی موبایل کار کردم. از نسخهی اولیه و نهایی هم عکس قدی داشتم که هر دوتاش رو تو این عکس گذاشتم.
چیزی ساخته بودم که همون روح و رنگهای نسخهی دسکتاپ رو داشت، ولی به جای یه شلف، تو چند سکشن مختلف شکسته شده بود و روی گوشی خیلی خیلی بهتر نشون داده میشد.
نسخهی موبایل خیلی خیلی خوب شده بود. یه زمانی حتی از نسخهی دسکتاپ هم بیشتر دوستش داشتم. به چشمم نرم و حرفهای میومد و یه مقدار هم به مدل رایجتر پورتفولیوها نزدیکتر بود. برای نشون دادن توضیحات کارتها هم یه باتمشیت خوشگل گذاشته بودم که ازش خیلی راضی بودم.
با تیک خوردن تسک نسخهی موبایل، دیگه کارهای گندهی پروژه تموم شده بود.
فقط یه سری ریزکاری مونده بود D:

Chapter 30 of 34 English Two Birds, One Stone
I had received feedback that the desktop version showed too much information all at once, giving the eye little time to get familiar with the site's gimmick. I also wanted to make it clearer that clicking on the shelf cards would reveal more details.
For a while, I considered having a separate intro page with a short introduction about me before entering the shelf. I even worked on its design and implementation, but suddenly another idea came to mind.
Why have a separate page at all? I could add an onboarding experience directly to the project, making the introduction to the shelf smoother while showing users that the cards were clickable.
With the blur, the user's eyes could gradually get used to the shelf's appearance and gimmick, without having all the details thrown at them right away!
I really liked this idea. I spent a lot of time adjusting the blur intensity, colors, text, and how it appeared. The result felt like it made exploring my project so much better :)
فارسی یه تیر، دو نشون
برای نسخهی دسکتاپ یه بازخورد گرفته بودم که یهویی اطلاعات زیادی به کاربر نشون داده میشه و چشم فرصت نمیکنه آرومآروم با گیمیک سایت آشنا بشه. از طرفی میخواستم واضحتر باشه که میشه روی کارتها کلیک کرد و اطلاعات کاملترشون رو دید.
مدت زیادی درگیر ایدهی یه صفحهی intro جدا قبل از شلف بودم. اونجا یه توضیح خلاصه از خودم باشه و بعد کاربر وارد شلف بشه. حتی روی دیزاین و پیادهسازیش کار کردم، ولی یهویی یه ایدهی دیگه به ذهنم رسید.
چرا اصلا یه صفحهی جدا داشته باشم؟ میتونم به جاش یه حالت onboarding به خود پروژه اضافه کنم که هم ورود کاربر به شلف رو نرمتر کنه، هم نشون بده که میتونه روی کارتها کلیک کنه.
بلور هم کمک میکرد چشم کاربر آرومآروم با ظاهر و گیمیک شلف آشنا بشه، بدون اینکه همون اول همهی جزئیات صفحه یهویی بریزه جلوش!
خیلی از این ایده خوشم اومد. روی شدت بلور، رنگها، متن و نحوهی نمایشش کلی کار کردم و در نهایت چیزی شد که به نظرم اکسپرینس دیدن پروژه رو بهترتر میکرد :)

Chapter 31 of 34 English Improving Performance
Then I spent a lot of time improving the performance of both the desktop and mobile versions.
I separated how the two layouts were rendered, reduced some box-shadows, and tried to improve my Lighthouse scores.
One thing I really loved was building an automatic image optimization system. I could just put the high-quality original image in a folder, and it would generate two versions for me: a thumbnail and a full-size image.
The thumbnail was resized to match the box where it would appear, cropped to remove anything outside the visible area, and compressed. The full-size version, used in the lightbox, was just a slightly compressed version of the original.
This system made a huge difference in my site's performance. My Lighthouse Performance score went from 76 to 98 on desktop, and from 53 to 85 on mobile!
فارسی بهتر کردن Performance
بعد حسابی افتادم روی بهتر کردن پرفورمنس نسخهی دسکتاپ و موبایل.
رندر شدن دو ساختار رو از هم جدا کردم، از یه سری box-shadowها کم کردم و سعی کردم امتیاز Lighthouse رو بهتر کنم.
یه کاری که خیلی خیلی دوست داشتم، ساختن یه سیستم برای آماده کردن عکسهای پروژه بود. فقط کافی بود نسخهی باکیفیت عکس رو تو یه پوشه بذارم و سیستم خودش دو تا نسخه بسازه. یکی تامبنیل و یکی برای نمایش باکیفیت تو سایت.
نسخهی تامبنیل متناسب با اندازهی باکسی که قرار بود توش نشون داده بشه ساخته میشد. عکس رو به اندازهی مناسب درمیآورد، قسمتهای اضافی رو کراپ میکرد و بعد حسابی کامپرسش میکرد. نسخهی باکیفیت برای lightbox هم همون عکس اصلی بود که یکم کامپرس شده بود.
این سیستم جدید خیلی خیلی روی پرفورمنس سایت تاثیر گذاشت. امتیاز Performance تو Lighthouse برای دسکتاپ از ۷۶ به ۹۸ و برای موبایل از ۵۳ به ۸۵ رسید!

Chapter 32 of 34 English For Those Lost in My World
Since I had set ali-sdg.is-a.dev as my personal domain in my GitHub settings, all the projects I published on GitHub Pages would end up under this same domain.
So I thought it would be a pretty cool idea to add a 404 page to this project, which had now become the hub for all my projects.
Basically, it first tries to open the address the user entered. If GitHub can't find it, it sends them to the hub, which is this project. Then it checks whether the address is one of the routes defined in the project. If it isn't, it shows the 404 page.
This way, I added a main hub and a 404 page for anyone who gets lost in the world I've been building on GitHub for years.
I also gave the 404 page a cute little animation :)
فارسی برای گمشدگان دنیام
چون تو تنظیمات گیتهابم آدرس ali-sdg.is-a.dev رو بهعنوان آدرس شخصیم تعریف کرده بودم، تمام پروژههایی که روی GitHub Pages قرار میگرفتن، آدرسشون میومد زیر همین دامنه.
پس گفتم ایدهی خوشگلی میشه اگه روی این پروژه که دیگه هاب تمام پروژههام شده بود، یه صفحهی ۴۰۴ هم بذارم.
یعنی اول سعی میشه همون آدرسی که کاربر وارد کرده باز بشه. اگه گیتهاب نتونه پیداش کنه، میفرستتش به هاب که همین پروژهست. اینجا هم چک میشه که آیا آدرس جزو آدرسهای تعریفشدهی پروژه هست یا نه. اگه نبود، صفحهی ۴۰۴ رو نشون میده.
اینجوری برای کل دنیایی که سالهاست تو گیتهاب ساختم، یه هاب اصلی و یه صفحهی ۴۰۴ برای کسایی که تو دنیام گم میشن اضافه کردم.
به صفحهی ۴۰۴ هم یه انیمیشن ریز خوشگل دادم :)

Chapter 33 of 34 English Ali's Social Menu
I always wanted to have a simple Linktree for myself. A place with just my social media links.
Then I thought, since I was already in a flow state and really liked this design and its colors, why not add a /links route to the same project for my own Linktree page?
I added my social media links there, and a little card with an image at the bottom, saying that if you wanted, you could also check out my portfolio.
For the background, I used the same custom wave system I had built for the desktop version.
I think it turned out pretty, clean, and cool. Right now, I'm only using it in my Instagram bio and on the 404 page. Maybe I'll use it elsewhere in the future, but for now, I have no idea where else to put it.
And honestly, I really didn't want to start writing the stories for my Tech Stack and projects. Building all these little extras was just my way of putting that off :))
فارسی منوی سوشال علی
همیشه دوست داشتم یه لینکتری ساده برای خودم داشته باشم. جایی که فقط لینک سوشالمدیاهام باشه.
بعد دیدم من که تو flow state هستم و از این مدل ظاهر و رنگها هم خوشم اومده، بذار به همین پروژه یه آدرس /links هم اضافه کنم که صفحهی لینکتریم رو باز کنه.
توش لینک سوشالمدیاهام رو گذاشتم. پایینش هم یه کارت با عکس گذاشتم که بگه اگه خواستی، میتونی بری پورتفولیوم رو هم ببینی.
برای بکگراندش هم از همون ساختار موجی کاستومی که تو نسخهی دسکتاپ استفاده کرده بودم، استفاده کردم.
به نظرم چیز خوشگل و تر و تمیز و باحالی شد. الان فقط تو بیوی اینستام و صفحهی ۴۰۴ ازش استفاده کردم. شاید تو آینده لینکش رو جاهای دیگه هم بذارم، ولی فعلا ایدهای ندارم کجاهای دیگه میتونم ازش استفاده کنم.
و راستش اصلا دلم نمیخواست برم سراغ نوشتن داستان Tech Stack و پروژهها. ساخت این چیزای جدید فقط تلاش برای عقب انداختن رسیدن به اونها بود :))

Chapter 34 of 34 English The Project's Most Important File
From the very beginning, my project had two files called progress.md and endgame.md. These two files were like task boards for my project.
Whenever an idea or something came to mind while building the project, reviewing it myself or with AI, or even in the shower, I'd add it to these files. This was one of the best decisions I made for my project. Every time I wanted to work on my portfolio, all the remaining tasks were right there in front of me. I'd pick what I wanted to work on that day, get it done, and then check it off.
Without these files, I would've forgotten half of my ideas, decisions, and improvements five minutes after thinking of them. I really love these files. In a way, they're the journey and diary of all the work I've done over these four months :)
And that's the end. Thank you for being with me this far :) I hope this journey has been just as lovely and sweet for you as it's been for me ❤️
فارسی مهمترین فایل پروژه
پروژم از همون اولها دو تا فایل به اسم progress.md و endgame.md داشت. این دو تا فایل شبیه بورد کارها تو پروژم بودن.
هر وقت موقع ساخت پروژه، بررسیش توسط خودم یا AI، یا حتی تو حموم یه ایده یا چیزی به ذهنم میرسید، میومدم به این فایلها اضافش میکردم. این یکی از بهترین تصمیمهایی بود که برای پروژم گرفتم. هر دفعه که میخواستم رو پورتفولیوم کار کنم، تمام کارهایی که از پروژه مونده بود جلوم باز بود. میدیدم کدوم رو میخوام امروز پیش ببرم، انجامش میدادم و بعد تیکش رو میزدم.
اگه این فایلها نبودن، نصف ایدهها و تصمیمها و بهبودها رو ۵ دقیقه بعد از اینکه به ذهنم میرسیدن یادم میرفت. این فایلها رو خیلی دوست دارم. یه جورایی سفر و دفترچه خاطرات کارهام تو این ۴ ماه برام هستن :)
و پایان. مرسی تا اینجا باهام همراه بودی :) امیدوارم همونطور که این سفر برای من دوستداشتنی و شیرین بوده، برای تو هم همینطور بوده ❤️