Giter Site home page Giter Site logo

Comments (6)

choutkamartin avatar choutkamartin commented on August 21, 2024 2

@vltansky @nickatnight There are no disadvantages to use Next.js for single pages - I use it daily and love Next and other frameworks. Well, to some extent haha.

What I meant was if Dogecoin needs a new, bigger website - because there isn't much content right now on the website and I always thought of Doge as a playful cryptocurrency, so the website as right now feels OK to me.

But I do agree with your points, that if there will be more content in the upcoming months, we should probably look into rewriting the website.

Both Next and Tailwind would be a great idea. In my opinion, next-i18next can be a great addition as well, to include the translations we currently have. Data fetching and so can be a huge plus for some upcoming ideas if there will be any. We can even talk about integrated API routes Next offers.

For hosting GitHub Pages could be used as it is right now, Vercel or AWS.

The easiest way would be to kick off things in a simple repository and write a draft, basically 1:1 current site with an updated UI/UX and let the maintainers of this repository decide. Basically what @nickatnight is saying.

If the maintainers would be happy with it, I would gladly help with it further.

from dogecoin.com.

choutkamartin avatar choutkamartin commented on August 21, 2024 1

In my honest opinion, I get a better performance rating (97 - 98) in Lighthouse, and the issues are fixable in under 10 minutes, so I wouldn't be so sure if it's even worth it to use Next.js for a single page like this, HTML with a bit of JS is sufficient.

from dogecoin.com.

vltansky avatar vltansky commented on August 21, 2024 1

Yeah, but I do see advantages in maintaining a modern stack.
Will be much easier to develop new pages/features.
Easier to contribute - no need in complicated and outdated XAMPP.
Reusability of components, now there are few pages duplicating header, footer, etc. that can be maintained in one place instead.
Right now dogecoin loads jQuery + bootstrap CSS + Bootstrap JS (around 70 kb gzipped) using only a tiny part of it in another hand NextJS and Tailwind have tree shake & purge that will lead to a much smaller bundle size and as a result higher scores & performance out of the box.
@choutkamartin What are the disadvantages of using Next.js for a single page?

from dogecoin.com.

cluzier avatar cluzier commented on August 21, 2024

Yes, I agree that a rewrite would definitely improve web score and performance.

from dogecoin.com.

nickatnight avatar nickatnight commented on August 21, 2024

I think I agree with @vltansky on this. A few months ago, sure a single page with some standard bootstrap was sufficient. But over the last couple weeks with the amount of attention Doge has been receiving, we've added additional pages that duplicate a good portion of the code. The code base will start to get bloated here soon as the amount of contributions / feature requests increase, so maintainability will be something to consider.

Ultimately, it's up to the maintainers to decide if they want to move forward with a more modern framework. Since the project runs on GH pages, it's simple to deploy a single page static site. Although, I've never ran a GH pages site with Next.js etc. My suggestion would be to prototype something, deploy it to a GH pages environment, then link the demo site.

See this GH issue from February.

from dogecoin.com.

rexhinokovaci avatar rexhinokovaci commented on August 21, 2024

Yes definitely, it would look neat too.

from dogecoin.com.

Related Issues (20)

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.