Code Monkey home page Code Monkey logo

links's Introduction

Phantom Links

Page

phantom-links.netlify.app

Design

  • The app is built with Vite, React, Typescript and Stitches
  • Logic is separated in components, services and utils
    • Services hold the business logic and serve as a place to store data and state
  • Links that are submitted by the user will be processed in the SubmissionService. It exposes an add, edit and delete function and handles validation internally
  • For every link a custom icon is crated based on the url
    • A pseudo random number generator is used to generate paramters like color, rotation and position. This means that given the same seed the same icon can be reproduced, which will guarantee a consitent appearance even whenn reloading the page
    • The concept could be expanded to include animation and more variation as well

Limitations

  • As there are no backend technologies used, all saving and validating data will synchronous. If we introduce a database we will also have to deal with asynchronous functions for add/edit/delete
  • Since it's not possible to check if a url really exists a lot of invalid data can be entered (eg.: jsdhgkj.hd ) and we can only check if the structure is correct
  • Right now for common components there are only enough variants to satisfy the current design. If this was a real app there would need to be more effort put into creating variants for Buttons, Text, Headline and so on
  • As the content is overwhelmingly dynamic data no meta framework is used. If there was more static data it would probably make more sense to use one

links's People

Contributors

maximilianberndt avatar

Watchers

 avatar

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.