Skip to content

Commit

Permalink
feat: add mui and create simple SalaryHappinessTool
Browse files Browse the repository at this point in the history
  • Loading branch information
martapanc-resourcify committed Jun 12, 2023
1 parent 0b5d383 commit 69e5352
Show file tree
Hide file tree
Showing 5 changed files with 329 additions and 13 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
"build-storybook": "storybook build"
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/material": "^5.13.5",
"clsx": "^1.2.1",
"inquirer-fuzzy-path": "^2.3.0",
"next": "^13.4.4",
Expand Down
File renamed without changes.
22 changes: 22 additions & 0 deletions src/components/recruiter-info/SalaryHappinessTool.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { Box, Slider } from '@mui/material';
import * as React from 'react';

export default function SalaryHappinessTool() {
const min = 50;
const max = 150;
const defaultValue = 65;

return (
<Box width={300}>
<h3>Salary Happiness Tool</h3>

<Slider
defaultValue={defaultValue}
min={min}
max={max}
aria-label='Default'
valueLabelDisplay='auto'
/>
</Box>
);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Meta, StoryObj } from '@storybook/react';

import SalaryHappinessTool from '@/components/recruiter-info/SalaryHappinessTool';

const meta: Meta<typeof SalaryHappinessTool> = {
title: 'Components/Recruiter-Info/SalaryHappinessTool',
component: SalaryHappinessTool,
tags: ['autodocs'],
};

export default meta;

type Story = StoryObj<typeof SalaryHappinessTool>;

export const Euros: Story = {};
Loading

0 comments on commit 69e5352

Please sign in to comment.