Pjaijai/Referalah

[Profile] Should allow multiple link for user

Opened this issue · 1 comments

Currently only one link for user. We can provide flexibility for them like adding multiple link such as ig, twitter, github, portfolio.

Tech:
Backend:
May be creating a table called user_social_media_url with column:
id : integer unique
type : vacha/text. value : 'instagram', 'x' (twitter), 'github', 'portfolio', 'other'
user_uuid : user uuid

Frontend:
Form: For react hook form, i propose using useFieldArry. they should input type and url. No duplicate types allow (open to discussion)

Open to any ideas