diff --git a/lib/layout/page_frame.dart b/lib/layout/page_frame.dart index bf00fe7..7e0b9fe 100644 --- a/lib/layout/page_frame.dart +++ b/lib/layout/page_frame.dart @@ -32,15 +32,7 @@ class _PageFrameState extends State { } void _updateTitle() { - // NOTE: this should work, bug in Jaspr see https://github.com/schultek/jaspr/pull/110 - // _title = Router.of(context).matchList.title; - // Instead we are fixing it inline here as a workaround - final matches = Router.of(context).matchList.matches; - _title = matches.reversed.fold( - null, - (prev, match) => - prev ?? (match.route is Route ? (match.route as Route).title : null), - ); + _title = Router.of(context).matchList.title; if (_title case String title) { document.title = '$title :: Flutteristas'; } @@ -78,9 +70,7 @@ class _PageFrameState extends State { ]), footer([ followUsSection(), - p([ - text('Copyright © 2023 Flutteristas.org. All rights reserved. ') - ]), + p([text('Copyright © 2023 Flutteristas.org. All rights reserved. ')]), ]), ], ); diff --git a/pubspec.lock b/pubspec.lock index d9fee90..497a0be 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1,14 +1,6 @@ # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: - _discoveryapis_commons: - dependency: transitive - description: - name: _discoveryapis_commons - sha256: f8bb1fdbd77f3d5c1d62b5b0eca75fbf1e41bf4f6c62628f880582e2182ae45d - url: "https://pub.dev" - source: hosted - version: "1.0.6" _fe_analyzer_shared: dependency: transitive description: @@ -17,14 +9,6 @@ packages: url: "https://pub.dev" source: hosted version: "61.0.0" - _flutterfire_internals: - dependency: transitive - description: - name: _flutterfire_internals - sha256: "1a5e13736d59235ce0139621b4bbe29bc89839e202409081bc667eb3cd20674c" - url: "https://pub.dev" - source: hosted - version: "1.3.5" analyzer: dependency: transitive description: @@ -49,14 +33,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.4.2" - asn1lib: - dependency: transitive - description: - name: asn1lib - sha256: "21afe4333076c02877d14f4a89df111e658a6d466cbfc802eb705eb91bd5adfd" - url: "https://pub.dev" - source: hosted - version: "1.5.0" async: dependency: transitive description: @@ -149,10 +125,10 @@ packages: dependency: "direct dev" description: name: build_web_compilers - sha256: "49270bd113959ac061512d2bdf0046cf97395b88b04a6baed2b9b276c88559ec" + sha256: "66a068988c1c409021a2fe646f428c362ab49021bbf2380b6965a34fbc90c8f8" url: "https://pub.dev" source: hosted - version: "4.0.5" + version: "4.0.6" built_collection: dependency: transitive description: @@ -169,14 +145,6 @@ packages: url: "https://pub.dev" source: hosted version: "8.6.1" - characters: - dependency: transitive - description: - name: characters - sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" - url: "https://pub.dev" - source: hosted - version: "1.3.0" checked_yaml: dependency: transitive description: @@ -225,14 +193,6 @@ packages: url: "https://pub.dev" source: hosted version: "3.0.3" - crypto_keys: - dependency: transitive - description: - name: crypto_keys - sha256: acc19abf34623d990a0e8aec69463d74a824c31f137128f42e2810befc509ad0 - url: "https://pub.dev" - source: hosted - version: "0.3.0+1" csslib: dependency: transitive description: @@ -249,22 +209,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.3.2" - expressions: - dependency: transitive - description: - name: expressions - sha256: "75ca4343f9f8a38087bea130cf51395d737d87c6947cc19cbb8fb2732cae1a27" - url: "https://pub.dev" - source: hosted - version: "0.2.5" - fake_async: - dependency: transitive - description: - name: fake_async - sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" - url: "https://pub.dev" - source: hosted - version: "1.3.1" file: dependency: transitive description: @@ -273,62 +217,6 @@ packages: url: "https://pub.dev" source: hosted version: "7.0.0" - firebase_core: - dependency: "direct main" - description: - name: firebase_core - sha256: c78132175edda4bc532a71e01a32964e4b4fcf53de7853a422d96dac3725f389 - url: "https://pub.dev" - source: hosted - version: "2.15.1" - firebase_core_platform_interface: - dependency: transitive - description: - name: firebase_core_platform_interface - sha256: b63e3be6c96ef5c33bdec1aab23c91eb00696f6452f0519401d640938c94cba2 - url: "https://pub.dev" - source: hosted - version: "4.8.0" - firebase_core_web: - dependency: transitive - description: - name: firebase_core_web - sha256: "4cf4d2161530332ddc3c562f19823fb897ff37a9a774090d28df99f47370e973" - url: "https://pub.dev" - source: hosted - version: "2.7.0" - firebase_dart: - dependency: "direct main" - description: - name: firebase_dart - sha256: "705a4b3f19402d9e4b61ec93bb3b8e0ef80f77b1d84331a774e651c874f97a2f" - url: "https://pub.dev" - source: hosted - version: "1.0.11" - firebase_database: - dependency: "direct main" - description: - name: firebase_database - sha256: "61d4f75599382194e5a5617e606f61ea5fe092315c61976fab9d3bd7b291e23c" - url: "https://pub.dev" - source: hosted - version: "10.2.5" - firebase_database_platform_interface: - dependency: transitive - description: - name: firebase_database_platform_interface - sha256: "951738c448a01a9aca2b72b59bf9ebd769a59e49cbae8a5b376e9bdd0ccba3de" - url: "https://pub.dev" - source: hosted - version: "0.2.5+5" - firebase_database_web: - dependency: transitive - description: - name: firebase_database_web - sha256: fcbd0fc83cabd529b88723d6721d10d7a88d10480fd93904513e60e32c5016d1 - url: "https://pub.dev" - source: hosted - version: "0.2.3+5" fixnum: dependency: transitive description: @@ -337,21 +225,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.0" - flutter: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" - flutter_test: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" - flutter_web_plugins: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" frontend_server_client: dependency: transitive description: @@ -368,22 +241,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.2" - googleapis: - dependency: transitive - description: - name: googleapis - sha256: dfea9984f0785ed445ba78e2aa8c55dadd86d6a60ea9e0ffbadad51edb5e7e36 - url: "https://pub.dev" - source: hosted - version: "9.2.0" - googleapis_auth: - dependency: transitive - description: - name: googleapis_auth - sha256: af7c3a3edf9d0de2e1e0a77e994fae0a581c525fa7012af4fa0d4a52ed9484da - url: "https://pub.dev" - source: hosted - version: "1.4.1" graphs: dependency: transitive description: @@ -392,14 +249,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.3.1" - hive: - dependency: transitive - description: - name: hive - sha256: "8dcf6db979d7933da8217edcec84e9df1bdb4e4edc7fc77dbd5aa74356d6d941" - url: "https://pub.dev" - source: hosted - version: "2.2.3" hotreloader: dependency: transitive description: @@ -417,13 +266,13 @@ packages: source: hosted version: "0.15.4" http: - dependency: transitive + dependency: "direct main" description: name: http - sha256: "5895291c13fa8a3bd82e76d5627f69e0d85ca6a30dcac95c4ea19a5d555879c2" + sha256: "759d1a329847dd0f39226c688d3e06a6b8679668e350e2891a6474f8b4bb8525" url: "https://pub.dev" source: hosted - version: "0.13.6" + version: "1.1.0" http_multi_server: dependency: transitive description: @@ -441,13 +290,13 @@ packages: source: hosted version: "4.0.2" intl: - dependency: transitive + dependency: "direct main" description: name: intl - sha256: "910f85bce16fb5c6f614e117efa303e85a1731bb0081edf3604a2ae6e9a3cc91" + sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d" url: "https://pub.dev" source: hosted - version: "0.17.0" + version: "0.18.1" io: dependency: transitive description: @@ -460,34 +309,26 @@ packages: dependency: "direct main" description: name: jaspr - sha256: "6c24aa95a1e2b63175b40bdbe42a65800fdf643c7eab24a9c77a3dbc55119512" + sha256: "0b3793436473dda5ac82ffccb13e6fccb7e04de83593f632641c846c1a2164a9" url: "https://pub.dev" source: hosted - version: "0.8.1" + version: "0.9.0" jaspr_builder: dependency: "direct dev" description: name: jaspr_builder - sha256: "7a95b7f56ed430fed48b9a903d776c39303803bd23483f36e922a87a30528ce2" + sha256: "9a9f9ca7f6c8c34ddccc1aeb0a2355f9a595163276bb61b2b1c424df63f2fdcf" url: "https://pub.dev" source: hosted - version: "0.8.1" + version: "0.9.0" jaspr_router: dependency: "direct main" description: name: jaspr_router - sha256: "552906bdcff667a8ac20710fd8a686fa084d47c696e31b0377a2cc2910c5980a" - url: "https://pub.dev" - source: hosted - version: "0.2.3" - jose: - dependency: transitive - description: - name: jose - sha256: "7955ec5d131960104e81fbf151abacb9d835c16c9e793ed394b2809f28b2198d" + sha256: "11d10b7243ab41f2b9c085d27dabbd0a261fde69a6c1f2458634c214d3cfe432" url: "https://pub.dev" source: hosted - version: "0.3.4" + version: "0.3.0" js: dependency: transitive description: @@ -528,14 +369,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.12.16" - material_color_utilities: - dependency: transitive - description: - name: material_color_utilities - sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" - url: "https://pub.dev" - source: hosted - version: "0.5.0" meta: dependency: transitive description: @@ -552,14 +385,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.0.4" - openid_client: - dependency: transitive - description: - name: openid_client - sha256: "514c0ba645b81029c28999831a70cb055dda1a3bc60be759a04d2556f60ec960" - url: "https://pub.dev" - source: hosted - version: "0.4.7" package_config: dependency: transitive description: @@ -576,22 +401,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.8.3" - petitparser: - dependency: transitive - description: - name: petitparser - sha256: cb3798bef7fc021ac45b308f4b51208a152792445cce0448c9a4ba5879dd8750 - url: "https://pub.dev" - source: hosted - version: "5.4.0" - plugin_platform_interface: - dependency: transitive - description: - name: plugin_platform_interface - sha256: da3fdfeccc4d4ff2da8f8c556704c08f912542c5fb3cf2233ed75372384a034d - url: "https://pub.dev" - source: hosted - version: "2.1.6" pointycastle: dependency: transitive description: @@ -632,22 +441,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.2.3" - quiver: - dependency: transitive - description: - name: quiver - sha256: b1c1ac5ce6688d77f65f3375a9abb9319b3cb32486bdc7a1e0fdf004d7ba4e47 - url: "https://pub.dev" - source: hosted - version: "3.2.1" - rxdart: - dependency: transitive - description: - name: rxdart - sha256: "0c7c0cedd93788d996e33041ffecda924cc54389199cde4e6a34b440f50044cb" - url: "https://pub.dev" - source: hosted - version: "0.27.7" scratch_space: dependency: transitive description: @@ -696,19 +489,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.0.4" - sky_engine: - dependency: transitive - description: flutter - source: sdk - version: "0.0.99" - sortedmap: - dependency: transitive - description: - name: sortedmap - sha256: "8c9e19b93c7e1b4d795776a02719df229606cb57f46f857a7f6eb80c97fc0600" - url: "https://pub.dev" - source: hosted - version: "0.5.3" source_gen: dependency: transitive description: @@ -765,14 +545,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.2.0" - synchronized: - dependency: transitive - description: - name: synchronized - sha256: "5fcbd27688af6082f5abd611af56ee575342c30e87541d0245f7ff99faa02c60" - url: "https://pub.dev" - source: hosted - version: "3.1.0" term_glyph: dependency: transitive description: @@ -805,22 +577,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.3.2" - uuid: - dependency: transitive - description: - name: uuid - sha256: "648e103079f7c64a36dc7d39369cabb358d377078a051d6ae2ad3aa539519313" - url: "https://pub.dev" - source: hosted - version: "3.0.7" - vector_math: - dependency: transitive - description: - name: vector_math - sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" - url: "https://pub.dev" - source: hosted - version: "2.1.4" vm_service: dependency: transitive description: @@ -837,14 +593,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.0" - web: - dependency: transitive - description: - name: web - sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 - url: "https://pub.dev" - source: hosted - version: "0.1.4-beta" web_socket_channel: dependency: transitive description: @@ -853,14 +601,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.4.0" - x509: - dependency: transitive - description: - name: x509 - sha256: "6db77b0baecf54584f886607247e9dedd9fd63f1e2d0ee0a00b5bb353fd7885f" - url: "https://pub.dev" - source: hosted - version: "0.2.3" yaml: dependency: transitive description: @@ -871,4 +611,3 @@ packages: version: "3.1.2" sdks: dart: ">=3.1.0 <3.3.0" - flutter: ">=3.3.0" diff --git a/pubspec.yaml b/pubspec.yaml index e7639db..cb3036f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,24 +1,23 @@ name: flutteristas description: flutteristas.com site +repository: https://github.com/TheFlutteristas/flutteristas_website_dev version: 1.0.0 -# repository: https://github.com/my_org/my_repo environment: sdk: ^3.1.0 dependencies: firebase_dart: ^1.0.11 - jaspr: ^0.8.1 - jaspr_router: ^0.2.3 firebase_core: ^2.15.0 firebase_database: ^10.2.5 - + jaspr: ^0.9.0 + jaspr_router: ^0.3.0 dev_dependencies: build_runner: ^2.4.6 - jaspr_builder: ^0.8.1 - build_web_compilers: ^4.0.5 + jaspr_builder: ^0.9.0 + build_web_compilers: ^4.0.6 lints: ^2.1.1 jaspr: - uses-ssr: false \ No newline at end of file + uses-ssr: false