File tree Expand file tree Collapse file tree 5 files changed +65
-1
lines changed
Layout/components/Footer/components/Branding Expand file tree Collapse file tree 5 files changed +65
-1
lines changed Original file line number Diff line number Diff line change @@ -57,3 +57,29 @@ export const Branding = (): JSX.Element => {
5757 </ Brands >
5858 ) ;
5959} ;
60+
61+ export const GA2Branding = ( ) : JSX . Element => {
62+ return (
63+ < Brands >
64+ < SmallBrand >
65+ < Logo
66+ alt = "NSF"
67+ height = { 32 }
68+ link = "https://www.nsf.gov/"
69+ src = "/footer/nsf.png"
70+ target = { ANCHOR_TARGET . BLANK }
71+ />
72+ </ SmallBrand >
73+ < FooterText
74+ color = { TYPOGRAPHY_PROPS . COLOR . INK_LIGHT }
75+ variant = { TYPOGRAPHY_PROPS . VARIANT . BODY_SMALL_400 }
76+ >
77+ U.S National Science Foundation Award
78+ < Link
79+ label = " #2419522"
80+ url = "https://www.nsf.gov/awardsearch/showAward?AWD_ID=2419522& HistoricalAwards = false "
81+ />
82+ </ FooterText >
83+ </ Brands >
84+ ) ;
85+ } ;
Original file line number Diff line number Diff line change @@ -34,7 +34,10 @@ export { AnalysisMethodsCatalog } from "./Entity/components/AnalysisMethodsCatal
3434export { AnalysisMethodsTitle } from "./Entity/components/AnalysisMethodsTitle/analysisMethodsTitle" ;
3535export { AnalysisPortals } from "./Entity/components/AnalysisPortals/analysisPortals" ;
3636export { GridPaperSection } from "./Layout/components/Detail/components/Section/section.styles" ;
37- export { Branding } from "./Layout/components/Footer/components/Branding/branding" ;
37+ export {
38+ Branding ,
39+ GA2Branding ,
40+ } from "./Layout/components/Footer/components/Branding/branding" ;
3841export { AnalyzeGenome } from "./Table/components/TableCell/components/AnalyzeGenome/analyzeGenome" ;
3942export { TypographyWordBreak } from "@databiosphere/findable-ui/lib/components/common/Typography/TypographyWordBreak/TypographyWordBreak" ;
4043export { MDXSection } from "./Entity/components/Section/MDXSection/mdxSection" ;
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import {
1010import { AppSiteConfig } from "../../common/entities" ;
1111import { APP_KEYS } from "../../common/constants" ;
1212import data from "catalog/ga2/output/ncbi-taxa-tree.json" ;
13+ import { socialMedia } from "./socialMedia" ;
1314import { TaxonomyNode } from "../../../app/components/Home/components/Section/components/SectionViz/data" ;
1415import { THEME_OPTIONS } from "./theme/constants" ;
1516
@@ -60,6 +61,8 @@ export function makeConfig(
6061 gitHubUrl,
6162 layout : {
6263 footer : {
64+ Branding : C . GA2Branding ( ) ,
65+ socials : socialMedia . socials ,
6366 versionInfo : true ,
6467 } ,
6568 header : {
Original file line number Diff line number Diff line change 1+ import { SocialMedia } from "@databiosphere/findable-ui/lib/components/Layout/components/Header/common/entities" ;
2+ import * as C from "../../../app/components" ;
3+ import {
4+ REL_ATTRIBUTE ,
5+ ANCHOR_TARGET ,
6+ } from "@databiosphere/findable-ui/lib/components/Links/common/entities" ;
7+ import { MenuItem } from "@databiosphere/findable-ui/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenuItems/navigationMenuItems" ;
8+
9+ export const SOCIALS = {
10+ GITHUB : {
11+ label : "GitHub" ,
12+ rel : REL_ATTRIBUTE . NO_OPENER_NO_REFERRER ,
13+ target : ANCHOR_TARGET . BLANK ,
14+ url : "https://github.com/galaxyproject/brc-analytics" ,
15+ } ,
16+ } ;
17+
18+ export const socialMenuItems : MenuItem [ ] = [
19+ {
20+ ...SOCIALS . GITHUB ,
21+ icon : C . GitHubIcon ( { fontSize : "small" } ) ,
22+ } ,
23+ ] ;
24+
25+ export const socialMedia : SocialMedia = {
26+ socials : [
27+ {
28+ ...SOCIALS . GITHUB ,
29+ Icon : C . GitHubIcon ,
30+ } ,
31+ ] ,
32+ } ;
You can’t perform that action at this time.
0 commit comments