Giter VIP home page Giter VIP logo

website's Introduction

thenewboston logo

This repository contains the source code and documentation for thenewboston.com website.

screenshot of website

Website Status Activity GitHub Issues Contributors License

Table of Contents

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

To start with, you can always check the open issues in this repository. You can filter these issues using the labels and find the ones that suit your domain.

All issues that have the PR Reward label are ready to be worked upon and specify the amount of coins to be transferred to the account of the person who solves that issue.

If you discover a new issue that is not yet reported, please open the same before working on it. People who discover bugs will be rewarded with the amount of coins specified by the Bug Bounty Owed labels.

Please avoid working on issues that have the Not Ready label on them.

The reward labels will be assigned to issues by the core team members based on certain parameters. If you want to create an issue with a design suggestion, please do it in the design repository.

Every PR must be connected to an issue, so as stated above, before creating a PR, please raise an issue and reference it in the PR.

Before starting, add a comment to let others know that you'll be working on that issue.

It is strictly advised to create a single PR per issue. In any case, where two or more issues have the same root cause, you can club them in a single PR, otherwise, refrain from doing so.

Also, while working make sure you follow these guidelines:

Next steps:

  1. Fork the project
  2. Create your feature branch
  3. Run npm run lint and make sure you have no errors
  4. Commit your changes
  5. Push to the branch
  6. Open a pull request

For further help, you can check out the FAQs.

Finally, feel free to shoot any queries or suggestions. Don't hesitate. ;)

Getting Started

After cloning the repo, run the following command to install the project dependencies:

npm install

Then to run the code, run the following command:

npm start

Community

Join the community to stay updated on the most recent developments, project roadmaps, and random discussions about completely unrelated topics.

Donate

All donations will go to thenewboston to help fund the team to continue to develop the community and create new content.

Coin Address
thenewboston Logo b6e21072b6ba2eae6f78bc3ade17f6a561fa4582d5494a5120617f2027d38797
Bitcoin Logo 3GZYi3w3BXQfyb868K2phHjrS4i8LooaHh
Ethereum Logo 0x0E38e2a838F0B20872E5Ff55c82c2EE7509e6d4A

License

thenewboston is MIT licensed.

website's People

Contributors

aayushi14 avatar adarshkr01 avatar amarjeet987 avatar amrouf avatar angle943 avatar avinashupadhya99 avatar brmendez avatar buckyroberts avatar colfax23 avatar denistsoi avatar ducphamtv avatar fonar avatar germavinsmoke avatar hasham56 avatar hristijan95 avatar hussu010 avatar imgbot[bot] avatar itsnikhil avatar jamessspanggg avatar lakbychance avatar manishram avatar nparoski avatar paul-taiwo avatar rajputusman avatar singh-sarabjeet avatar thesanjeevsharma avatar tomijaga avatar velibor7 avatar vincenthch avatar wakawakathedev 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  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

website's Issues

Navigation design tweaks

  • the font weight for the top nav and the guide/api side menu should be Medium
  • font size for the top nav & side menu 16px
  • the link color is Sail Blue 500 #556CD6, 16px, Medium weight

Screen Shot 2020-08-09 at 4 32 55 PM

Responsive left menu

Early analytics are showing that the majority of the users are coming in from mobile.

Screen Shot 2020-07-13 at 4 40 04 PM

Screen Shot 2020-07-13 at 4 37 54 PM

Landing Page responsiveness

  • Pngs of the app remain the same size (are not squishy), whether user is on desktop or mobile.
  • When pngs of app wrap to the bottom of the title & paragraph, please make sure it is 12px away from the left of the site. (So we see the most of the app png)
  • Paragraphs & title on (instant transactions sections) are a max width of 480px.
  • View Guide button comes after the 2nd paragraph (instant transaction section)
  • Update app pngs with newer pngs attached to this ticket.

Landing Page
https://www.figma.com/file/ChyT88EmP2Rmzx35I9erCL/Marketing-Site?node-id=6%3A0

Marketing Site PNG.zip
Send Points Modal
Full Data

Leaderboard and Tasks Repository Filter URLs

On the /leaderboard and the /tasks pages, when filtering by repository the name of the repository should be included in the URL. For example:

  • /leaderboard/Account-Manager
  • /leaderboard/Bank
  • etc...

This will help us track which are the most commonly used filters in Google Analytics and later allow us to improve the UX by moving the more common filters to the top.

When there is no repository name in the URL (just /leaderboard or /tasks) it will imply to filter "All". When the repository name is unknown (user types something into the URL manually) then display the empty page UI.

Screen Shot 2020-09-20 at 8 26 38 PM

Update Marketing Site Landing Page

Update Marketing Site Landing Page elements/layout

  • Update newboston logo
  • Contributors, Developers, Roadmap will now be top nav
  • Clicking on thenewboston logo will return user back to Landing Page
  • Clicking Developers will link users to all the documentation, 'Guide, Bank API, Primary Validator API, etc...'
  • Copy text directly from mocks
  • Make slack & github buttons both 114px width
  • Include slack & github logos inside buttons
  • Send Points image has a dropshadow of X: 15, Y: 15, Blur: 40, Hex #: 042235, Opacity: 25%
  • In-App 'Banks' image has a dropshadow of X: 0, Y: 15, Blur: 40, Hex #: 042235, Opacity: 25%
  • Kill Roboto, please use Helvetica Neue for all text on marketing site
  • Please make sure to use thenewboston logo inside the 'View Guide' button

Update Colors:

  • Background color 1: #F6F9FC
  • Background color 2: #131F41
  • ALL text color: #042235
  • Secondary button color: #C1C9D2
  • Primary button color: #042235

Figma

https://www.figma.com/file/ChyT88EmP2Rmzx35I9erCL/Marketing-Site?node-id=6%3A0

Screen Shot 2020-07-19 at 12 03 54 PM

Splitting of Developers page into Guide & APIs

For this ticket, no need to worry about responsive nor stylistic changes. This ticket will only focus on splitting the links.

We will now split the Developers page into 2 links to make it easier for everyone to view the docs.

  • 1 for Guides
  • 1 for APIs

Acceptance Criteria

  • Just to reiterate, For this ticket, no need to worry about responsive nor stylistic changes. This ticket will only focus on splitting the links.

  • Split Dev page into Guide & APIs

  • Change top nav link title from Developers to Guide

  • Please have a page specifically for Guide menu only (all other API menu will now belong in the API page)

  • Add another top nav link called APIs

  • Please have a page specifically for Bank API, PV API, CV API, and Deployment Guide

  • Order of top nav from left to right will now be Contribute, Guide, APIs, Roadmap

Guides
https://www.figma.com/file/ChyT88EmP2Rmzx35I9erCL/Marketing-Site?node-id=55%3A0

APIs
https://www.figma.com/file/ChyT88EmP2Rmzx35I9erCL/Marketing-Site?node-id=181%3A462

Engineering Notes

  1. We currently only have one component for the LeftMenu (components/Layout/LeftMenu). Split this up into LeftMenuGuide and LeftMenuApi
  2. Currently the component components/Layout/LayoutDashboard does not have the ability to render different forms of the LeftMenu. have the LayoutDashboard receive a prop that will dictate which LeftMenu it will render, something like:
    Screen Shot 2020-07-26 at 7 03 17 PM

Create roadmap component

Create roadmap component where we can:

  • have teams (to group tasks)
  • assign tasks to teams
  • each task will be on it's own row (not multiple colors/tasks on the same row like in the diagram)
  • in the colored rectangle area, there will be no text (since the task text will be on the left)
  • ensure each teams tasks share a similar color
  • set a range of 0-4 on the tasks to represent the Q1-Q4 range

Date values:

  • 0 = beginning of Q1 (beginning of January)
  • 1 = end of Q1
  • 4 = end of Q4 (end of December)

Notes:

  • this component is simply the UI element only. the data will be static, there is no interaction needed (no adding tasks, deleting tasks interactions, etc...)

Roadmap component will be displayed here: https://thenewboston.com/roadmap

RoadmapUI 47f808b2

{
  "Account Manager": {
    "1": {
      "task_name": "Create roadmap page",
      "task_range": {
        "start": 1.3,
        "stop": 1.6
      }
    },
    "2": {
      "task_name": "Update deployment guide",
      "task_range": {
        "start": 2.1,
        "stop": 2.7
      }
    }
  },
  "Bank": {
    "1": {
      "task_name": "Create roadmap page",
      "task_range": {
        "start": 1.8,
        "stop": 2.9
      }
    },
    "2": {
      "task_name": "Write tests",
      "task_range": {
        "start": 3.1,
        "stop": 3.4
      }
    }
  }
}

Update Download Page

  • Use tab interaction to display each Windows, Mac, and Linux download button & installation instruction
  • Include text content of latest version, right aligned to the end of the line
  • Include name of Windows, Mac, or Linux in the download button in their dedicated tab. (For example 'Download for Windows'.
  • Include installation instructions below per tab.

Installation Instructions text for Windows:

  1. Download thenewboston
  2. Click on the downloaded file
  3. You will get a modal that says ‘Windows protected your PC’. Click More info
  4. Then click Run anyway

Installation Instructions text for Mac:

  1. Download thenewboston
  2. Click on the downloaded file
  3. Drag and drop the app to the Applications folder
  4. Open the app

Installation Instructions text for Linux:

  1. Download thenewboston
  2. To run thenewboston, make it executable
    ($ sudo chmod a+x TNB-Account-Manager-1.0.0-alpha.20-linux*.AppImage)
  3. Run!
    ($ ./TNB-Account-Manager-1.0.0-alpha.20-linux*.AppImage)

https://www.figma.com/file/ChyT88EmP2Rmzx35I9erCL/Marketing-Site?node-id=500%3A1096

[BUG] Scrolling freezes on Safari

I've been reading the documentation on thenewboston.com and I've noticed that the scrolling freezes from time to time.
I scroll, then I stop to read a paragraph for example and when I try to scroll some more, I can't, I try scrolling up/down multiple times and after a 3-4 seconds it unfreezes and it instantly scroll to the last scroll you've entered.

I tried hard to find a reproducing scenario, but I can't, it's super random.
I didn't test in details on other browsers, but I wasn't able to reproduce it on Chrome (at least in the time I've tried)
My Safari version is: 13.1.1 (15609.2.9.1.2)

Add Basic Leaderboard Page

Add a basic leaderboard page to the website. Hi-Fi will come later, so for now only include basic designs and logic.

APIs page responsiveness

  • For Guide & APIs pages, we will now have a max width of 720px specifically for the written information.
  • Breakpoint of 768px, can still fit 720px information.
  • Marketing Site itself will always have left and right padding of 12px.
  • Once 768px breakpoint is reached, the side menu will truncate into a dropdown menu under the top nav.
  • If API page titles get too long on mobile, please use ellipses. (...)

APIs
https://www.figma.com/file/ChyT88EmP2Rmzx35I9erCL/Marketing-Site?node-id=181%3A462

Icons Used
icon.zip

Guide page Responsiveness

  • For Guide & APIs pages, we will now have a max width of 720px specifically for the written information.
  • Leave diagrams to be the same width they already are. (Bc some diagrams are best viewed past 720px width.)
  • Breakpoint of 768px, can still fit 720px information.
  • Marketing Site itself will always have left and right padding of 12px.
  • Once 768px breakpoint is reached, the side menu will truncate into a dropdown menu under the top nav.
  • If API page titles get too long on mobile, please use ellipses. (...)

Guide
https://www.figma.com/file/ChyT88EmP2Rmzx35I9erCL/Marketing-Site?node-id=55%3A0

Previous and Next Buttons

  • design "Previous" and "Next" buttons for docs pages so users do not have to open up the menu again to go to the next page on mobile
  • also note in design that on the first page, there will be no "Previous" (or it will be disabled) and on the last page there will be no "Next" (or it will be disabled)

Screen Shot 2020-07-17 at 4 02 26 PM

Mobile Left Menu

On mobile devices, the left menu should close after a link/menu item is clicked

HTML warnings

Go through each page and fix any HTML nesting warnings (usually with tables and lists)

Screen Shot 2020-07-18 at 11 44 15 AM

Update the Icon library to use `mdi-react` (hint, make it the same as the one in AccountManager Repo)

Currently, this repo uses material-icons font library to display icons. We want to update this to use SVGs (just like it is done in AccountManager)

  1. Install mdi-react and create a new component just like the one found in our website repo: https://github.com/thenewboston-developers/Account-Manager/tree/master/src/renderer/components/Icon

  2. update all occurrences of material-icons to use the newly added Icon component.

  3. Erase/uninstall all traces of material-icons

Resources: you can find the name of the icons here: https://github.com/thenewboston-developers/Account-Manager/tree/master/src/renderer/components/Icon

Page scroll problem

Everytime a menu item is clicked, the new content that gets loaded does not begin from top. Instead, the page is scrolled as far as the previous page was scrolled. The content needs to be loaded from the top.

Left-Sidebar

If sidebar navigation overlaps the content instead of sliding it then it will look better I think because in mobile it totally slides the content. Or one option can be it should take up the whole width in the mobile device.

We can achieve the overlap thing by position: absolute and some height. And on the click of hamburger changing display or width property.

image

To make the navbar width:100% and on the click of hamburger changing display or width property.

image

In both the cases, I have given some top margin to the sidebar as thenewboston logo should be visible.

Left menu logic/design

This issue is in reference to these discussions:

We first need to do a bit of research on how best to handle the left menu first. I can see the scenario where the user is reading through the guide or API docs and they want to keep the left menu open as they click between pages which I feel is ideal. But I also see how when user is on mobile that that would want to auto-close the left menu when they click since it covers up the content on smaller devices. So if that’s the logic, then we need to figure out the best placement for the hamburger toggle as well. So just some research and design needed first before we can start building a solution.

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.