File tree Expand file tree Collapse file tree 4 files changed +20
-8
lines changed Expand file tree Collapse file tree 4 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 2
2
/* Style Sheet for Nav.jsx */
3
3
/* -------------------------------------------------------------------------- */
4
4
5
- .logo {
5
+ .logo-text {
6
6
width : 20% ;
7
7
margin : 1.25rem 2rem ;
8
8
9
9
@media screen and (max-width : 1024px ) {
10
10
width : 30% ;
11
11
@media screen and (max-width : 768px ) {
12
- width : 40% ;
13
- @media screen and (max-width : 500px ) {
14
- width : 50% ;
15
- }
12
+ display : none;
13
+ }
14
+ }
15
+ }
16
+
17
+ .logo-mascot {
18
+ display : none;
19
+ width : 20% ;
20
+ margin : 1.25rem 2rem ;
21
+
22
+ @media screen and (max-width : 768px ) {
23
+ display : flex;
24
+ @media screen and (max-width : 500px ) {
25
+ width : 50% ;
16
26
}
17
27
}
18
28
}
64
74
65
75
.github-stars-badge {
66
76
height : 28px ;
67
- }
77
+ }
Original file line number Diff line number Diff line change 3
3
/* -------------------------------------------------------------------------- */
4
4
5
5
import "./Nav.css" ;
6
- import ramalamaLogo from "./assets/ramalama-logo-text-only.svg" ;
6
+ import ramalamaText from "./assets/ramalama-logo-text-only.svg" ;
7
+ import ramalamaLogo from "./assets/ramalama-logo-llama-only.svg" ;
7
8
8
9
const Navbar = ( ) => {
9
10
return (
10
11
< nav className = "navbar" >
11
12
< div className = "navbar-left" >
12
13
< a href = "" >
13
- < img className = "logo" src = { ramalamaLogo } alt = "RamaLama Logo" > </ img >
14
+ < img className = "logo-text" src = { ramalamaText } alt = "RamaLama Logo" > </ img >
15
+ < img className = "logo-mascot" src = { ramalamaLogo } alt = "RamaLama Logo" > </ img >
14
16
</ a >
15
17
</ div >
16
18
< div className = "navbar-middle" > </ div >
You can’t perform that action at this time.
0 commit comments