Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion projects/dev-tools
18 changes: 16 additions & 2 deletions website/src/components/project-cards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from 'react';
import styled from '@emotion/styled';

const projects = [
{name: 'dev-tools', href: '/dev-tools/', image: '/images/logos/vis-logo.png', description: 'Shared development tools for building, testing, linting, and publishing vis.gl projects.'},
{name: 'math.gl', href: '/math.gl/', image: '/images/frameworks/math.png', description: '3D and geospatial math utilities.'},
{name: 'probe.gl', href: '/probe.gl/', image: '/images/frameworks/probe.png', description: 'Logging, instrumentation, benchmarking and test utilities.'},
{name: 'deck.gl-community', href: '/deck.gl-community/', image: '/images/frameworks/deck.gl-community.png', description: 'Community layers, basemaps and deck.gl add-ons.'},
Expand All @@ -11,6 +10,10 @@ const projects = [
{name: 'react-google-maps', href: '/react-google-maps/', image: '/images/frameworks/react-google-maps.jpeg', description: 'React components and hooks for the Google Maps JavaScript API.'}
];

const internalFrameworks = [
{name: 'dev-tools', href: '/dev-tools/', image: '/images/logos/vis-logo.png', description: 'Shared development tools for building, testing, linting, and publishing vis.gl projects.'}
];

const frameworkWebsites = [
{name: 'deck.gl', href: 'https://deck.gl', image: '/images/frameworks/deck.png', description: 'High-performance visualization layers for large-scale geospatial data.'},
{name: 'luma.gl', href: 'https://luma.gl', image: '/images/frameworks/luma.png', description: 'WebGL and WebGPU tools for data visualization and GPU computing.'},
Expand All @@ -19,7 +22,7 @@ const frameworkWebsites = [

const Grid = styled.div`
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 20px;
margin: 40px auto 60px;
max-width: 1100px;
Expand Down Expand Up @@ -77,5 +80,16 @@ export default function ProjectCards() {
</Card>)}
</Grid>
</Section>
<Section aria-labelledby="internal-frameworks-title">
<SectionTitle id="internal-frameworks-title">Internal Frameworks</SectionTitle>
<Grid aria-label="Internal frameworks">
{internalFrameworks.map(project => <Card key={project.name} href={project.href}>
<img src={project.image} alt="" style={{height: 64, width: '100%', objectFit: 'contain', objectPosition: 'left'}} />
<h3>{project.name}</h3>
<p>{project.description}</p>
<span style={{marginTop: 'auto', fontWeight: 600}}>Explore docs →</span>
</Card>)}
</Grid>
</Section>
</>;
}