-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1618418
commit 4c8d393
Showing
6 changed files
with
39 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,18 @@ | ||
import React from 'react' | ||
import { Box, Grid } from '@mui/material' | ||
import { Box, Grid, Typography } from '@mui/material' | ||
|
||
import InformationChip from '../components/Chip/InformationChip' | ||
import styles from '../styles' | ||
|
||
const InventionDisclosurePage = () => { | ||
const { formStyles } = styles | ||
|
||
return ( | ||
<Box sx={formStyles.formWrapper}> | ||
<Grid container> | ||
<InformationChip | ||
title='Invention Disclosure' | ||
label='disclosure' | ||
link='/invention_disclosure' | ||
/> | ||
</Grid> | ||
</Box> | ||
) | ||
} | ||
const InventionDisclosurePage = () => ( | ||
<Box> | ||
<Grid container> | ||
<InformationChip | ||
title='Invention Disclosure' | ||
label='disclosure' | ||
link='/invention_disclosure' | ||
/> | ||
</Grid> | ||
<Typography variant='h2'>Hej</Typography> | ||
</Box> | ||
) | ||
export default InventionDisclosurePage |
14 changes: 14 additions & 0 deletions
14
src/server/db/migrations/20240318_00_add_preffered_faculty_to_user.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { DataTypes } from 'sequelize' | ||
|
||
import { Migration } from '../connection' | ||
|
||
export const up: Migration = async ({ context: queryInterface }) => { | ||
await queryInterface.addColumn('users', 'preferred_faculty', { | ||
type: DataTypes.STRING, | ||
allowNull: true, | ||
}) | ||
} | ||
|
||
export const down: Migration = async ({ context: queryInterface }) => { | ||
await queryInterface.removeColumn('users', 'preferred_faculty') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters