Skip to content

Commit 2900e66

Browse files
committed
Add language to home
Signed-off-by: Dinne Kopelevich <[email protected]>
1 parent 3d6ad7d commit 2900e66

File tree

4 files changed

+29
-159
lines changed

4 files changed

+29
-159
lines changed

app/site/index.liquid

+11-6
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@ layout: base
77
<h2>Metrics & Code.JSON</h2>
88
</div>
99
<p>
10-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer venenatis aliquet quam ut cursus. Ut ac orci eros.
11-
Suspendisse sodales nulla id metus egestas, euismod aliquet massa laoreet. Nulla vel blandit neque, ac efficitur augue.
12-
Donec consequat pulvinar lacus, a dignissim sem rhoncus ut. Nunc eu elit dignissim, elementum nunc ut, fermentum nulla.
13-
Proin sed enim vel lorem dictum lacinia quis id justo. Vestibulum ac justo commodo, interdum nisl nec, posuere lacus.
14-
In hac habitasse platea dictumst. Aliquam quis risus at tortor placerat congue ut in mi.
15-
Praesent suscipit lectus sit amet massa.
10+
<strong>Metrics</strong> provides meaningful insights into project performance and code quality,
11+
empowering teams to make informed decisions. By analyzing key data points such as contributor activity,
12+
issue resolution times, code complexity and dependency health, Metrics transforms raw data into actionable visualizations.
13+
With a focus on clarity and accessibility, Metrics enables organizations to monitor progress,
14+
identify improvement opportunities and measure the impact of work.
15+
</p>
16+
<p>
17+
<strong>Code.JSON</strong> serves as a powerful tool for open-source project transparency and compliance.
18+
Code.JSON provides a standerdized metadata format that enables dicoverability, reuse and collaboration on governemnt open-source
19+
projects. Using the <a href="https://github.com/DSACMS/codejson-generator" target="_blank" rel"noopener noreferrer">code.json generator,</a> organizations can effortlessly create and validate their code.json files,
20+
ensuring alignment with federal guidelines while showcasing open-source contributions to the broader community.
1621
</p>
1722
<p>
1823
{{ site.description }}

app/site/projects.liquid

+6-3
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ layout: base
107107
</div>
108108
</div>
109109
</div>
110-
111110
<div class="outer-search-block">
112111
<div class="search-block">
113112
<div class="search-and-sort">
@@ -132,7 +131,6 @@ layout: base
132131
</div>
133132
</form>
134133
</section>
135-
136134
<div class="sort-dropdown sort-styling">
137135
<form class="usa-form sort-dropdown" id="sort-selection-form">
138136
<label class="usa-label" for="sort-selection"></label>
@@ -146,9 +144,11 @@ layout: base
146144
<option value="maturity_model_tier">Maturity Model Tier</option>
147145
<option value="forks_count">Forks</option>
148146
</select>
147+
<svg class="usa-icon filter-icon" aria-hidden="true" focusable="false" role="img">
148+
<use href="{{ site.baseurl }}/assets/img/sprite.svg#filter_list"></use>
149+
</svg>
149150
</div>
150151
</form>
151-
152152
<form class="usa-form project-search" id="sort-direction-form">
153153
<label class="usa-label" for="sort-direction"></label>
154154
<div class="sort-outer">
@@ -157,6 +157,9 @@ layout: base
157157
<option value="ascending">Ascending</option>
158158
<option value="descending">Descending</option>
159159
</select>
160+
<svg class="usa-icon filter-icon" aria-hidden="true" focusable="false" role="img">
161+
<use href="{{ site.baseurl }}/assets/img/sprite.svg#sort_arrow"></use>
162+
</svg>
160163
</div>
161164
</form>
162165
</div>

app/src/css/style.css

+11-149
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,10 @@ a.usa-link:visited {
344344
}
345345

346346
/* Projects */
347+
#content-container {
348+
margin-top: 5%;
349+
}
350+
347351
.grid-container-projects {
348352
display: flex;
349353
flex-direction: column;
@@ -402,39 +406,29 @@ section:active {
402406
}
403407

404408
.sort-outer {
409+
display: flex;
405410
background-color: #E0EAF8;
406411
border: 0.25px solid #bcbcbc;
407412
height: 37px;
408413
border-radius: 50px;
409414
box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
410415
margin-left: 30px;
416+
align-items: center;
417+
max-width: 15rem;
418+
min-width: 7rem;
411419
}
412420

413-
414-
/* .search-and-sort {
415-
display: flex;
416-
justify-content: flex-end;
417-
}
418-
419-
.usa-search--small {
420-
height: 100px;
421+
.filter-icon {
422+
margin: 0 0 0 -20%;
421423
}
422424

423-
.sort-dropdown {
424-
display: flex;
425-
} */
426-
427425
.outer-project-template {
428426
height: fit-content;
429427
width: 60vw;
430428
}
431429

432430
.container-project-template {
433431
display: flex;
434-
/* height: fit-content; */
435-
/* flex-direction: column;
436-
align-items: flex-start;
437-
justify-content: center; */
438432
}
439433

440434
.text-container-project-template {
@@ -577,10 +571,6 @@ section:active {
577571
align-items: stretch;
578572
}
579573

580-
/* .usa-table-styling {
581-
width: 70%;
582-
} */
583-
584574
/* This is so that augur visualizations have the buttons cropped out. */
585575
.firstResponsePRCrop img {
586576
width: 500px;
@@ -688,132 +678,4 @@ embed {
688678
iframe:focus, [href]:focus, [tabindex]:focus, [contentEditable=true]:focus {
689679
outline: none;
690680
outline-offset: 0rem;
691-
}
692-
693-
694-
695-
/* .main-tag {
696-
background-color: #1a4480;
697-
padding: 0.5rem;
698-
font-weight: bolder;
699-
display: inline-flex;
700-
align-items: center;
701-
justify-content: center;
702-
gap: 0.25rem; /*Adjust the gap as needed */
703-
/* border-radius: 0.25rem; */
704-
/* } */
705-
706-
707-
/* .tools-tag {
708-
background-color: green;
709-
}
710-
711-
.apis-tag {
712-
background-color: #E52109;
713-
}
714-
715-
.apps-tag {
716-
background-color: #0076D6;
717-
}
718-
719-
.data-tag {
720-
background-color: #E66F0F;
721-
}
722-
723-
.docs-tag {
724-
background-color: #03C585;
725-
}
726-
727-
.libraries-tag {
728-
background-color: #D72D79;
729-
} */
730-
731-
/* .standards-tag {
732-
background-color: #FFBE2F;
733-
}
734-
735-
.icon-tag {
736-
padding: 0.35rem;
737-
} */
738-
739-
/* .primary-tag-group {
740-
padding-top-1
741-
padding-top: 0.5rem;
742-
} */
743-
744-
/* .secondary-tag-group {
745-
padding-y-3
746-
padding-top:1.5rem;
747-
padding-bottom:1.5rem;
748-
} */
749-
750-
/* .projects-container {
751-
position: relative;
752-
display: flex;
753-
flex-direction: row;
754-
gap: 1rem;
755-
}
756-
757-
.block {
758-
display: block;
759-
width: 100%;
760-
} */
761-
762-
/* .dashboard-container {
763-
display: flex;
764-
flex-direction: row;
765-
gap: 1rem;
766-
padding-top: 5rem;
767-
} */
768-
769-
/* .filters-container {
770-
display: flex;
771-
flex-direction: column;
772-
gap: 1rem;
773-
padding-top: 3.4rem;
774-
}
775-
776-
.search-container {
777-
flex:1;
778-
margin-bottom: 1rem;
779-
box-sizing: border-box;
780-
}
781-
782-
.search-and-sort {
783-
width: 100%;
784-
display: flex;
785-
flex-direction: row;
786-
justify-content: space-between;
787-
gap: 3rem;
788-
} */
789-
790-
/* .sort-dropdown {
791-
display: flex;
792-
flex-direction: row;
793-
box-sizing: border-box;
794-
text-align: right;
795-
gap: 0.5rem;
796-
margin-bottom: 1rem;
797-
798-
} */
799-
800-
/* @media screen and (max-width: 1080px) {
801-
.dashboard-container {
802-
flex-direction: column;
803-
}
804-
}
805-
806-
@media screen and (max-width: 720px) {
807-
.search-and-sort {
808-
flex-direction: column;
809-
gap: 0;
810-
}
811-
812-
.search-container {
813-
margin-bottom: 0;
814-
}
815-
816-
.sort-dropdown {
817-
text-align: left;
818-
}
819-
} */
681+
}

app/src/js/projects.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -504,4 +504,4 @@ document.addEventListener("DOMContentLoaded", () => {
504504
createProjectCards()
505505
})
506506
createProjectCards()
507-
})
507+
})

0 commit comments

Comments
 (0)