update: add "Suggest skill/role" link

This commit is contained in:
MTG2000
2022-09-01 16:51:08 +03:00
parent 24d96addbf
commit 3aff7d4289
4 changed files with 243 additions and 129 deletions

View File

@@ -7,6 +7,9 @@ const { getDirectUploadUrl } = require('../../services/imageUpload.service')
const { prisma } = require('../../prisma')
const postUploadImageUrl = async (req, res) => {
return res.status(404).send("This api is in progress");
const userPubKey = await extractKeyFromCookie(req.headers.cookie ?? req.headers.Cookie)
const user = await getUserByPubKey(userPubKey)

365
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,7 +9,7 @@ import { WalletKeyType } from './LinkedAccountsCard'
import { useAppDispatch } from "src/utils/hooks";
import { openModal } from "src/redux/features/modals.slice";
import 'react-popper-tooltip/dist/styles.css';
import { usePopperTooltip } from 'react-popper-tooltip';
import { usePopperTooltip } from 'react-popper-tooltip'
interface Props {
walletKey: WalletKeyType,

View File

@@ -44,6 +44,8 @@ export default function UpdateSkillsCard(props: Props) {
{idToValue.get(skill.id)?.title} <button className='ml-8' onClick={() => remove(skill.id)}><GrClose /></button>
</li>)}
</ul>}
<p className="text-body5 text-gray-400 pt-16 mt-32 border-t-2 border-gray-200"> Can't find a specific skill/role that you think should be here? You can ask for it to be added <a href="https://github.com/peakshift/makers.bolt.fun/discussions/143" target='_blank' rel="noreferrer" className='font-bold underline'>here</a> </p>
</Card>
)
}