mirror of
https://gitlab.com/moepoi/moepoi.dev.git
synced 2025-04-27 05:26:20 +02:00
Add ENS
This commit is contained in:
parent
7bc44d5358
commit
dd29aed820
3 changed files with 80 additions and 19 deletions
47
assets/images/home/ens.svg
Normal file
47
assets/images/home/ens.svg
Normal file
|
@ -0,0 +1,47 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 26.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 72.7 80.9" style="enable-background:new 0 0 72.7 80.9;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:url(#SVGID_1_);}
|
||||
.st1{fill:#A0A8D4;}
|
||||
.st2{fill:url(#SVGID_00000126304071991490873630000002617752381872039852_);}
|
||||
.st3{fill:url(#SVGID_00000068669604918486981050000001222478685288558482_);}
|
||||
</style>
|
||||
<g>
|
||||
<g id="Layer_1_00000049216471798175502890000006318023516466656703_">
|
||||
|
||||
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="42.0416" y1="762.5881" x2="12.66" y2="794.4399" gradientTransform="matrix(1 0 0 1 -6 -761.64)">
|
||||
<stop offset="0.58" style="stop-color:#A0A8D4"/>
|
||||
<stop offset="0.73" style="stop-color:#8791C7"/>
|
||||
<stop offset="0.91" style="stop-color:#6470B4"/>
|
||||
</linearGradient>
|
||||
<path class="st0" d="M9.3,32.8c0.8,1.7,2.8,5.1,2.8,5.1L35,0L12.7,15.6c-1.3,0.9-2.4,2.1-3.2,3.5C7.4,23.4,7.4,28.4,9.3,32.8z"/>
|
||||
<path class="st1" d="M0.3,45.2c0.5,7.3,4.2,14.1,10,18.5L35,80.9c0,0-15.5-22.3-28.5-44.5c-1.3-2.3-2.2-4.9-2.6-7.6
|
||||
c-0.2-1.2-0.2-2.4,0-3.6c-0.3,0.6-1,1.9-1,1.9c-1.3,2.7-2.2,5.6-2.7,8.6C-0.1,38.9-0.1,42.1,0.3,45.2z"/>
|
||||
|
||||
<linearGradient id="SVGID_00000041290057621389763610000007807030157455862694_" gradientUnits="userSpaceOnUse" x1="42.6586" y1="841.6585" x2="72.0292" y2="809.8294" gradientTransform="matrix(1 0 0 1 -6 -761.64)">
|
||||
<stop offset="0.58" style="stop-color:#A0A8D4"/>
|
||||
<stop offset="0.73" style="stop-color:#8791C7"/>
|
||||
<stop offset="0.91" style="stop-color:#6470B4"/>
|
||||
</linearGradient>
|
||||
<path style="fill:url(#SVGID_00000041290057621389763610000007807030157455862694_);" d="M63.3,48.2c-0.8-1.7-2.8-5.1-2.8-5.1
|
||||
L37.6,80.9L60,65.4c1.3-0.9,2.4-2.1,3.2-3.5C65.2,57.6,65.3,52.6,63.3,48.2z"/>
|
||||
<path class="st1" d="M72.4,35.7c-0.5-7.3-4.2-14.1-10-18.5L37.7,0c0,0,15.5,22.3,28.5,44.5c1.3,2.3,2.2,4.9,2.6,7.6
|
||||
c0.2,1.2,0.2,2.4,0,3.6c0.3-0.6,1-1.9,1-1.9c1.3-2.7,2.2-5.6,2.7-8.5C72.7,42,72.7,38.9,72.4,35.7z"/>
|
||||
|
||||
<linearGradient id="SVGID_00000083789650806173036420000010692886349605777067_" gradientUnits="userSpaceOnUse" x1="42.3226" y1="761.2401" x2="42.3226" y2="842.84" gradientTransform="matrix(1 0 0 1 -6 -761.64)">
|
||||
<stop offset="0" style="stop-color:#513EFF"/>
|
||||
<stop offset="0.18" style="stop-color:#5157FF"/>
|
||||
<stop offset="0.57" style="stop-color:#5298FF"/>
|
||||
<stop offset="1" style="stop-color:#52E5FF"/>
|
||||
</linearGradient>
|
||||
<path style="fill:url(#SVGID_00000083789650806173036420000010692886349605777067_);" d="M9.5,19.1c0.8-1.4,1.8-2.6,3.2-3.5L35,0
|
||||
L12.1,37.8c0,0-2-3.4-2.8-5.1C7.4,28.4,7.4,23.4,9.5,19.1z M0.3,45.2c0.5,7.3,4.2,14.1,10,18.5L35,80.9c0,0-15.5-22.3-28.5-44.5
|
||||
c-1.3-2.3-2.2-4.9-2.6-7.6c-0.2-1.2-0.2-2.4,0-3.6c-0.3,0.6-1,1.9-1,1.9c-1.3,2.7-2.2,5.6-2.7,8.6C-0.1,38.9-0.1,42.1,0.3,45.2z
|
||||
M63.3,48.2c-0.8-1.7-2.8-5.1-2.8-5.1L37.6,80.9L60,65.4c1.3-0.9,2.4-2.1,3.2-3.5C65.2,57.6,65.3,52.6,63.3,48.2L63.3,48.2z
|
||||
M72.3,35.8c-0.5-7.3-4.2-14.1-10-18.5L37.7,0c0,0,15.5,22.3,28.5,44.5c1.3,2.3,2.2,4.9,2.6,7.6c0.2,1.2,0.2,2.4,0,3.6
|
||||
c0.3-0.6,1-1.9,1-1.9c1.3-2.7,2.2-5.6,2.7-8.5C72.7,42,72.7,38.9,72.3,35.8L72.3,35.8z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After (image error) Size: 3.3 KiB |
|
@ -152,6 +152,27 @@ class _HomeState extends State<Home> {
|
|||
fit: BoxFit.contain,
|
||||
semanticsLabel: 'IpInfo',
|
||||
),
|
||||
)),
|
||||
const SizedBox(
|
||||
width: 10.0,
|
||||
),
|
||||
Flexible(
|
||||
flex: 1,
|
||||
child: InkWell(
|
||||
splashFactory: NoSplash.splashFactory,
|
||||
onTap: () async {
|
||||
if (!await launchUrl(Uri.parse(
|
||||
'https://etherscan.io/enslookup-search?search=moepoi.eth'))) {
|
||||
throw 'Could not launch';
|
||||
}
|
||||
},
|
||||
child: SvgPicture.asset(
|
||||
'assets/images/home/ens.svg',
|
||||
height: 40,
|
||||
width: 40,
|
||||
fit: BoxFit.contain,
|
||||
semanticsLabel: 'ENS',
|
||||
),
|
||||
))
|
||||
],
|
||||
),
|
||||
|
|
31
pubspec.lock
31
pubspec.lock
|
@ -21,7 +21,7 @@ packages:
|
|||
name: async
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.8.2"
|
||||
version: "2.9.0"
|
||||
boolean_selector:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -35,21 +35,14 @@ packages:
|
|||
name: characters
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.2.0"
|
||||
charcode:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: charcode
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.3.1"
|
||||
version: "1.2.1"
|
||||
clock:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: clock
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.1.0"
|
||||
version: "1.1.1"
|
||||
collection:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -77,7 +70,7 @@ packages:
|
|||
name: fake_async
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.3.0"
|
||||
version: "1.3.1"
|
||||
flutter:
|
||||
dependency: "direct main"
|
||||
description: flutter
|
||||
|
@ -141,21 +134,21 @@ packages:
|
|||
name: matcher
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.12.11"
|
||||
version: "0.12.12"
|
||||
material_color_utilities:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: material_color_utilities
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.1.4"
|
||||
version: "0.1.5"
|
||||
meta:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: meta
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.7.0"
|
||||
version: "1.8.0"
|
||||
page_transition:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
@ -169,7 +162,7 @@ packages:
|
|||
name: path
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.8.1"
|
||||
version: "1.8.2"
|
||||
path_drawing:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -209,7 +202,7 @@ packages:
|
|||
name: source_span
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.8.2"
|
||||
version: "1.9.0"
|
||||
stack_trace:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -230,21 +223,21 @@ packages:
|
|||
name: string_scanner
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.1.0"
|
||||
version: "1.1.1"
|
||||
term_glyph:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: term_glyph
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.2.0"
|
||||
version: "1.2.1"
|
||||
test_api:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: test_api
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.4.9"
|
||||
version: "0.4.12"
|
||||
typed_data:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
Loading…
Add table
Reference in a new issue