|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function renderContentSection(id, content, options = {}) { |
|
|
const { |
|
|
className = 'mb-16', |
|
|
opacity = '90', |
|
|
blur = 'sm', |
|
|
padding = 'p-6 md:p-10' |
|
|
} = options; |
|
|
|
|
|
return ` |
|
|
<section id="${id}" class="${className} relative z-20 px-4 sm:px-6 lg:px-8"> |
|
|
<div class="bg-white/${opacity} backdrop-blur-${blur} shadow-md rounded-lg ${padding} w-full border border-gray-200" style="max-width: min(90%, 1400px); margin: 0 auto;"> |
|
|
${content} |
|
|
</div> |
|
|
</section> |
|
|
`; |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function renderOpennessCallout(text) { |
|
|
if (!text) return ''; |
|
|
|
|
|
return ` |
|
|
<div class="px-4 sm:px-6 py-5 bg-gradient-to-r from-orange-50/95 to-yellow-50/95 backdrop-blur-sm border-l-4 border-orange-400 rounded-r-lg mb-8"> |
|
|
<p class="font-bold text-orange-900 mb-3 text-lg">π€ The Role of Openness</p> |
|
|
<p class="text-orange-800 italic leading-relaxed">${text}</p> |
|
|
</div> |
|
|
`; |
|
|
} |
|
|
|
|
|
|