feat(root page): prettify and add new home page content #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "jakehamilton/feat/home-content"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This one is a bit harder to show off in single screenshots, I recommend opening the site locally to see all of these changes on the page!
However, here are a few screenshots of the updated design/content for parts that I have changed:
Note that the "Our vision for floral.systems" bit hasn't really been worked on aside from some experimentation on the title itself.
@ -10,2 +10,3 @@globalThis.PKGS = "petalpkgs";globalThis.PKGS = "Petalpkgs";globalThis.DISTRO = "FleurixOS";globalThis.PKGS_COUNT = "67,589";Let's avoiding adding more things to the global scope and start removing all of these defs soon. They were a hack for the name, and at this point an actual
$lib/consts.tsis warranted if we decide we really need this, which I think we don't.@ -17,3 +18,3 @@<meta property="og:type" content="website" /><meta property="og:url" content={$page.url?.toString()} /><meta name="theme-color" content="#136951"><meta name="theme-color" content="#27a27b">Nice catch!
@ -62,4 +78,3 @@/></div></div><div class="text-4xl flex justify-center items-center h-full">Maybe an arrow, ref: https://matrix.to/#/!jElecDkufeieslnxJz:matrix.org/$bHWQyEFUpU_emyv9oQtfaG44Jvc7Pdm6fP4fsuzEz3o?via=lix.systems&via=matrix.org&via=ckie.dev
Hmm, I can't seem to get the link to work correctly. What are you envisioning?
@ -59,0 +64,4 @@target="_blank"class="hover:border-teal-200"><!-- NOTE: enhanced:img breaks when creating multiple elements with the same src -->huhh. that's pretty absurd of it. you could workaround with {#each} and a {#snippet}
doing for you in #5, #6 for the flower one
@ -85,0 +119,4 @@</LinkChip></div><div class="grid grid-cols-2 lg:grid-cols-4 place-items-center grid-flow-dense gap-4 max-w-5xl mx-auto mt-6"><PackageTile>LLVM</PackageTile>Nit/general: I find it unlikely we'll have
PackageTiles on many pages, so a{#snippet}would be more appropriate to not pollute the$lib/componentsscope, which should be when you're expecting usage from multiple components.Converting these to a snippet, thank you for letting me know!
@ -85,0 +120,4 @@</div><div class="grid grid-cols-2 lg:grid-cols-4 place-items-center grid-flow-dense gap-4 max-w-5xl mx-auto mt-6"><PackageTile>LLVM</PackageTile><PackageTile>GCC</PackageTile>But we'll want to take this vague idea into docs for some featured usecases we write about, a bit like the "Learn by example." bit on bun's website. But probably more colorful.
@ -85,3 +151,3 @@<div class="pb-60"><h2 class="text-4xl w-fit pb-4">A <span class="text-teal-500">reimagining</span> of the NixOS communityOur <span class="font-aladin font-bold text-teal-500">vision</span> for <span class="font-aladin fontold text-coral-970">floral.systems</span>the
font-aladin&text-coral-970here foul skimmers.'brand font'Yeah, coming back to this after a bit I am less enthused by the off-black color and heavy use of Aladin. Going to pull it back a bit before trying something else.
@ -9,3 +9,3 @@};networking.firewall.allowedTCPPorts = [ 80 ];#<hidden>networking.firewall.allowedTCPPorts = [ 80 ];/*<hidden>*/I don't mind this but, I'm curious what your reasoning is?
Yeah this little bit is kinda of silly. I was having issues where an extra "\n" was being added and in trying to solve the issue I determined that we may want to trim text ending in arbitrary places, not always with a single new line at the end. So I swapped it to a more strict/literal "cut here" version that wouldn't impact code after the text.
aaaa251282to49ee77a7efView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.