File tree Expand file tree Collapse file tree 2 files changed +23
-69
lines changed Expand file tree Collapse file tree 2 files changed +23
-69
lines changed Original file line number Diff line number Diff line change @@ -33,75 +33,20 @@ const mountNode = document.getElementById(mountNodeSelector);
33
33
ReactDOM . render (
34
34
< >
35
35
< Router >
36
- < Link to = "/materials" > Materials</ Link >
37
- < Link to = "/molecules" > Molecules</ Link >
38
- < Link to = "/matscholar" > Matscholar Alpha</ Link >
39
- < Navbar
40
- brandItem = { {
41
- label : 'MP React' ,
42
- href : '/materials'
43
- } }
44
- items = { [
45
- {
46
- label : 'Materials' ,
47
- href : '/materials'
48
- } ,
49
- {
50
- label : 'Molecules' ,
51
- href : '/molecules'
52
- } ,
53
- {
54
- label : 'Batteries' ,
55
- href : '/batteries'
56
- } ,
57
- {
58
- label : 'Synthesis' ,
59
- href : '/synthesis'
60
- } ,
61
- {
62
- label : 'Catalysts' ,
63
- href : '/catalysts'
64
- } ,
65
- {
66
- label : 'MOF' ,
67
- href : '/mof'
68
- } ,
69
- {
70
- label : 'X-Ray Absorption Spectra' ,
71
- href : '/xas'
72
- } ,
73
- {
74
- label : 'More' ,
75
- isRight : true ,
76
- items : [
77
- {
78
- label : 'More' ,
79
- isMenuLabel : true
80
- } ,
81
- {
82
- label : 'Phase Diagram' ,
83
- href : '/phasediagram'
84
- } ,
85
- {
86
- label : 'Publications' ,
87
- href : '/publications'
88
- } ,
89
- {
90
- label : 'Contributions' ,
91
- href : '/contribs'
92
- } ,
93
- {
94
- label : 'Crystal Structure' ,
95
- href : '/crystal'
96
- } ,
97
- {
98
- label : 'Sandbox' ,
99
- href : '/sandbox'
100
- }
101
- ]
102
- }
103
- ] }
104
- />
36
+ < div className = "basic-navbar" >
37
+ < Link to = "/materials" > Materials</ Link >
38
+ < Link to = "/molecules" > Molecules</ Link >
39
+ < Link to = "/matscholar" > Matscholar Alpha</ Link >
40
+ < Link to = "/batteries" > Batteries</ Link >
41
+ < Link to = "/synthesis" > Synthesis</ Link >
42
+ < Link to = "/catalysts" > Catalysts</ Link >
43
+ < Link to = "/mof" > MOF</ Link >
44
+ < Link to = "/xas" > XAS</ Link >
45
+ < Link to = "/phasediagram" > Phase Diagram</ Link >
46
+ < Link to = "/contribs" > Contributions</ Link >
47
+ < Link to = "/crystal" > Crystal Structure</ Link >
48
+ < Link to = "/sandbox" > Sandbox</ Link >
49
+ </ div >
105
50
< section >
106
51
< Switch >
107
52
< Route path = "/materials" >
Original file line number Diff line number Diff line change 7
7
min-height : 100vh ;
8
8
}
9
9
10
+ #app {
11
+ padding : 1.5rem ;
12
+ }
13
+
10
14
.mp-app-content {
11
15
position : relative ;
12
16
min-height : calc (100vh - 6.5rem );
@@ -60,6 +64,11 @@ h1:not(.sb-show-main h1) {
60
64
text-align : center ;
61
65
}
62
66
67
+ .basic-navbar > * {
68
+ display : inline-block ;
69
+ margin-right : 0.75rem ;
70
+ }
71
+
63
72
/* ******************************************************
64
73
65
74
Destined for overrides.scss in mp-web
You can’t perform that action at this time.
0 commit comments