Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/frontend/src/components/navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ const Navigation: React.FC = () => {
<StyledNavItem to="/settings" onClick={toggleMenu} isMobile={isMobile}>
{strings.navigation.settings}
</StyledNavItem>
<StyledNavItem to="/wiki" onClick={toggleMenu} isMobile={isMobile}>
{strings.navigation.wiki}
</StyledNavItem>
</>
)

Expand Down
1 change: 1 addition & 0 deletions packages/frontend/src/locales/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ const germanTranslation: Translation = {
dashhboard: 'Dashboard',
archive: 'Archiv',
settings: 'Einstellungen',
wiki: 'Wiki',
},
trainerReportOverview: {
todo: 'Es ist noch {count} Berichtsheft in Arbeit',
Expand Down
1 change: 1 addition & 0 deletions packages/frontend/src/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ const englishTranslation: Translation = {
dashhboard: 'Dashboard',
archive: 'Archive',
settings: 'Settings',
wiki: 'Wiki',
},
trainerReportOverview: {
todo: '{count} report is still in progress',
Expand Down
1 change: 1 addition & 0 deletions packages/frontend/src/locales/translation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ export default interface Translation {
dashhboard: string
archive: string
settings: string
wiki: string
}
trainerReportOverview: {
todo: string
Expand Down
13 changes: 13 additions & 0 deletions packages/frontend/src/pages/azubi-wiki-page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Template } from '../templates/template'

const AzubiWikiPage: React.FunctionComponent = () => {
return (
<>
<Template type="Main">
<div>WIKI</div>
</Template>
</>
)
}

export default AzubiWikiPage
2 changes: 2 additions & 0 deletions packages/frontend/src/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import SettingsPage from './pages/settings-page'
import SupportPage from './pages/support-page'
import TraineePage from './pages/trainee-page'
import TrainerReportsPage from './pages/trainer-reports-page'
import AzubiWikiPage from './pages/azubi-wiki-page'

type RoutesProps = {
currentUser?:
Expand Down Expand Up @@ -71,6 +72,7 @@ const AppRoutes: React.FunctionComponent<RoutesProps> = ({ currentUser }) => {
<Route path="/report/:year/:week" element={<ReportPage />} />
<Route path="/report/missing" element={<MissingPage />} />
<Route path="/alexa" element={<AlexaPage />} />
<Route path="/wiki" element={<AzubiWikiPage />} />
</>
) : (
<Route path="/" element={<OnboardingPage />} />
Expand Down