Since 1995, DITA has found inspiration in the international circuit of nautical, automotive and aviation design, and the individuals who have pushed boundaries within these finely crafted machines. Our iconic DITA Mach-One was inspired by this love of fast cars, speed boats and sleek planes that are built with advanced construction methods and superb materials. These frames are built to ignite the same intensity that only the finest of these machines can trigger.
Description
Details
Vendor:
DITA
${(function() {
let unit = 'mm';
let proportion = '1'
if (data === 'in') {
unit = 'in';
proportion = '0.03937'
}
const conversionParameter = (className, label, parameter, proportion) => {
const parameterValue = Number(parameter);
if (Number.isNaN(parameterValue)) {
return ''
}
return `
${label}: ${(parameterValue * Number(proportion)).toFixed(2)}${ unit }
${label == 'Frame width' ? `` : ''}
${label == 'Lens width' ? `` : ''}
${label == 'Bridge width' ? `` : ''}
${label == 'Lens height' ? `` : ''}
`;
}
const parameters = [
{ className: 'frame-width-parameter', label: 'Frame width', value: '' },
{ className: 'lens-width-parameter', label: 'Lens width', value: '' },
{ className: 'bridge-width-parameter', label: 'Bridge width', value: '17' },
{ className: 'lens-height-parameter', label: 'Lens height', value: '' },
];
return parameters.map(parameter => {
if (parameter.value) {
return conversionParameter(parameter.className, parameter.label, parameter.value, proportion);
}
return '';
}).join('');
})()}
${(function() {
let unit = 'mm';
let proportion = '1'
if (data === 'in') {
unit = 'in';
proportion = '0.03937'
}
const conversionParameter = (label, parameter, proportion) => {
const parameterValue = Number(parameter);
if (isNaN(parameterValue)) {
return '';
}
return `
${label}: ${(parameterValue * Number(proportion)).toFixed(2)}${unit}
`;
}
return conversionParameter('Temple length', '127', proportion)
})()}
Show in inches
${
data === 'in' ? `
Show in mm
` : `
Show in inches
`
}