-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Events #223
Merged
Merged
Events #223
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
85a8663
dynamic linking
Hannah-Sofie ddf6008
added individual event page
Hannah-Sofie 4728f6c
Added explicit type for the text parameter and the function return type
Hannah-Sofie a1e5247
fixed naming on the event pages to something more descriptive
Hannah-Sofie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import EventPage from '@/components/events/eventPage'; | ||
|
||
const Event8Page = () => { | ||
return <EventPage eventId='8' />; | ||
}; | ||
|
||
export default Event8Page; |
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,7 @@ | ||
import EventPage from '@/components/events/eventPage'; | ||
|
||
const Event3Page = () => { | ||
return <EventPage eventId='3' />; | ||
}; | ||
|
||
export default Event3Page; |
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,7 @@ | ||
import EventPage from '@/components/events/eventPage'; | ||
|
||
const Event1Page = () => { | ||
return <EventPage eventId='1' />; | ||
}; | ||
|
||
export default Event1Page; |
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,7 @@ | ||
import EventPage from '@/components/events/eventPage'; | ||
|
||
const Event2Page = () => { | ||
return <EventPage eventId='2' />; | ||
}; | ||
|
||
export default Event2Page; |
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,7 @@ | ||
import EventPage from '@/components/events/eventPage'; | ||
|
||
const Event4Page = () => { | ||
return <EventPage eventId='4' />; | ||
}; | ||
|
||
export default Event4Page; |
7 changes: 7 additions & 0 deletions
7
app/(site)/alle-arrangementer/hvordan-starte-bedrift-fra-a-til-aa/page.tsx
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,7 @@ | ||
import EventPage from '@/components/events/eventPage'; | ||
|
||
const Event5Page = () => { | ||
return <EventPage eventId='5' />; | ||
}; | ||
|
||
export default Event5Page; |
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,7 @@ | ||
import EventPage from '@/components/events/eventPage'; | ||
|
||
const Event6Page = () => { | ||
return <EventPage eventId='6' />; | ||
}; | ||
|
||
export default Event6Page; |
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,7 @@ | ||
import EventPage from '@/components/events/eventPage'; | ||
|
||
const Event7Page = () => { | ||
return <EventPage eventId='7' />; | ||
}; | ||
|
||
export default Event7Page; |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import Link from 'next/link'; | ||
import { FC } from 'react'; | ||
|
||
interface GoToButtonProps { | ||
label: string; | ||
href: string; | ||
className?: string; | ||
} | ||
|
||
const GoToButton: FC<GoToButtonProps> = ({ label, href, className = '' }) => { | ||
return ( | ||
<Link | ||
href={href} | ||
passHref | ||
className={`inline-flex justify-center items-center py-3 px-5 text-base font-medium text-center text-white rounded-lg bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-900' ${className}`}> | ||
{label} | ||
<svg xmlns='http://www.w3.org/2000/svg' className='h-6 w-6 inline-block ml-2' fill='currentColor' viewBox='0 0 20 20'> | ||
<path | ||
fillRule='evenodd' | ||
d='M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z' | ||
clipRule='evenodd' | ||
/> | ||
</svg> | ||
</Link> | ||
); | ||
}; | ||
|
||
export default GoToButton; |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Hannah-Sofie Here you can change the name to MotEnGrunderPage or something descriptive. This goes for all pages.