-
{name}
+
{name}
{projectContent?.tldr && (
-
-
{projectContent?.tldr}
+
+
+ {projectContent?.tldr}
+
)}
-
- {showLinks && (
-
- {Object.entries(links ?? {})?.map(([website, url], index) => {
- return (
-
- )
- })}
-
- )}
+
{projectNotActive && (
-
- {t("notCurrentlyActive")}
+
+ {t("inactive")}
)}
+
+ {showLinks && (
+
+ {Object.entries(links ?? {})?.map(([website, url], index) => {
+ return (
+
+ )
+ })}
+
+ )}
+ {cardTags && (
+
+ {cardTags?.primary && (
+
+ {cardTags?.primary}
+
+ )}
+ {cardTags?.secondary && (
+
+ {cardTags?.secondary}
+
+ )}
+
+ )}
+
diff --git a/components/project/project-filters-bar.tsx b/components/project/project-filters-bar.tsx
index bf1afba5..fd183ea0 100644
--- a/components/project/project-filters-bar.tsx
+++ b/components/project/project-filters-bar.tsx
@@ -49,7 +49,7 @@ const FilterWrapper = ({ label, children, className }: FilterWrapperProps) => {
}
export const ThemesButtonMapping = (lang: LocaleTypes): IThemesButton => {
- const t = i18next.getFixedT(lang, "common")
+ const t = i18next.getFixedT(lang, "all")
return {
build: {
@@ -128,8 +128,15 @@ export default function ProjectFiltersBar({ lang }: LangProps["params"]) {
const [searchQuery, setSearchQuery] = useState("")
const [filterCount, setFilterCount] = useState(0)
- const { filters, toggleFilter, queryString, activeFilters, onFilterProject } =
- useProjectFiltersState((state) => state)
+ const {
+ filters,
+ toggleFilter,
+ queryString,
+ activeFilters,
+ onFilterProject,
+ currentSection,
+ setCurrentSection,
+ } = useProjectFiltersState((state) => state)
useEffect(() => {
if (!queryString) return
@@ -296,40 +303,73 @@ export default function ProjectFiltersBar({ lang }: LangProps["params"]) {