local Carousel = require('components.carousel')
function getProjectImageLink(project, image)
return 'https://cdn.duckonaut.dev/assets/' .. project.type .. 's/' .. project.name_normalized .. '/' .. image
end
function getProjectTechIconLink(tech)
return 'https://cdn.duckonaut.dev/assets/images/' .. tech .. '.png'
end
function getProjectTargetIconLink(target)
return 'https://cdn.duckonaut.dev/assets/images/' .. target .. '.png'
end
return function (props)
local project = props.attrs.project
local techs = {}
for _, tech in ipairs(project.tech) do
techs[#techs + 1] =
end
local targets = {}
for _, target in ipairs(project.targets) do
targets[#targets + 1] =
end
local images = nil
if project.images then
images = {}
for _, image in ipairs(project.images) do
images[#images + 1] =
end
images =