Update dependencies, enhance security headers, and add brand information to translations
- Updated various dependencies in package.json and package-lock.json for improved performance and security. - Changed Cross-Origin-Embedder-Policy from 'require-corp' to 'credentialless' in server.js and nginx.conf for better compatibility. - Enhanced Content-Security-Policy to include specific domains for script and connect sources. - Added brand information to translations for multiple languages, improving localization and user experience. - Introduced a new BrandMarquee component in the homepage layout to showcase brands effectively.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
export const prerender = true;
|
||||
import Layout from '~/layouts/PageLayout.astro';
|
||||
import Hero from '~/components/widgets/Hero2.astro';
|
||||
import BrandMarquee from '~/components/widgets/BrandMarquee.astro';
|
||||
import Features from '~/components/widgets/Features.astro';
|
||||
import Content from '~/components/widgets/Content.astro';
|
||||
import CallToAction from '~/components/widgets/CallToAction.astro';
|
||||
@@ -542,6 +543,45 @@ const metadata = {
|
||||
</Hero>
|
||||
</div>
|
||||
|
||||
<!-- Brand Marquee -->
|
||||
<BrandMarquee
|
||||
title={explosive.brands?.title || t.homepage?.brands?.title || 'Our Brands'}
|
||||
subtitle={explosive.brands?.subtitle || t.homepage?.brands?.subtitle || 'Part of the 365DevNet ecosystem'}
|
||||
speed="normal"
|
||||
brands={[
|
||||
{
|
||||
name: '365DevNet',
|
||||
icon: 'tabler:code',
|
||||
description: explosive.brands?.devnet || t.homepage?.brands?.devnet || 'Development Solutions',
|
||||
link: `/${lang}`,
|
||||
},
|
||||
{
|
||||
name: 'Tiber365',
|
||||
icon: 'tabler:bulb',
|
||||
description: explosive.brands?.tiber || t.homepage?.brands?.tiber || 'IT Consultancy',
|
||||
link: `/${lang}/bergsma`,
|
||||
},
|
||||
{
|
||||
name: 'Bergsma.it',
|
||||
icon: 'tabler:chart-line',
|
||||
description: explosive.brands?.bergsma || t.homepage?.brands?.bergsma || 'Business Consultancy',
|
||||
link: `/${lang}/bergsma`,
|
||||
},
|
||||
{
|
||||
name: 'SyncEra',
|
||||
icon: 'tabler:activity',
|
||||
description: explosive.brands?.syncera || t.homepage?.brands?.syncera || 'Health & Fitness Sync',
|
||||
link: `/${lang}/syncera`,
|
||||
},
|
||||
{
|
||||
name: 'Journii',
|
||||
icon: 'tabler:map-pin',
|
||||
description: explosive.brands?.journii || t.homepage?.brands?.journii || 'Travel & Journaling',
|
||||
link: `/${lang}/journii`,
|
||||
},
|
||||
]}
|
||||
/>
|
||||
|
||||
<!-- Services with Color Explosions -->
|
||||
<div id="services" class="content-section section-gradient-1 explosive-entrance">
|
||||
<Features
|
||||
|
||||
Reference in New Issue
Block a user