Skip to content

reddesignsguy/wingsuitworld-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React NodeJS Express.js MySQL Auth0 Docker style: styled-components JavaScript Figma Lua Visual Studio Code Roblox

wingsuitworld-tracker

Demo

1. Video:

Video Demo for Wingssuit World Tracker

2. Video Epilogue: Bar at top of page alerts you if you've claimed a profile already

Screenshot 2023-12-27 at 6 56 55 PM

System Design

image

Notes:

  • mobile first
  • useReact
  • useState
  • variable scoping

8/30

  • player-page__flexbox: Switched from flexbox to grid solution
  • grid controls width of children regardless of size of the content

SVG pain

  • had 3 layers, wanted them to overlap
  • tried doing it thru code, was messy bc. required position:absolute, which is hard to manage in a responsive app
  • decided to combine all the layers into 1 svg using InkScape, surprisingly, really hard to find a site that effortlessly does this
  • tried using the 1 svg file, but react did not not support it cuz it has "namespace" or something to do with not being able to interpret xmlns, but using https://jakearchibald.github.io/svgomg/, we're able to remove those tags and react is able to interpret it

9/2

  • Faced multiple problems with NAME and RANK texts

The font-size and positioning had to be adjusted responsively. The responsiveness for the two texts was originally handled separately, which added unnecessary complexity. The solution was to use a grid that would essentially bind the two texts together (to the best that grid can). With this, I essentially could focus on handling the responsiveness for one class, i.e: the grid, PLUS I wouldn't have to worry about making sure that the texts were close to each other as the screen got smaller. There were a few nuances like adjusting the responsiveness of the line height, but other than that, the intro section is now responsive.

The results: test https://gyazo.com/862f3b793a8a2864ce2dad0bcb47298d

  • Responsive grid for maps without using media queries -> the columns are calculated using repeat(auto-fit, minmax(200px, (some_value)vh)

(Badges by https://github.com/a11y-badges/a11y-markdown-badges and https://github.com/Ileriayo/markdown-badges)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published