Skip to content

Commit 7b66824

Browse files
committed
fix: set revalidation time, fix subnav height
1 parent 394ff07 commit 7b66824

File tree

7 files changed

+15
-149
lines changed

7 files changed

+15
-149
lines changed

components/molecules/Logo/styles.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
width: auto;
99

1010
& > img {
11+
height: 100%;
1112
max-height: 100%;
1213
}
1314
}

components/organisms/Header/_subnavigation.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
top: 0;
1515
left: 0;
1616
width: functions.header(nav-width-mobile);
17-
height: 100%;
1817

1918
&--is-active {
2019
transform: translateX(-100%);

components/svg/unique/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import Arrow from "./Arrow";
22
import Cloudy from "./weather/Cloudy";
33
import CloudyPartial from "./weather/CloudyPartial";
44
import Gear from "./Gear";
5-
import Logo from "./site/Logo";
6-
import LogoFullSize from "./site/LogoFullSize";
75
import Rain from "./weather/Rain";
86
import RainHeavy from "./weather/RainHeavy";
97
import RainLight from "./weather/RainLight";
@@ -17,8 +15,6 @@ export default {
1715
Cloudy,
1816
CloudyPartial,
1917
Gear,
20-
Logo,
21-
LogoFullSize,
2218
Rain,
2319
RainHeavy,
2420
RainLight,

components/svg/unique/site/Logo.js

Lines changed: 0 additions & 35 deletions
This file was deleted.

components/svg/unique/site/LogoFullSize.js

Lines changed: 0 additions & 79 deletions
This file was deleted.

lib/api/globals/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export async function getLogos() {
4141
const { data } = await queryAPI({
4242
query,
4343
variables: { set: "siteInfo" },
44-
fetchOptions: { next: { tags: [tags.globals] } },
44+
fetchOptions: { next: { tags: [tags.globals], revalidate: 60 * 60 } },
4545
});
4646

4747
if (!data || !data.siteInfo) {

yarn.lock

Lines changed: 13 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10851,7 +10851,16 @@ postcss@8.4.38:
1085110851
picocolors "^1.0.0"
1085210852
source-map-js "^1.2.0"
1085310853

10854-
postcss@^8.2.14, postcss@^8.3.11, postcss@^8.4.14, postcss@^8.4.19, postcss@^8.4.21, postcss@^8.4.24:
10854+
postcss@^8.0.0, postcss@^8.4.28, postcss@^8.4.35:
10855+
version "8.4.49"
10856+
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.49.tgz#4ea479048ab059ab3ae61d082190fabfd994fe19"
10857+
integrity sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==
10858+
dependencies:
10859+
nanoid "^3.3.7"
10860+
picocolors "^1.1.1"
10861+
source-map-js "^1.2.1"
10862+
10863+
postcss@^8.2.14, postcss@^8.3.11, postcss@^8.4.14, postcss@^8.4.19, postcss@^8.4.21:
1085510864
version "8.4.47"
1085610865
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.47.tgz#5bf6c9a010f3e724c503bf03ef7947dcb0fea365"
1085710866
integrity sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==
@@ -12234,16 +12243,7 @@ string-argv@^0.3.1:
1223412243
resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da"
1223512244
integrity sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==
1223612245

12237-
"string-width-cjs@npm:string-width@^4.2.0":
12238-
version "4.2.3"
12239-
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
12240-
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
12241-
dependencies:
12242-
emoji-regex "^8.0.0"
12243-
is-fullwidth-code-point "^3.0.0"
12244-
strip-ansi "^6.0.1"
12245-
12246-
"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3:
12246+
"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3:
1224712247
version "4.2.3"
1224812248
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
1224912249
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -12390,7 +12390,7 @@ string_decoder@~1.1.1:
1239012390
dependencies:
1239112391
safe-buffer "~5.1.0"
1239212392

12393-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
12393+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
1239412394
version "6.0.1"
1239512395
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
1239612396
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -12411,13 +12411,6 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0:
1241112411
dependencies:
1241212412
ansi-regex "^4.1.0"
1241312413

12414-
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
12415-
version "6.0.1"
12416-
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
12417-
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
12418-
dependencies:
12419-
ansi-regex "^5.0.1"
12420-
1242112414
strip-ansi@^7.0.1:
1242212415
version "7.0.1"
1242312416
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.0.1.tgz#61740a08ce36b61e50e65653f07060d000975fb2"
@@ -13601,7 +13594,7 @@ wordwrap@^1.0.0:
1360113594
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb"
1360213595
integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==
1360313596

13604-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
13597+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
1360513598
version "7.0.0"
1360613599
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
1360713600
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -13628,15 +13621,6 @@ wrap-ansi@^6.2.0:
1362813621
string-width "^4.1.0"
1362913622
strip-ansi "^6.0.0"
1363013623

13631-
wrap-ansi@^7.0.0:
13632-
version "7.0.0"
13633-
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
13634-
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
13635-
dependencies:
13636-
ansi-styles "^4.0.0"
13637-
string-width "^4.1.0"
13638-
strip-ansi "^6.0.0"
13639-
1364013624
wrap-ansi@^8.1.0:
1364113625
version "8.1.0"
1364213626
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"

0 commit comments

Comments
 (0)