Skip to content

Commit 9970d96

Browse files
Lectern & Lyric PR update + added lectern and lyric icons to homepage
1 parent 448456d commit 9970d96

File tree

8 files changed

+92
-56
lines changed

8 files changed

+92
-56
lines changed

submodules/lyric

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../submodules/lectern/docs/
1+
../../../submodules/lectern/docs/overview
58.3 KB
Loading
11.2 KB
Loading

website/src/components/SiteMap/index.tsx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import iconScore from './icons/icon-score.png';
77
import iconMaestro from './icons/icon-maestro.png';
88
import iconArranger from './icons/icon-arranger.png';
99
import iconStage from './icons/icon-stage.png';
10+
import iconLyric from './icons/icon-lyric.png';
11+
import iconLectern from './icons/icon-lectern.png';
1012

1113
interface Product {
1214
title: string;
@@ -34,7 +36,7 @@ const categories: Record<string, Category> = {
3436
title: 'Under Development',
3537
description: 'New components not quite ready for production'
3638
},
37-
misc: {
39+
supporting: {
3840
title: 'Supporting Software',
3941
description: 'Supporting tools within the Overture project'
4042
},
@@ -54,10 +56,10 @@ const products: Product[] = [
5456
{ title: 'Maestro', link: '/docs/core-software/maestro/overview', image: iconMaestro, description: 'Metadata Indexing Service', category: 'core' },
5557
{ title: 'Arranger', link: '/docs/core-software/arranger/overview', image: iconArranger, description: 'Search API', category: 'core' },
5658
{ title: 'Stage', link: '/docs/core-software/stage/overview', image: iconStage, description: 'Web Portal Scaffolding', category: 'core' },
57-
{ title: 'Lectern', link: '/docs/under-development/lectern/', description: 'Schema Management Service', category: 'development' },
58-
{ title: 'Lyric', link: '/docs/under-development/lyric/', description: 'Tabular Data Submission Service', category: 'development' },
59-
{ title: 'Bridge', link: '/docs/other-software/Bridge', description: 'Documentation Site', category: 'misc' },
60-
{ title: 'Conductor', link: '/docs/other-software/Conductor', description: 'Software Setup Automation', category: 'misc' },
59+
{ title: 'Lectern', link: '/docs/under-development/lectern/', image: iconLectern ,description: 'Schema Management Service', category: 'development' },
60+
{ title: 'Lyric', link: '/docs/under-development/lyric/', image: iconLyric, description: 'Tabular Data Submission Service', category: 'development' },
61+
{ title: 'Bridge', link: '/docs/other-software/Bridge', description: 'Documentation Site', category: 'supporting' },
62+
{ title: 'Conductor', link: '/docs/other-software/Conductor', description: 'Software Setup Automation', category: 'supporting' },
6163
{ title: 'Documenting Projects', link: '/docs/Standards/github', description: 'Organization Standards', category: 'standards' },
6264
{ title: 'Documenting Software', link: '/docs/Standards/Software/', description: 'Software Standards', category: 'standards' },
6365
];
@@ -100,8 +102,8 @@ const SiteMap = () => {
100102
return acc;
101103
}, {});
102104

103-
const rightColumnCategories = ['platform','misc','standards'];
104-
const leftColumnCategories = ['core','development'];
105+
const rightColumnCategories = ['platform', 'supporting', 'standards'];
106+
const leftColumnCategories = ['core', 'development'];
105107

106108
return (
107109
<section className={styles.siteMap}>
Lines changed: 79 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* Base layout */
12
.siteMap {
23
padding: 2rem 0;
34
background-color: var(--ifm-background-color);
@@ -10,62 +11,60 @@
1011
padding: 0 1rem;
1112
}
1213

13-
.mosaicLayout {
14-
display: flex;
15-
gap: 2rem;
16-
}
17-
18-
.leftColumn, .rightColumn {
19-
flex: 1;
20-
display: flex;
21-
flex-direction: column;
22-
gap: 2rem;
23-
}
24-
14+
/* Category sections */
2515
.categorySection {
2616
background-color: var(--category-category-color);
2717
border-radius: 15px;
2818
padding: 2rem;
2919
box-shadow: var(--category-block-shadow);
3020
}
3121

32-
.categoryHeader {
22+
.categoryHeader,
23+
.categorySubheader {
3324
color: var(--category-title-color);
25+
}
26+
27+
.categoryHeader {
3428
margin-bottom: 0.5rem;
3529
font-size: 1.5rem;
3630
font-weight: 700;
3731
}
3832

3933
.categorySubheader {
40-
color: var(--category-title-color);
4134
font-size: 1rem;
4235
opacity: 0.8;
4336
}
4437

38+
/* Card grid */
4539
.cardGrid {
4640
display: flex;
4741
flex-wrap: wrap;
4842
gap: 1rem;
4943
}
5044

45+
/* Card styles */
5146
.card {
47+
--card-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
48+
--card-shadow-hover: 0 1px 2px rgba(0, 0, 0, 0.15);
49+
5250
flex: 1 1 calc(50% - 0.5rem);
5351
min-width: 100px;
5452
display: flex;
5553
flex-direction: column;
5654
align-items: center;
5755
padding: 1rem;
5856
border-radius: 10px;
59-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
60-
transition: transform 0.3s ease, box-shadow 0.3s ease;
6157
background-color: var(--category-card-color);
62-
}
58+
box-shadow: var(--card-shadow);
59+
transition: transform 0.3s ease, box-shadow 0.3s ease;
6360

64-
.card:hover, .card:focus {
65-
transform: translateY(-2px);
66-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
67-
text-decoration: none;
68-
outline: none;
61+
&:hover,
62+
&:focus {
63+
transform: translateY(-2px);
64+
box-shadow: var(--card-shadow-hover);
65+
text-decoration: none;
66+
outline: none;
67+
}
6968
}
7069

7170
.cardImage {
@@ -90,11 +89,42 @@
9089
margin-bottom: 0;
9190
}
9291

92+
/* Mosaic grid layout */
93+
.mosaicLayout {
94+
display: flex;
95+
gap: 2rem;
96+
97+
.leftColumn,
98+
.rightColumn {
99+
flex: 1;
100+
display: flex;
101+
flex-direction: column;
102+
}
103+
104+
.leftColumn {
105+
gap: 2rem;
106+
}
107+
108+
.rightColumn {
109+
gap: 2rem;
110+
/* Different card sizing for right column */
111+
.card {
112+
height: 5.86rem;
113+
}
114+
.cardTitle {
115+
padding-top: .5rem;
116+
}
117+
}
118+
119+
}
120+
121+
122+
/* Funding section */
93123
.fundingBadge {
94124
margin-top: 2rem;
95125
padding: 2rem;
96126
background-color: var(--funding-block-color);
97-
box-shadow: var(--category-block-shadow);
127+
box-shadow: var(--category-block-shadow);
98128
border-radius: 12px;
99129
position: relative;
100130
overflow: hidden;
@@ -122,40 +152,27 @@
122152
padding: 0.75rem 1.5rem;
123153
background-color: var(--category-card-color);
124154
color: var(--category-title-color);
125-
text-decoration: none;
126155
border-radius: 6px;
127156
font-weight: bold;
157+
box-shadow: var(--card-shadow);
128158
transition: all 0.3s ease;
129-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
130-
}
131-
132-
.fundingLink:hover {
133-
color: var(--category-title-color);
134-
text-decoration: none;
135-
transform: translateY(-2px);
136-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
137-
}
138-
139-
@media (max-width: 768px) {
140-
.fundingBadge {
141-
padding: 1.5rem;
142-
}
143-
144-
.fundingTitle {
145-
font-size: 1.5rem;
146-
}
147159

148-
.fundingDescription {
149-
font-size: 1rem;
160+
&:hover {
161+
color: var(--category-title-color);
162+
text-decoration: none;
163+
transform: translateY(-2px);
164+
box-shadow: var(--card-shadow-hover);
150165
}
151166
}
152167

168+
/* Responsive styles */
153169
@media (max-width: 1200px) {
154170
.mosaicLayout {
155171
flex-direction: column;
156172
}
157173
}
158174

175+
159176
@media (max-width: 768px) {
160177
.card {
161178
flex: 1 1 100%;
@@ -165,4 +182,21 @@
165182
width: 50px;
166183
height: 50px;
167184
}
168-
}
185+
186+
.fundingBadge {
187+
padding: 1.5rem;
188+
}
189+
190+
.fundingTitle {
191+
font-size: 1.5rem;
192+
}
193+
194+
.fundingDescription {
195+
font-size: 1rem;
196+
}
197+
.mosaicLayout .rightColumn .card {
198+
flex-direction: row;
199+
text-align: left;
200+
align-items: flex-start;
201+
}
202+
}

website/src/css/custom.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
/* Front Page category blocks */
2020
--category-title-color: #282A35;
21-
--category-category-color: #f5f5f5;
21+
--category-category-color: #f7f7f7;
2222
--category-card-color: #fefefe;
2323
--category-block-shadow: 2px 2px 6px #282a3525;
2424
--category-block-funding: none;

0 commit comments

Comments
 (0)