Skip to content

Commit 0fddc5a

Browse files
committed
logos and content
1 parent 02c1692 commit 0fddc5a

4 files changed

Lines changed: 21 additions & 8 deletions

File tree

public/assets/crewkit_wh.png

8.35 KB
Loading
File renamed without changes.

src/pages/Home.jsx

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,15 @@ const LOGO_LINKS = {
563563
Soumigo: 'https://soumigo.com/',
564564
};
565565

566+
// Static files in public/assets/ are referenced by URL path, not imported as JS
567+
// modules — Vite only bundles imports from src/, public/ is served as-is.
568+
const LOGO_IMAGES = {
569+
Crewkit: '/assets/crewkit.png',
570+
Optigo: '/assets/optigo.png',
571+
'Catalog Crafter': '/assets/catalog-crafter.png',
572+
Soumigo: '/assets/soumigo.png',
573+
};
574+
566575
function ServiceDetail({ s }) {
567576
return (
568577
<div className="panel panel-sticky">
@@ -642,11 +651,12 @@ function ServiceDetail({ s }) {
642651
<div key={n} className="d-flex flex-column gap-2 align-items-center">
643652
<image-slot
644653
id={'logo-' + n.toLowerCase().replace(/\s+/g, '-')}
654+
src={LOGO_IMAGES[n]}
645655
shape="rounded"
646656
radius="8"
647657
fit="contain"
648658
placeholder={n}
649-
style={{ width: '100%', height: 64, '--slot-frame-bg': 'transparent' }}
659+
style={{ width: '90%', height: 64, '--slot-frame-bg': 'transparent' }}
650660
></image-slot>
651661
<span className="link-tag link-tag-muted">
652662
<a href={LOGO_LINKS[n]} target="_blank" rel="noopener noreferrer">
@@ -1626,13 +1636,12 @@ function ForgeTeaser() {
16261636
return (
16271637
<section className="band-dark">
16281638
<div className="wrap band-dark-inner">
1629-
<image-slot
1630-
id="forge20-product"
1631-
shape="rect"
1632-
fit="contain"
1633-
placeholder="CodeBoxx w/ CrewKit Forge 20 appliance"
1634-
style={{ width: 210, height: 100, '--slot-frame-bg': 'transparent', color: '#fff' }}
1635-
></image-slot>
1639+
<img
1640+
src="/assets/crewkit_wh.png"
1641+
alt="CodeBoxx w/ CrewKit Forge 20 appliance"
1642+
width={210}
1643+
className="forge-logo"
1644+
/>
16361645
<span className="band-superhead">Lead. Think. Write. Run.</span>
16371646
<h2 className="band-heading">CodeBoxx w/ CrewKit Forge 20</h2>
16381647
<p className="band-body">

src/styles/_home.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,10 @@
525525
height: auto;
526526
display: block;
527527
}
528+
.forge-logo {
529+
height: auto;
530+
display: block;
531+
}
528532
.award-caption {
529533
font-size: v.$text-micro;
530534
font-weight: v.$weight-semibold;

0 commit comments

Comments
 (0)