Skip to content
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

Feature/609 ny startside med info fra browseit mm #616

Merged
merged 4 commits into from
Oct 22, 2024

Conversation

karo
Copy link
Collaborator

@karo karo commented Oct 8, 2024

Har lagt inn alt jeg kommer på av nyttige lenker uten å tenke på kategorisering og styling, for å ha noe å teste med.
Laster inn lenkene fra egne Markdown. På sikt skal disse bo et sted de kan oppdateres uten å måtte prodsette Folk
@@ -1,9 +1,10 @@
export { default as CompetencePage } from './competence/CompetencePage'
export { default as CustomerPage } from './customer/CustomerPage'
export { default as CustomerSitePage } from './customer/CustomerSitePage'
export { default as DebugPage } from './other/DebugPage'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flyttet så de ligger alfabetisk

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Liker det

const [otherMD, setOtherMD] = useState('')

useEffect(() => {
fetch('/markdown/Administration.md')
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vi bør etterhvert få henta .md filene fra et annet sted, sånn at de kan oppdateres uten å ha github kompetanse

@@ -22,7 +22,7 @@ export default function LoginLogoutButton() {
},
})

navigate('/ansatte', { replace: true })
navigate('/start', { replace: true })
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kunne denne bare gått til '/' (sida den uansett forwarder til '/start'), så slipper vi flytte den på nytt dersom vi en dag skulle gjøre nye endringer på landingsside?

@rauboti
Copy link
Collaborator

rauboti commented Oct 15, 2024

Uten at det er et hinder av noe slag; burde rekkefølga i markdown-filene vært hakket mer konsistent, slik at de er enklere å redigere? Tenker da på lenkene som er lista opp under. Burde de enten ha samme rekkefølge som overskriftene, eller (hvis ikke det) alfabetisk?

@rauboti rauboti self-requested a review October 22, 2024 07:26
@karo karo merged commit c8c3694 into master Oct 22, 2024
2 checks passed
@karo karo linked an issue Oct 28, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ny startside i Folk
2 participants