-
Notifications
You must be signed in to change notification settings - Fork 1
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
7071980
commit 3aa7afb
Showing
16 changed files
with
72 additions
and
8 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,3 +1,4 @@ | ||
/* @todo Should even scss be used? */ | ||
%container { | ||
margin: auto; | ||
width: 1140px; | ||
|
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,4 @@ | ||
/** | ||
* @todo Clean up this whole folder! | ||
* @body This folder has a multiude of components not required for anything. | ||
*/ |
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,4 @@ | ||
/** | ||
* @todo Add N4FGrant implementation | ||
* @body This page should be implemented according to the designs. | ||
*/ |
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,4 @@ | ||
/** | ||
* @todo Should this have content? | ||
* @body This component are not used for anything, maybe it should? Restructure? | ||
*/ |
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
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 |
---|---|---|
|
@@ -16,6 +16,10 @@ const StyledButton = styled(Button)` | |
max-width: 200px; | ||
`; | ||
|
||
/** | ||
* @todo Finish contact form implementation | ||
* @body This only submits, and it might be better to replace it with a more "gatsby native" functionality. | ||
*/ | ||
const contactUsFormEnhancer = withFormik({ | ||
displayName: 'ContactUs', | ||
// mapPropsToValues: props => ({ email: props.user.email }), | ||
|
@@ -26,7 +30,6 @@ const contactUsFormEnhancer = withFormik({ | |
}), | ||
handleSubmit: (values, { setSubmitting }) => { | ||
setTimeout(() => { | ||
|
||
alert(JSON.stringify(values, null, 2)); | ||
setSubmitting(false); | ||
}, 1000); | ||
|
@@ -86,19 +89,21 @@ const ContactUs = ({ | |
</Box> | ||
|
||
<MaxWidthBox> | ||
{/** | ||
* @todo Change to settings? | ||
* @body Should we utilize a API endpoint for information here? This would help _Sekreteriatet_ do changes without changing code. | ||
*/} | ||
<Text weight="bold"> | ||
Hyperion - Norsk Forbund For Fantastiske Fritidsinteresser | ||
</Text> | ||
<Text color="subTextSecond">Org. nr.: 984 302 320</Text> | ||
|
||
<Text color="subTextSecond" margin="15px 0 0"> | ||
Kolstadgata 1 | ||
0123 Oslo | ||
Kolstadgata 1 0123 Oslo | ||
</Text> | ||
|
||
<Text color="subTextSecond" margin="15px 0 15px"> | ||
Tlf.: 23 00 30 00 | ||
E-post: [email protected] | ||
Tlf.: 23 00 30 00 E-post: [email protected] | ||
</Text> | ||
|
||
<StyledButton label="Se vårt sekræteriat" /> | ||
|
@@ -108,4 +113,4 @@ const ContactUs = ({ | |
); | ||
}; | ||
|
||
export default contactUsFormEnhancer(ContactUs); | ||
export default contactUsFormEnhancer(ContactUs); |
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
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