Compare commits
No commits in common. "d2fd445a1de84238f5608fbb7f651f061a6f026d" and "baf3aff44be49533a9e458b72b6043d828755875" have entirely different histories.
d2fd445a1d
...
baf3aff44b
@ -63,7 +63,7 @@ function App() {
|
||||
|
||||
|
||||
const fieldDaysRoutes = languages.map(lang => {
|
||||
const dates = ['20231111', '20231230', '20240121', '20241101', '20250118'];
|
||||
const dates = ['20231111', '20231230', '20240121'];
|
||||
return dates.map(date => {
|
||||
const path = `/${lang}/radio/fielddays/${date}`;
|
||||
const mdPath = `Radio/fielddays/${lang}/${date}.md`;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import Breadcrumbs from '../../../UI/Breadcrumbs';
|
||||
import MarkdownPage from '../../markdownPage';
|
||||
import Breadcrumbs from '../../../UI/Breadcrumbs'
|
||||
import MarkdownPage from '../../markdownPage'
|
||||
|
||||
const Fieldday = ({ mdPath }) => {
|
||||
return (
|
||||
|
||||
@ -1,29 +1,5 @@
|
||||
{
|
||||
"fielddays": [
|
||||
{
|
||||
"date": "2025-01-18",
|
||||
"name": "Stiphoutse bossen, Kievitlaan",
|
||||
"identifier-wwff": "",
|
||||
"identifier-pota": "NL-0233",
|
||||
"modes": "SSB",
|
||||
"bands": "40m",
|
||||
"antenna": "Endfed",
|
||||
"transceiver": "Yaesu FT-897",
|
||||
"total-unique-qso": 14,
|
||||
"total-qso": 14
|
||||
},
|
||||
{
|
||||
"date": "2024-11-01",
|
||||
"name": "Stiphoutse bossen, Gerwenseweg",
|
||||
"identifier-wwff": "",
|
||||
"identifier-pota": "NL-0233",
|
||||
"modes": "SSB",
|
||||
"bands": "17m",
|
||||
"antenna": "Dipole",
|
||||
"transceiver": "Icom IC-7300",
|
||||
"total-unique-qso": 11,
|
||||
"total-qso": 11
|
||||
},
|
||||
{
|
||||
"date": "2024-01-21",
|
||||
"name": "De Groote Peel, Kokmeeuwenweg",
|
||||
|
||||
@ -3,7 +3,7 @@ import { Link } from 'react-router-dom';
|
||||
import fielddaysData from './fielddays.json';
|
||||
import { useTheme } from '../../../ThemeContext';
|
||||
import { getLanguage } from '../../../Language/Language';
|
||||
import { getString } from '../../../Language/LanguageStrings';
|
||||
import { getString } from '../../../Language/LanguageStrings'
|
||||
|
||||
const FielddaysTable = () => {
|
||||
const { theme } = useTheme();
|
||||
@ -26,6 +26,8 @@ const FielddaysTable = () => {
|
||||
);
|
||||
}
|
||||
|
||||
// Optimize to only show link column for the current language.
|
||||
// This also eliminates a column.
|
||||
return (
|
||||
<table className={'table table-striped table-hover table-' + theme}>
|
||||
<thead>
|
||||
|
||||
@ -8,7 +8,7 @@ import './Navigation.css';
|
||||
|
||||
function generatePath(language) {
|
||||
const currentPath = window.location.pathname;
|
||||
return `/${language}${currentPath.substring(currentPath.indexOf('/', 1))}`;
|
||||
return `/${language}${currentPath.substring(currentPath.indexOf('/', 1))}/`;
|
||||
}
|
||||
|
||||
const Navigation = () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user