Compare commits
2 Commits
73712cc41e
...
1b1318d43b
| Author | SHA1 | Date | |
|---|---|---|---|
| 1b1318d43b | |||
| d3c265cc49 |
@ -46,7 +46,7 @@ import EquipmentPage from './Pages/Radio/equipmentPage';
|
|||||||
import PlamoMain from './Pages/Plamo/PlamoMain'
|
import PlamoMain from './Pages/Plamo/PlamoMain'
|
||||||
|
|
||||||
import { languages, getLanguage } from './Language/Language';
|
import { languages, getLanguage } from './Language/Language';
|
||||||
import { japaneseRoutes, plamoBlogRoutes, plamoEquipmentRoutes, plamoShowcaseGundamRoutes, plamoShowcaseMilitairyAirplanesRoutes, programmingLanguageRoutes } from './Routers';
|
import { japaneseRoutes, plamoBlogRoutes, plamoEquipmentRoutes, plamoPaintRoutes, plamoShowcaseGundamRoutes, plamoShowcaseMilitairyAirplanesRoutes, programmingLanguageRoutes } from './Routers';
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
const language = getLanguage();
|
const language = getLanguage();
|
||||||
@ -131,6 +131,7 @@ function App() {
|
|||||||
{/* Plamo */}
|
{/* Plamo */}
|
||||||
{plamoBlogRoutes}
|
{plamoBlogRoutes}
|
||||||
{plamoEquipmentRoutes}
|
{plamoEquipmentRoutes}
|
||||||
|
{plamoPaintRoutes}
|
||||||
{plamoShowcaseGundamRoutes}
|
{plamoShowcaseGundamRoutes}
|
||||||
{plamoShowcaseMilitairyAirplanesRoutes}
|
{plamoShowcaseMilitairyAirplanesRoutes}
|
||||||
|
|
||||||
|
|||||||
@ -4,11 +4,16 @@ const languageStrings = {
|
|||||||
en: {
|
en: {
|
||||||
// Common
|
// Common
|
||||||
and: 'and',
|
and: 'and',
|
||||||
|
colour: 'colour',
|
||||||
copy: 'copy',
|
copy: 'copy',
|
||||||
date: 'date',
|
date: 'date',
|
||||||
hour: 'hour(s)',
|
hour: 'hour(s)',
|
||||||
|
identifier: 'identifier',
|
||||||
on: 'on',
|
on: 'on',
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
stock: 'stock',
|
||||||
|
total: 'total',
|
||||||
|
type: 'type',
|
||||||
// Titles
|
// Titles
|
||||||
japan: 'Japan',
|
japan: 'Japan',
|
||||||
japanese: 'Japanese',
|
japanese: 'Japanese',
|
||||||
@ -77,11 +82,16 @@ const languageStrings = {
|
|||||||
nl: {
|
nl: {
|
||||||
// Common
|
// Common
|
||||||
and: 'en',
|
and: 'en',
|
||||||
|
colour: 'kleur',
|
||||||
copy: 'kopieer',
|
copy: 'kopieer',
|
||||||
date: 'datum',
|
date: 'datum',
|
||||||
hour: 'uur',
|
hour: 'uur',
|
||||||
|
identifier: 'identificatiecode',
|
||||||
on: 'op',
|
on: 'op',
|
||||||
name: 'naam',
|
name: 'naam',
|
||||||
|
stock: 'voorraad',
|
||||||
|
total: 'totaal',
|
||||||
|
type: 'type',
|
||||||
// Titles
|
// Titles
|
||||||
japan: 'Japan',
|
japan: 'Japan',
|
||||||
japanese: 'Japans',
|
japanese: 'Japans',
|
||||||
|
|||||||
@ -969,11 +969,30 @@
|
|||||||
"comment": "",
|
"comment": "",
|
||||||
"published": false
|
"published": false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"page_name": "MiG-21F-13",
|
||||||
|
"model_name": "MiG-21F-13",
|
||||||
|
"details": "Mikoyan-Gurevich MiG-21F-13 interceptor",
|
||||||
|
"category": "Military airplanes",
|
||||||
|
"series": "",
|
||||||
|
"scale": "1/48",
|
||||||
|
"number": "82191",
|
||||||
|
"release": 2025,
|
||||||
|
"manufacturer": "Eduard",
|
||||||
|
"purchase_date": "2025-10-18",
|
||||||
|
"purchase_store": "SMC Tombola",
|
||||||
|
"purchase_venue": "SMC (Scale Model Challenge) 2025",
|
||||||
|
"purchase_location": "Veldhoven, Netherlands",
|
||||||
|
"purchase_price": "€10,00",
|
||||||
|
"completion_date": "",
|
||||||
|
"comment": "Won during the tombola at SMC. This model was brand new, not even released by the time I won it. Probably came directly from Eduard.",
|
||||||
|
"published": false
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"page_name": "US army Tractor VAI with Field compaction roller",
|
"page_name": "US army Tractor VAI with Field compaction roller",
|
||||||
"model_name": "US army Tractor VAI with Field compaction roller",
|
"model_name": "US army Tractor VAI with Field compaction roller",
|
||||||
"details": "2 kits edition, with Tractor VAC conversion included",
|
"details": "2 kits edition, with Tractor VAC conversion included",
|
||||||
"category": "Military airplanes",
|
"category": "Military vehicles",
|
||||||
"series": "",
|
"series": "",
|
||||||
"scale": "1/72",
|
"scale": "1/72",
|
||||||
"number": "72001",
|
"number": "72001",
|
||||||
@ -1006,6 +1025,44 @@
|
|||||||
"completion_date": "",
|
"completion_date": "",
|
||||||
"comment": "",
|
"comment": "",
|
||||||
"published": false
|
"published": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"page_name": "Gokou's Jet Buggy",
|
||||||
|
"model_name": "Gokou's Jet buggy",
|
||||||
|
"details": "Vol.4 Son Gokou's Jet buggy",
|
||||||
|
"category": "Other Mecha",
|
||||||
|
"series": "",
|
||||||
|
"scale": "No scale",
|
||||||
|
"number": "0216401",
|
||||||
|
"release": 2017,
|
||||||
|
"manufacturer": "Bandai",
|
||||||
|
"purchase_date": "2025-10-26",
|
||||||
|
"purchase_store": "TF Robots",
|
||||||
|
"purchase_venue": "Internet",
|
||||||
|
"purchase_location": "Bladel, Netherlands",
|
||||||
|
"purchase_price": "€10,99",
|
||||||
|
"completion_date": "",
|
||||||
|
"comment": "",
|
||||||
|
"published": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"page_name": "Lunch's One-wheel motorcycle",
|
||||||
|
"model_name": "Lunch's One-wheel motorcycle",
|
||||||
|
"details": "Vol.3 Lunch's One-wheel motorcycle",
|
||||||
|
"category": "Other Mecha",
|
||||||
|
"series": "",
|
||||||
|
"scale": "No scale",
|
||||||
|
"number": "0216394",
|
||||||
|
"release": 2017,
|
||||||
|
"manufacturer": "Bandai",
|
||||||
|
"purchase_date": "2025-10-26",
|
||||||
|
"purchase_store": "TF Robots",
|
||||||
|
"purchase_venue": "Internet",
|
||||||
|
"purchase_location": "Bladel, Netherlands",
|
||||||
|
"purchase_price": "€10,99",
|
||||||
|
"completion_date": "",
|
||||||
|
"comment": "",
|
||||||
|
"published": false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -16,6 +16,12 @@ Building and painting plastic scale models and mecha figures is one of my hobbie
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
### Paints
|
||||||
|
|
||||||
|
* [Paint collection](./paints)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
### Equipment
|
### Equipment
|
||||||
|
|
||||||
* [Airbrush booth](./equipment/airbrush-cabine)
|
* [Airbrush booth](./equipment/airbrush-cabine)
|
||||||
|
|||||||
@ -16,6 +16,12 @@ Het bouwen en schilderen van plastic schaalmodellen en mecha figuren is een hobb
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
### Verf
|
||||||
|
|
||||||
|
* [Verf collectie](./paints)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
### Gereedschappen
|
### Gereedschappen
|
||||||
|
|
||||||
* [Airbrush cabine](./equipment/airbrush-cabine)
|
* [Airbrush cabine](./equipment/airbrush-cabine)
|
||||||
|
|||||||
56
src/Pages/Plamo/paints/PaintsPage.js
Normal file
56
src/Pages/Plamo/paints/PaintsPage.js
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import Breadcrumbs from '../../../UI/Breadcrumbs';
|
||||||
|
import paintData from './paints.json';
|
||||||
|
import { useTheme } from '../../../ThemeContext';
|
||||||
|
import { getLanguage } from '../../../Language/Language';
|
||||||
|
import MarkdownPage from '../../markdownPage';
|
||||||
|
import { getString } from '../../../Language/LanguageStrings';
|
||||||
|
|
||||||
|
const PaintsPage = () => {
|
||||||
|
const language = getLanguage();
|
||||||
|
const { theme } = useTheme();
|
||||||
|
|
||||||
|
return (
|
||||||
|
<article className='main-page'>
|
||||||
|
<Breadcrumbs separator=' > ' path="plamo">
|
||||||
|
{['Plamo']}
|
||||||
|
</Breadcrumbs>
|
||||||
|
<MarkdownPage md={'Plamo/' + language + '/paints/paints.md'} />
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<table id="collectionTable" className={'table table-' + theme}>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>{getString('colour')}</th>
|
||||||
|
<th>{getString('identifier')}</th>
|
||||||
|
<th>{getString('colour')}</th>
|
||||||
|
<th>{getString('type')}</th>
|
||||||
|
<th>{getString('manufacturer')}</th>
|
||||||
|
<th>{getString('name')}</th>
|
||||||
|
<th>{getString('stock')}</th>
|
||||||
|
<th>{getString('total')}</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{paintData.paints
|
||||||
|
.map((item, index) => (
|
||||||
|
<tr key={index}>
|
||||||
|
<td style={{ backgroundColor: item.hex }}></td>
|
||||||
|
<td>{item.identifier}</td>
|
||||||
|
<td>{item.colour}</td>
|
||||||
|
<td>{item.type}</td>
|
||||||
|
<td>{item.manufacturer}</td>
|
||||||
|
<td>{item.name}</td>
|
||||||
|
<td>{item['current-stock']}</td>
|
||||||
|
<td>{item.total}</td>
|
||||||
|
</tr>
|
||||||
|
))
|
||||||
|
}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default PaintsPage;
|
||||||
3
src/Pages/Plamo/paints/en/paints.md
Normal file
3
src/Pages/Plamo/paints/en/paints.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Paints
|
||||||
|
|
||||||
|
This is my collection of paints.
|
||||||
3
src/Pages/Plamo/paints/nl/paints.md
Normal file
3
src/Pages/Plamo/paints/nl/paints.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Verf
|
||||||
|
|
||||||
|
Dit is mijn collectie verf.
|
||||||
@ -56,7 +56,7 @@
|
|||||||
"name": "Mr. Color Gold",
|
"name": "Mr. Color Gold",
|
||||||
"label": "Primary",
|
"label": "Primary",
|
||||||
"shine": "Metallic",
|
"shine": "Metallic",
|
||||||
"identifier": "C9",
|
"identifier": "C009",
|
||||||
"manufacturer": "Mr. Hobby",
|
"manufacturer": "Mr. Hobby",
|
||||||
"colour": "goud",
|
"colour": "goud",
|
||||||
"type": "lak",
|
"type": "lak",
|
||||||
@ -69,7 +69,7 @@
|
|||||||
"name": "Mr. Color Metal Black",
|
"name": "Mr. Color Metal Black",
|
||||||
"label": "Primary",
|
"label": "Primary",
|
||||||
"shine": "Metallic",
|
"shine": "Metallic",
|
||||||
"identifier": "C78",
|
"identifier": "C078",
|
||||||
"manufacturer": "Mr. Hobby",
|
"manufacturer": "Mr. Hobby",
|
||||||
"colour": "zwart",
|
"colour": "zwart",
|
||||||
"type": "lak",
|
"type": "lak",
|
||||||
@ -95,7 +95,7 @@
|
|||||||
"name": "Mr. Color Silver",
|
"name": "Mr. Color Silver",
|
||||||
"label": "Primary",
|
"label": "Primary",
|
||||||
"shine": "Metallic",
|
"shine": "Metallic",
|
||||||
"identifier": "C8",
|
"identifier": "C008",
|
||||||
"manufacturer": "Mr. Hobby",
|
"manufacturer": "Mr. Hobby",
|
||||||
"colour": "zilver",
|
"colour": "zilver",
|
||||||
"type": "lak",
|
"type": "lak",
|
||||||
@ -134,7 +134,7 @@
|
|||||||
"name": "Mr. Color Steel",
|
"name": "Mr. Color Steel",
|
||||||
"label": "Primary",
|
"label": "Primary",
|
||||||
"shine": "Metallic",
|
"shine": "Metallic",
|
||||||
"identifier": "C28",
|
"identifier": "C028",
|
||||||
"manufacturer": "Mr. Hobby",
|
"manufacturer": "Mr. Hobby",
|
||||||
"colour": "zwart",
|
"colour": "zwart",
|
||||||
"type": "lak",
|
"type": "lak",
|
||||||
@ -147,7 +147,7 @@
|
|||||||
"name": "Mr. Color Flat Black",
|
"name": "Mr. Color Flat Black",
|
||||||
"label": "Primary",
|
"label": "Primary",
|
||||||
"shine": "Flat",
|
"shine": "Flat",
|
||||||
"identifier": "C33",
|
"identifier": "C033",
|
||||||
"manufacturer": "Mr. Hobby",
|
"manufacturer": "Mr. Hobby",
|
||||||
"colour": "zwart",
|
"colour": "zwart",
|
||||||
"type": "lak",
|
"type": "lak",
|
||||||
@ -225,7 +225,7 @@
|
|||||||
"name": "Mr. Color IJN Gray (Mitsubishi)",
|
"name": "Mr. Color IJN Gray (Mitsubishi)",
|
||||||
"label": "Primary",
|
"label": "Primary",
|
||||||
"shine": "Flat",
|
"shine": "Flat",
|
||||||
"identifier": "C35",
|
"identifier": "C035",
|
||||||
"manufacturer": "Mr. Hobby",
|
"manufacturer": "Mr. Hobby",
|
||||||
"colour": "grijs",
|
"colour": "grijs",
|
||||||
"type": "lak",
|
"type": "lak",
|
||||||
@ -238,7 +238,7 @@
|
|||||||
"name": "Mr. Color Clear",
|
"name": "Mr. Color Clear",
|
||||||
"label": "Primary",
|
"label": "Primary",
|
||||||
"shine": "Gloss",
|
"shine": "Gloss",
|
||||||
"identifier": "C46",
|
"identifier": "C046",
|
||||||
"manufacturer": "Mr. Hobby",
|
"manufacturer": "Mr. Hobby",
|
||||||
"colour": "",
|
"colour": "",
|
||||||
"type": "vernis",
|
"type": "vernis",
|
||||||
@ -290,7 +290,7 @@
|
|||||||
"name": "Mr. Color RLM02 Gray",
|
"name": "Mr. Color RLM02 Gray",
|
||||||
"label": "German aircraft WW2",
|
"label": "German aircraft WW2",
|
||||||
"shine": "Semi-gloss",
|
"shine": "Semi-gloss",
|
||||||
"identifier": "C60",
|
"identifier": "C060",
|
||||||
"manufacturer": "Mr. Hobby",
|
"manufacturer": "Mr. Hobby",
|
||||||
"colour": "grijs",
|
"colour": "grijs",
|
||||||
"type": "lak",
|
"type": "lak",
|
||||||
@ -316,7 +316,7 @@
|
|||||||
"name": "Mr. Color Purple",
|
"name": "Mr. Color Purple",
|
||||||
"label": "Primary",
|
"label": "Primary",
|
||||||
"shine": "Gloss",
|
"shine": "Gloss",
|
||||||
"identifier": "C67",
|
"identifier": "C067",
|
||||||
"manufacturer": "Mr. Hobby",
|
"manufacturer": "Mr. Hobby",
|
||||||
"colour": "paars",
|
"colour": "paars",
|
||||||
"type": "lak",
|
"type": "lak",
|
||||||
@ -329,7 +329,7 @@
|
|||||||
"name": "Mr. Color Hull Red",
|
"name": "Mr. Color Hull Red",
|
||||||
"label": "Battle ship",
|
"label": "Battle ship",
|
||||||
"shine": "Semi-gloss",
|
"shine": "Semi-gloss",
|
||||||
"identifier": "C29",
|
"identifier": "C029",
|
||||||
"manufacturer": "Mr. Hobby",
|
"manufacturer": "Mr. Hobby",
|
||||||
"colour": "rood",
|
"colour": "rood",
|
||||||
"type": "lak",
|
"type": "lak",
|
||||||
@ -368,7 +368,7 @@
|
|||||||
"name": "LP-7 Pure red",
|
"name": "LP-7 Pure red",
|
||||||
"label": "",
|
"label": "",
|
||||||
"shine": "Gloss",
|
"shine": "Gloss",
|
||||||
"identifier": "LP7",
|
"identifier": "LP07",
|
||||||
"manufacturer": "Tamiya",
|
"manufacturer": "Tamiya",
|
||||||
"colour": "rood",
|
"colour": "rood",
|
||||||
"type": "lak",
|
"type": "lak",
|
||||||
@ -394,7 +394,7 @@
|
|||||||
"name": "LP-2 White",
|
"name": "LP-2 White",
|
||||||
"label": "",
|
"label": "",
|
||||||
"shine": "Gloss",
|
"shine": "Gloss",
|
||||||
"identifier": "LP2",
|
"identifier": "LP02",
|
||||||
"manufacturer": "Tamiya",
|
"manufacturer": "Tamiya",
|
||||||
"colour": "wit",
|
"colour": "wit",
|
||||||
"type": "lak",
|
"type": "lak",
|
||||||
@ -446,7 +446,7 @@
|
|||||||
"name": "LP-1 Black",
|
"name": "LP-1 Black",
|
||||||
"label": "",
|
"label": "",
|
||||||
"shine": "Gloss",
|
"shine": "Gloss",
|
||||||
"identifier": "LP1",
|
"identifier": "LP01",
|
||||||
"manufacturer": "Tamiya",
|
"manufacturer": "Tamiya",
|
||||||
"colour": "zwart",
|
"colour": "zwart",
|
||||||
"type": "lak",
|
"type": "lak",
|
||||||
@ -537,7 +537,7 @@
|
|||||||
"name": "LP-8 Pure yellow",
|
"name": "LP-8 Pure yellow",
|
||||||
"label": "",
|
"label": "",
|
||||||
"shine": "Gloss",
|
"shine": "Gloss",
|
||||||
"identifier": "LP8",
|
"identifier": "LP08",
|
||||||
"manufacturer": "Tamiya",
|
"manufacturer": "Tamiya",
|
||||||
"colour": "geel",
|
"colour": "geel",
|
||||||
"type": "lak",
|
"type": "lak",
|
||||||
@ -3,6 +3,7 @@ import { Route } from 'react-router-dom';
|
|||||||
import { languages } from './Language/Language';
|
import { languages } from './Language/Language';
|
||||||
import JapanesePage from './Pages/Japan/JapanesePage';
|
import JapanesePage from './Pages/Japan/JapanesePage';
|
||||||
import BlogPage from './Pages/Plamo/BlogPage';
|
import BlogPage from './Pages/Plamo/BlogPage';
|
||||||
|
import PaintsPage from './Pages/Plamo/paints/PaintsPage';
|
||||||
import CSharpPage from './Pages/Software/dotnet/csharp/CSharpPage';
|
import CSharpPage from './Pages/Software/dotnet/csharp/CSharpPage';
|
||||||
import ElmPage from './Pages/Software/elm/ElmPage';
|
import ElmPage from './Pages/Software/elm/ElmPage';
|
||||||
import HaskellPage from './Pages/Software/haskell/HaskellPage';
|
import HaskellPage from './Pages/Software/haskell/HaskellPage';
|
||||||
@ -34,6 +35,11 @@ export const plamoEquipmentRoutes = languages.map(lang => {
|
|||||||
return <Route key={`${lang}-${page}`} exact path={path} element={<BlogPage mdPath={mdPath} />} />;
|
return <Route key={`${lang}-${page}`} exact path={path} element={<BlogPage mdPath={mdPath} />} />;
|
||||||
});
|
});
|
||||||
}).flat();
|
}).flat();
|
||||||
|
export const plamoPaintRoutes = languages.map(lang => {
|
||||||
|
const path = `/${lang}/plamo/paints`;
|
||||||
|
const mdPath = `Plamo/paints/${lang}/paints.md`;
|
||||||
|
return <Route key={`${lang}-paints`} exact path={path} element={<PaintsPage mdPath={mdPath} />} />;
|
||||||
|
}).flat();
|
||||||
export const plamoShowcaseGundamRoutes = languages.map(lang => {
|
export const plamoShowcaseGundamRoutes = languages.map(lang => {
|
||||||
const pages = ['kawasaki-zaku-ii', 'smc-2025-gundam'];
|
const pages = ['kawasaki-zaku-ii', 'smc-2025-gundam'];
|
||||||
return pages.map(page => {
|
return pages.map(page => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user