Skip to content

Commit

Permalink
feat: add profile label service
Browse files Browse the repository at this point in the history
  • Loading branch information
benfurber committed Oct 11, 2024
1 parent 890c92e commit 538d7cf
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions src/services/user.service.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
interface ProfileLabel {
label: string
slug: string
primaryColor?: string
secondardColor?: string
extraInfo?: string
}

const getProfileLabels: () => ProfileLabel[] = () => {
const machines = [
{
label: 'Electronics',
slug: 'electronics',
primaryColor: '#F29195',
secondaryColor: '#F8C8CA',
},
{
label: 'Machining',
slug: 'machining',
primaryColor: '#F29195',
secondaryColor: '#F8C8CA',
},
{
label: 'Welding',
slug: 'welding',
primaryColor: '#F29195',
secondaryColor: '#F8C8CA',
},
{
label: 'Assembling',
slug: 'assembling',
primaryColor: '#F29195',
secondaryColor: '#F8C8CA',
},
{
label: 'Mould Making',
slug: 'mould-making',
primaryColor: '#F29195',
secondaryColor: '#F8C8CA',
},
]
return machines
}

export const userService = {
getProfileLabels,
}

0 comments on commit 538d7cf

Please sign in to comment.