SynAck,
@SynAck@corteximplant.com avatar

And now comes the part of my day where I throw up my hands in exasperation because I don't understand SCSS nor React and I can't figure out how to make the Quartz code style my site the way I want it to look. What's worse is that I'm trying to modify code that someone else has built, while not having a good handle on how styling works, which I'm sure is a very large part of my problem.

That and getting down to the nitty gritty of all the things I dislike about front-end work - all the bit twiddling and pixel tweaking falderall. I'm frustrated with the whole thing, so I'm done with it for now.

The good news is that while it's not looking exactly the way I want it to - which would likely have to be accomplished with some gnarly hand-written HTML+CSS code - it looks "good enough". There's a lot of space where I don't want it, but I can't figure out how to turn it off, so I'm done with it. The good news is that I was able to create an "OTS Links" sidebar component with some buttons on it, which was the goal for today.

If I just can't stand it anymore, I'll go pester some of the people I know that use Quartz + Obsidian and see how they did what they did.

I hate front-end work. :bec_sigh:​

kaiserkiwi, (edited )
@kaiserkiwi@corteximplant.com avatar

@SynAck Sorry that I have to ask, but why are you using React and SCSS if you don't have a proper understanding of JavaScript and CSS?

Especially React. That's like trying to learn ride the bike but one Wheel is a strangely formed triangle and the handle has spikes.

SynAck,
@SynAck@corteximplant.com avatar

@kaiserkiwi Because I am using Quartz 4 to generate a static site from markdown in my Obsidian vault. I'm trying to adjust and customize the Quartz output beyond what it does by default, and the author of quartz chose to use Typescript to generate what I understand to be React code as the final output.

So the tl;dr is that I'm trying to modify the Quartz code to generate the style I want, and finding it to be a bit more work than I anticipated. :moodface: I tried to save myself some work and ended up generating more for myself once I wanted to customize.

But, I've gotten it to a place where I'm happy enough with it to put it out there. If worse comes to worst, I'll end up creating a new site based on the static HTML at a later time.

Most of it has to do with my quirky ideas on empty space and not knowing enough about CSS and how these components work to match my internal vision.

Now that I've slept on it, I've decided it's "good enough" for now and what I wanted to accomplish with my site. :bec_wink:

kaiserkiwi,
@kaiserkiwi@corteximplant.com avatar

@SynAck "Static Page Generator" and then I read Typescript and React. This planet deserves to burn.

Why the heck should JavaScript be involved in anything that should be static? I hate JS-Bros so much.

Just use any PHP Markdown parser and you have a much easier start.

SynAck,
@SynAck@corteximplant.com avatar

@kaiserkiwi I'm probably also not explaining myself or the situation well, either. I'm assuming that the author intended this for less technical folks that just wanted to modify the site via config files.

And, while I could have used PHP, I didn't wanna (I believe you know my feelings on it :kekw: ). But, it probably would have been the best tool for the job and one that I'm much more familiar with, so you're right.

Continuing to learn hard lessons even in middle age, me!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ethstaker
  • thenastyranch
  • GTA5RPClips
  • everett
  • Durango
  • rosin
  • InstantRegret
  • DreamBathrooms
  • magazineikmin
  • Youngstown
  • mdbf
  • slotface
  • cisconetworking
  • kavyap
  • JUstTest
  • normalnudes
  • modclub
  • cubers
  • ngwrru68w68
  • khanakhh
  • tacticalgear
  • tester
  • provamag3
  • Leos
  • osvaldo12
  • anitta
  • megavids
  • lostlight
  • All magazines