1 | "use strict";
|
2 |
|
3 | var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4 |
|
5 | Object.defineProperty(exports, "__esModule", {
|
6 | value: true
|
7 | });
|
8 | exports.Logo = exports.ListItem = exports.NavItem = exports.NavList = exports.MenuContainer = exports.LogoContainer = exports.Wrapper = void 0;
|
9 |
|
10 | var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
11 |
|
12 | var _styledComponents = _interopRequireDefault(require("styled-components"));
|
13 |
|
14 | var _reactScroll = require("react-scroll");
|
15 |
|
16 | function _templateObject7() {
|
17 | var data = (0, _taggedTemplateLiteral2["default"])(["\n width: auto;\n height: 100px;\n object-fit: contain;\n cursor: pointer;\n\n @media all and (min-width: 320px) and (max-width: 768px) {\n justify-content: center;\n align-items: center;\n height: 100px;\n margin: 0 auto;\n width: auto;\n margin-top: -30px;\n }\n\n @media all and (min-width: 768px) and (max-width: 1024px) {\n margin: 0 auto;\n width: auto;\n margin-top: -10px;\n padding: 0;\n }\n"]);
|
18 |
|
19 | _templateObject7 = function _templateObject7() {
|
20 | return data;
|
21 | };
|
22 |
|
23 | return data;
|
24 | }
|
25 |
|
26 | function _templateObject6() {
|
27 | var data = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n width: 450px;\n padding-left: 6rem;\n\n @media all and (min-width: 320px) and (max-width: 768px) {\n justify-content: center;\n align-items: center;\n padding-left: 0;\n }\n\n @media all and (min-width: 768px) and (max-width: 1024px) {\n margin: 0 auto;\n padding: 0;\n width: 50%;\n padding-left: 0;\n }\n"]);
|
28 |
|
29 | _templateObject6 = function _templateObject6() {
|
30 | return data;
|
31 | };
|
32 |
|
33 | return data;
|
34 | }
|
35 |
|
36 | function _templateObject5() {
|
37 | var data = (0, _taggedTemplateLiteral2["default"])(["\n cursor: pointer;\n color: ", ";\n"]);
|
38 |
|
39 | _templateObject5 = function _templateObject5() {
|
40 | return data;
|
41 | };
|
42 |
|
43 | return data;
|
44 | }
|
45 |
|
46 | function _templateObject4() {
|
47 | var data = (0, _taggedTemplateLiteral2["default"])(["\n display: block;\n line-height: 22px;\n padding: 10px 15px;\n color: ", ";\n font-weight: 700;\n font-size: 13px;\n letter-spacing: 1px;\n text-transform: uppercase;\n font-family: Raleway, sans-serif;\n cursor: pointer;\n text-decoration: none;\n position: relative;\n\n &:hover {\n color: ", ";\n }\n\n > .active {\n padding-bottom: 0.75rem;\n border-bottom: 2px solid ", ";\n }\n\n &:before {\n content: '';\n position: absolute;\n width: 100%;\n height: 2px;\n border-radius: 10px;\n bottom: 0;\n left: 0;\n background-color: ", ";\n visibility: hidden;\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n -webkit-transition: all 0.25s cubic-bezier(1, 0.25, 0, 0.75) 0s;\n transition: all 0.25s cubic-bezier(1, 0.25, 0, 0.75) 0s;\n }\n\n &:hover:before {\n visibility: visible;\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n }\n"]);
|
48 |
|
49 | _templateObject4 = function _templateObject4() {
|
50 | return data;
|
51 | };
|
52 |
|
53 | return data;
|
54 | }
|
55 |
|
56 | function _templateObject3() {
|
57 | var data = (0, _taggedTemplateLiteral2["default"])(["\n list-style-type: none;\n display: flex;\n justify-content: flex-end;\n margin: 0;\n padding-right: 2rem;\n height: 120px;\n align-items: center;\n\n @media all and (min-width: 320px) and (max-width: 768px) {\n width: 100%;\n }\n\n @media all and (min-width: 768px) and (max-width: 1024px) {\n width: 100%;\n margin-right: 0;\n padding: 0;\n height: 6rem;\n }\n"]);
|
58 |
|
59 | _templateObject3 = function _templateObject3() {
|
60 | return data;
|
61 | };
|
62 |
|
63 | return data;
|
64 | }
|
65 |
|
66 | function _templateObject2() {
|
67 | var data = (0, _taggedTemplateLiteral2["default"])(["\n flex: 1;\n flex-direction: row;\n"]);
|
68 |
|
69 | _templateObject2 = function _templateObject2() {
|
70 | return data;
|
71 | };
|
72 |
|
73 | return data;
|
74 | }
|
75 |
|
76 | function _templateObject() {
|
77 | var data = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n z-index: 15000;\n height: 120px;\n background-color: ", ";\n"]);
|
78 |
|
79 | _templateObject = function _templateObject() {
|
80 | return data;
|
81 | };
|
82 |
|
83 | return data;
|
84 | }
|
85 |
|
86 | var Wrapper = _styledComponents["default"].div(_templateObject(), function (_ref) {
|
87 | var background = _ref.background;
|
88 | return background || 'transparent';
|
89 | });
|
90 |
|
91 | exports.Wrapper = Wrapper;
|
92 |
|
93 | var MenuContainer = _styledComponents["default"].div(_templateObject2());
|
94 |
|
95 | exports.MenuContainer = MenuContainer;
|
96 |
|
97 | var NavList = _styledComponents["default"].ul(_templateObject3());
|
98 |
|
99 | exports.NavList = NavList;
|
100 |
|
101 | var ListItem = _styledComponents["default"].li(_templateObject4(), function (_ref2) {
|
102 | var color = _ref2.color;
|
103 | return color || 'white';
|
104 | }, function (_ref3) {
|
105 | var color = _ref3.color;
|
106 | return color || 'white';
|
107 | }, function (_ref4) {
|
108 | var color = _ref4.color;
|
109 | return color || 'white';
|
110 | }, function (_ref5) {
|
111 | var color = _ref5.color;
|
112 | return color || 'white';
|
113 | });
|
114 |
|
115 | exports.ListItem = ListItem;
|
116 | var NavItem = (0, _styledComponents["default"])(_reactScroll.Link)(_templateObject5(), function (_ref6) {
|
117 | var color = _ref6.color;
|
118 | return color || 'white';
|
119 | });
|
120 | exports.NavItem = NavItem;
|
121 |
|
122 | var LogoContainer = _styledComponents["default"].div(_templateObject6());
|
123 |
|
124 | exports.LogoContainer = LogoContainer;
|
125 |
|
126 | var Logo = _styledComponents["default"].img(_templateObject7());
|
127 |
|
128 | exports.Logo = Logo; |
\ | No newline at end of file |