Giter Club home page Giter Club logo

stacksorted's Introduction

Stack Sorted.

An open-source, open-to-contribution project that categorizes websites, not by general design or topic but by specific elements.

How to contribute

You can either contribute by improving the code or adding sites to the database. Before that, make sure to read the Codes of Conduct.

Improving the code

If there's a feature you'd like to see, open an issue or send a pull request.

Adding a site

We add sites and categories mainly to database.js.

There are up to 5 properties you can specify for each site:

{
          name: "Site/Project/Design Name",
          url: "https://example.com",
          code: "link to code implementation of the design (if existing, preferrably on Codepen)",
          image: "/images/{category}-{number}.webp",
          gif: "/images/{category}-{image-number}.webp",
},

Keep in mind

  1. The name, url, and image are mandatory. code and gif are optional.
  2. You can add it if there is an existing implementation of the design on CodePen or similar sites. If you're making one yourself, you can add the link there too.
  3. You can add the images to public/images.
  4. There is a naming convention for images too: {category}-{number}.webp The number follows the last existing image number. If you're adding the first site in a category, e.g., grainy, then it'd be grainy-1.webp, followed by grainy-2.webp, and so on.
  5. A GIF is added when it's helpful to show a preview animation of the element. It must have the same number as the image followed by letter 'g', e.g., image-1g.webp. This GIF will show in the modal only.
  6. Image should perfectly capture the element (200x344).
  7. GIF should be as short as possible, only capturing the main effect/animation, so the file should not exceed 10MB.

Thank you for checking the project out!

Stack Sorted. - Find Inspiration in Design Elements. | Product Hunt

stacksorted's People

Contributors

amanbobal avatar blurri10 avatar conrtv avatar danuvip avatar haaguitos avatar juxtopposed avatar kalisnetwork avatar looskie avatar louisescher avatar marcusleonas avatar mikikiv avatar p5quared avatar seriousm4x avatar ssojonn avatar stranger1586 avatar zzznicob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

stacksorted's Issues

Element sets in Stack Sorted

I think it'll be pretty cool to make a separate section for elements made in the same design style. Like a codepen set which basically have elements in it which look like the style codepen uses. Or like a glass-style set in which all elements are in a glass style.

Add Navbar section

Would be useful to a lot of people, maybe a responsive navbar section as well.

Spark Button

The Spark Button has a Codepen link that directly redirects to the Codepen site. However, it should redirect to the original website, and users should be able to check the code there instead, as the Codepen link is already available.
codeissue

More categories?

More element types

The current Stack Sorted website has 4 categories: button, links, grids, custom cursor. However, I feel like there are definitely more categories that could be added as nowadays, there are lots more elements that may look good on websites but don't fit in any of those categories. For example, menus, color & styling, typography, interactivity, visuals, animations, etc.

I probably missed lots of things but I feel like there should definitely be more categories.

Modals impair backwards navigation

Modals appear to be coupled to <Router />, assumedly so you can share links to elements, e.g.: https://stacksorted.com/grids/apple-iphone-14.

However, backwards navigation does not relaunch modals, causing the appearance of broken navigation.

Recreation:

  1. Open any /category.
  2. Click on some elements and open modals.
  3. Press back button a number of times.

Doing this a number of times with different steps, like opening modals, switching category, opening modals, and trying to 'back' repeatedly, yields somewhat unpredictable results. Even try using the site for a little bit, then clicking down the categories one by one, and then pressing back a few times.

This effect is almost certainly affecting accessibility.

Thoughts

  • Replacing buttons that have onClick => navigate(abc) with anchors would not only make the page's html more semantically correct, but it would also make things simpler by moving a lot of logic from the site to the browser itself. (I'll post example).
  • Moving to Sveltekit's router would probably be able to eliminate 40% of the necessary logic and overhead pertaining to window.location.pathname.
  • A possible solution to the modal/shareability is to place the selected modal into a query param (/category?selected=example). That way you can keep modal history (automatically, via browser I might add), and again pass the logic of navigation history out of the application and into the browser.

Pagination and one black logo or colored logo

I have bad UX with scrolling, I mean we have lots of Buttons and more to come and when you scroll up to down and you want to switch sections then you have to scroll again up to top to get navigation section.

image
Problem is logo is not clearly visible on site it just blends with nav color.

image
Even on Google search it is not clearly visible, due to only few people uses dark mode and it might visible but majority cannot see your logo.

It's Just my point of view and experience.

Fix modal overflow issue in Stack Sorted

Problem

The modal in Stack Sorted currently has a fixed height, which causes images to overflow when their dimensions exceed the modal's dimensions. This results in a poor user experience and hides action buttons.

Proposed Solution

To address this issue, we should set the CSS property of images within the modal to "overflow: auto" so that they do not overflow from their parent container.

Steps to Reproduce

  1. Open a website. stacksorted
  2. Click on any of the card with large image e.g: Border effects Vercel
  3. Observe the image overflowing from the modal.

Expected Behavior

Images within the modal should not overflow from the modal's image area.

Additional Information

  • Stack Sorted version: 1.0.0
  • Browser: Chrome

Make Sidebar scrollable for small desktop screens

I am not able to access most of the button elements in the sidebar which I think should be scrollable to solve this issue:
image

I have tried to solve this issue by setting sidebar's max-height to calc(100vh - 50px) and making it scrollable. alongside some styling I came to two solutions:

  1. Green scrollbar (primary-a) chrome-capture-2024-5-9

  2. Scrollable but hidden scrollbar
    chrome-capture-2024-5-9 (1)

I am no designer. Just tried to do my best. If you approve one of these options please let me open a pull request. Here is my repo if you want to test: https://github.com/AbdullahAleiti/stacksorted.

Simpler Submissions

It might be worth considering simplifying the submission method from gh PR -> form on web-page.

Regarding Submissions

Do you still accept submissions?
I ask this because I made one for the resend cube scene https://codepen.io/stranger1586/full/RwvjmdW that I feel (perhaps wrongfully) looks close enough to the original to be accepted, I plan on making even more submissions, but I wont if they are not even going to be reviewed.
I know this isn't really the place to discuss this, but there exists no other forum to discuss such matters.

New Category: Dropdowns

So I wanted to add a dropdown to the website, but there wasn't any category for it. I don't even know if this is considered 'dropdown' or 'faq section' or something. Here's an example (the plus icon animation is simple but so cool):
dropdown

This could also include dropdowns in the header section as well. Would be a cool addition. What do you think?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.