Giter Site home page Giter Site logo

fitness-accountability's Introduction

Fitness-Accountability @ #FitDevs

Quick Introduction

Quick access index

Step 1 - Creating a JSON file
Step 2 - Inputting information in the JSON file
Step 3 - Committing the file
Step 4 - Create a pull request

Step 1 - Creating a JSON file

First, click on the data folder of this repository

image

Then, create a new file by clicking Add file and then Create new file

image

image

Then, name the new file as your Github username followed by .json such as win21H2.json

↑ Go to top ↑

Step 2 - Inputting information in the JSON file

In the file you just made, copy and paste the template:

{
  "name": "",
  "url": "",
  "image": "",
  "why": "",
  "weekly": [],
  "goal": "",
  "location": ""
}

and fill out the information with the help of the below notes

  • Name: You can use your github name, actual name, or a pseudonym!
  • Url: Please insert Github link here, we will expand the user json files to include socials in the future
  • Image: You can use any appropriate profile image here (make sure it is a valid image URL e.g. https://github.com/win21H2.png)
  • Why: Please write down your reason why you have joined the #FitDevs community!
  • Weekly: Your goals for fitness, can be food/exercise/mental/emotional, whatever fitness means to YOU

    Such as the below
["Running 6x", "Abs 6x", "Pushups 6x"]

or

["Drinking 500ml Water 3/day", "Meatless Mondays 2x/month", "Sleeping 7h 6/week"]

Please make sure to use commas in between each goal otherwise it would break the JSON file

  • Goal: What is your overarching goal?
  • Location: Be as vague or as specific as you would like to

A full example below:

image

↑ Go to top ↑

Step 3 - Committing the file

Make sure that before you click the Propose new file button, that you have made the below changes:

  • Fill out the title, this can just be Create [USERNAME].json
  • Fill out a summary, this can just be Added information to my JSON file
  • Create a new branch and name it something like [USERNAME]-my-card and start a pull request by clicking the Propose new file button.

    image

↑ Go to top ↑

Step 4 - Create a pull request

By now, you should be brought to a new page, click the green Create pull request button and if everything works, it should look like the last image. Congrats! you have just created your own "card" which will manually be reviewed by a member of the Github team and will be merged! Once your pull request has beeen merged, you will be able to see it on the main website.

image

image

Find this example in this sample pull request

If there are any issues such as ones related to this guide, please create an issue and we will try to fix it as fast as possible!

Thanks,
The #FitDevs GitHub team

↑ Go to top ↑

fitness-accountability's People

Contributors

afoxbr avatar amelia2802 avatar aparna2071 avatar cahllagerfeld avatar carlosepicsounds avatar codingcomrade avatar eddiejaoude avatar emilyjspencer avatar francescoxx avatar gandhiv88 avatar haideralipunjabi avatar hikari7 avatar janet-dev avatar joelsantos-js avatar joshuahallee avatar jp-sdev avatar katalystkat avatar khazifire avatar lorenzejay avatar lovethtee avatar micahbear avatar nathyg2524 avatar omer-cakmak avatar pratishshrivastava avatar redxzeta avatar shivam-katare avatar shrutikmhatre avatar the-lazy-learner avatar win21h2 avatar yusufthetechie 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

Watchers

 avatar  avatar

fitness-accountability's Issues

[FEATURE] Use `JSON` Files to render webpage

The JSON-Files can be used to pass in data to an actual website.
As the data are static (at least for now), we can leverage SSG, which would also enable us to host the page on Github Pages for now.

There are a few Static-Site-Generators out there, I'd suggest going with Next.js as the adoption rate of React & Next.js is quite high.

Guide for a JSON file

Making a JSON can at times be a bit complicated. So we can add a Guide to make a .json file in the documentation section.

Change to using Next/Image requires a width or height if not using layout `fill`

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [Version 104.0.5112.79 (Official Build) (arm64)]

Using next/image has introduced a problem

Describe the bug

1st Issue

The first issue is the Next/Image component requires the width and height properties.
Screenshot 2022-08-15 214839

2nd Issue

When clicking into a profile, Next/Image component requires that you define the hostname of a given src in the images.domains config in next.config.js, the problem with this is that if a user wants to use an image from an alternate source like their personal website, or twitter or FB, you would need to add that hostname into the config, so there is a huge restriction placed when using this component. https://nextjs.org/docs/messages/next-image-unconfigured-host

Screenshot 2022-08-15 221205
https://nextjs.org/docs/messages/next-image-unconfigured-host

To Reproduce
Steps to reproduce the behavior:

  1. Go to the landing page
  2. Click on a profile

Expected behavior
The page should load.

Proposed solution

Revert the element back to img, there is a eslint warning which states to either use the next/image component or to use in conjunction with element:

https://nextjs.org/docs/messages/no-img-element

Add License

Maybe, we could add a permissive license and a code of conduct among other things?

Suggestion: Environment setup

Might be worth mentioning how to set up the application and run it in the README along with links to the documentation

and helpful extensions ie vscode: tailwindcss intellisense , prettier, etc

Viewport is missing

The display scaling of the website doesn't look right on mobile phones. I checked the code, the index.html is missing the viewport meta tag. I believe that's what is causing this problem:

Screenshot_2022-07-26-00-27-44-724_com.android.chrome.jpg

Location Emoji not rendering on some devices

This emoji 📍 , won't render on devices that don't have support for emojis. I will recommend adding an emoji font like Noto Emoji. If someone has better suggestions for the emoji font, something with coloured emojis and open source preferably, please recommend them.
2022-07-26-172157_1555x150_scrot

Suggestion: Order by first name

Doesn't look like the list is ordered alphabetically (at least by first name). Not sure if this is intentional but it would be good to default it to sort by first name initially.

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.