-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frontend Rewrite #219
Frontend Rewrite #219
Conversation
Pretty darn beautiful! Good work! |
Wow this looks amazing! |
Looks awesome, good job. I tried the live preview you made and went straight into the dark version without doing anything (I have everything on dark) so I think that part works, at least for me. |
I'm glad this is well received. c: There still are a couple quirks to iron out, as well as all the build and test process stuff – not sure if and what has to be changed for that to work. And once that's done I'll have to rethink the search. I surely am not looking forward to that, but I guess it's a feature that we wanna keep?
This has been supported in browsers for a while, so I guess it shouldn't really conflict with anything. And in case it's not supported or the user doesn't allow access to that information it will just default to light – tho that could also just be switched around in case we would prefer that. |
If possible, I would like to have a search engine. Because we already have 100 topics and several to come. It can be a bit complex to find something among so many candidates. |
With so many themes now on the store I think it would be great to be able to filter by "recently updated", so users can find working themes much quicker. |
That's not possible, I would need to monitor each and every theme or tell the authors to send status updates to our repo and neither option is really feasible in the long run. In fact, although we should do some review from time to time to see if a theme has been abandoned. Ideally, when a user detects it, he should send us an issue to delete the theme. |
Maybe do a review at the end of each month or two? |
If someone wants to do it, I won't be the one to stop them XD. 15 mints per theme for 100 themes = 25 hours of work reviewing themes. P.D: Sorry, I don't know how I ended up editing your post instead of writing a reply. I tried to leave it as it was, but I didn't remember the replies I had chained, sorry. |
Would it really take 15 minutes per theme? Couldn't you just check when the repo was last updated, maybe have a cutoff point of ~1 year? |
We could make a script to organise it automatically, and I have no problem making and taking care of it myself. I think these ideas would be better suited for an issue rather than polluting this PR, care to create one? |
I think the most important thing that happened over the latest commits is that I've put the asset handling entirely in Astro's hands. This means that we don't have to explicitly have the This changes the notation inside the […]
"image": "/src/assets/*.{webp,jpeg,jpg,png,gif}",
[…]
I've highlighted the tags a little more using a similar style as GitHub with the pills. I'll still look into the search, but it's probably not as easy as it was previously since everything is static now. :/ |
Is the red colour scheme final? I love the blue on the current site, it would fit with the logo too. |
The colour scheme is more or less fixed in the sense that I'm using Rosé Pine. But that doesn't mean that we can't change the colour we use for links, or even introduce a completely new one. I just picked In case we decide to go with a custom blue I'd suggest to go with these two: |
Add script to give the last dates at `themes.json`.
Oh, unbeknownst to me, but did you want to close it, @unseen-ninja? |
Oh, shit. I've done some cleanup, and I forgot to whiteolist my original repo and it got deleted. This is entirely by accident. I do have a local copy tho. I'll re-open another PR, I guess. D: |
Cheers! o/
I've wanted to do this for a while since there are a few things that bug me about the current state of the frontend – I was young and naive back when I did those things. :^)
With this PR I'm proposing a rewrite of the frontend using Astro in order to generate fully static files in order to reduce all the clientside efforts currently in place.
As of right now this breaks two things:
Besides that I've improved a couple visual things and I intentionally split the most recent themes from the rest and placed two cards inbetween to guide users to other resources.
A live preview of everything is available on GitHub Pages.