Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Re-uploaded images using ibb so that they will be loaded in production #129

Merged
merged 1 commit into from
Oct 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/presentation/home_page/home_page_content_desktop.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ class HomePageContentDesktop extends StatelessWidget {
final ScrollController _scrollController = ScrollController();

final List<String> companysLogs = [
'https://play-lh.googleusercontent.com/k61DT9oYt_BPdzjAFokLY5e-He-YSl7-eZHeieaVO45XDAwQ6ebegsS_ZsQytca2zWM=s180',
'https://play-lh.googleusercontent.com/KGM9NYnyox9TXwoaY3PKl1PfQ2rTPp1rnpNNtmlbgozJZykhZhGKsL3z9myoj4ccayLS=s180',
'https://play-lh.googleusercontent.com/bteU9OSFF9z596eUOkGgM3XpWF2-b1VsKvmwWFitaI4qMwVPmx3lS09fHFDx8-CX3Q=s180',
'https://play-lh.googleusercontent.com/Qrq9zB_-bWuAD0ETPeBRTsRHOSjmW_uzmexY5rF7wo2JeNc-oLuvsQSYdg0Uxsq6mkA=s180',
'https://i.ibb.co/2qN6yJW/lifx-logo.png',
'https://i.ibb.co/jJ20vch/tuya-smart-logo.png',
'https://i.ibb.co/C20VvvB/yeelight-logo.png',
'https://i.ibb.co/fpFwsdR/smart-life-logo.png',
'https://i.ibb.co/hfRhB0Q/mqtt-logo.png',
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ class SupportedVendorsTileGridView extends StatelessWidget {
crossAxisCount: 3,
children: [
SupportedVendorsTileGridViewNetworkImage(
'https://play-lh.googleusercontent.com/bteU9OSFF9z596eUOkGgM3XpWF2-b1VsKvmwWFitaI4qMwVPmx3lS09fHFDx8-CX3Q=s180',
'https://i.ibb.co/C20VvvB/yeelight-logo.png',
),
SupportedVendorsTileGridViewNetworkImage(
'https://play-lh.googleusercontent.com/k61DT9oYt_BPdzjAFokLY5e-He-YSl7-eZHeieaVO45XDAwQ6ebegsS_ZsQytca2zWM=s180',
'https://i.ibb.co/2qN6yJW/lifx-logo.png',
),

SupportedVendorsTileGridViewNetworkImage(
'https://play-lh.googleusercontent.com/KGM9NYnyox9TXwoaY3PKl1PfQ2rTPp1rnpNNtmlbgozJZykhZhGKsL3z9myoj4ccayLS=s180',
'https://i.ibb.co/jJ20vch/tuya-smart-logo.png',
),
// SupportedVendorsTileGridViewNetworkImage(
// 'https://i.ibb.co/hfRhB0Q/mqtt-logo.png',
Expand All @@ -34,7 +34,7 @@ class SupportedVendorsTileGridView extends StatelessWidget {
// ),
//
// SupportedVendorsTileGridViewNetworkImage(
// 'https://play-lh.googleusercontent.com/8L6vVAT2cC78V622nxSznr7Mm_MgMsH25TopH-ZIm5HMwAHRy0qTX29FlHF6_kbBsQ=s180',
// 'https://i.ibb.co/q9psvjY/switcher-logo.png',
// ),
// SupportedVendorsTileGridViewNetworkImage(
// 'https://i.ibb.co/W2YG23s/ESPHome-logo.png',
Expand All @@ -61,7 +61,7 @@ class SupportedVendorsTileGridViewNetworkImage extends StatelessWidget {
progressIndicatorBuilder: (context, url, downloadProgress) =>
CircularProgressIndicator(value: downloadProgress.progress),
errorWidget: (context, url, error) {
logger.e('Error loading image\n$error');
logger.e('Error loading image url $url\n$error');
return const Icon(Icons.error);
},
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,37 +68,37 @@ class IntegrationsPageContentDesktop extends StatelessWidget {
children: [
DeviceCard(
'Google',
'https://play-lh.googleusercontent.com/aFWiT2lTa9CYBpyPjfgfNHd0r5puwKRGj2rHpdPTNrz2N9LXgN_MbLjePd1OTc0E8Rl1=s180',
'https://i.ibb.co/Wsqst7Y/google-logo.png',
'https://www.google.com/chromecast/built-in/',
),
DeviceCard(
'HP',
'https://play-lh.googleusercontent.com/UF16mldRKpQUUWhRZlDnT1FjkAjWSu9NXVBEDoTgScI_eo_6yEL0oKtc2-OvPXcG3PmN=s180',
'https://i.ibb.co/8xxY6Bb/hp-logo.png',
'https://www.hp.com/us-en/home.html',
),
DeviceCard(
'Smart Life',
'https://play-lh.googleusercontent.com/Qrq9zB_-bWuAD0ETPeBRTsRHOSjmW_uzmexY5rF7wo2JeNc-oLuvsQSYdg0Uxsq6mkA=s180',
'https://i.ibb.co/fpFwsdR/smart-life-logo.png',
'https://www.tuya.com',
),
DeviceCard(
'Tuya Smart',
'https://play-lh.googleusercontent.com/KGM9NYnyox9TXwoaY3PKl1PfQ2rTPp1rnpNNtmlbgozJZykhZhGKsL3z9myoj4ccayLS=s180',
'https://i.ibb.co/jJ20vch/tuya-smart-logo.png',
'https://www.tuya.com',
),
DeviceCard(
'Xiaomi Yeelight',
'https://play-lh.googleusercontent.com/bteU9OSFF9z596eUOkGgM3XpWF2-b1VsKvmwWFitaI4qMwVPmx3lS09fHFDx8-CX3Q=s180',
'https://i.ibb.co/C20VvvB/yeelight-logo.png',
'https://www.yeelight.com',
),
DeviceCard(
'Lifx',
'https://play-lh.googleusercontent.com/k61DT9oYt_BPdzjAFokLY5e-He-YSl7-eZHeieaVO45XDAwQ6ebegsS_ZsQytca2zWM=s180',
'https://i.ibb.co/2qN6yJW/lifx-logo.png',
'https://www.lifx.com/',
),
DeviceCard(
'Switcher',
'https://play-lh.googleusercontent.com/8L6vVAT2cC78V622nxSznr7Mm_MgMsH25TopH-ZIm5HMwAHRy0qTX29FlHF6_kbBsQ=s180',
'https://i.ibb.co/q9psvjY/switcher-logo.png',
'https://switcher.co.il',
),
DeviceCard(
Expand All @@ -118,7 +118,7 @@ class IntegrationsPageContentDesktop extends StatelessWidget {
// ),
DeviceCard(
'Shelly',
'https://play-lh.googleusercontent.com/cwAyt0LIs4cyXSs2jr79xjAxsuq4KoBTZNq__gpeQvupH-8PElGn6kiddx8-WfG8wEPl=s180',
'https://i.ibb.co/yqBDqkD/shelly-logo.png',
'https://shelly.cloud/',
),
DeviceCard(
Expand All @@ -128,7 +128,7 @@ class IntegrationsPageContentDesktop extends StatelessWidget {
),
DeviceCard(
'Jinvoo Smart',
'https://play-lh.googleusercontent.com/ocFF7mcDTJzr1PXr6k4q1Q2-5xNFUVODqluwnD60DiTsHgTalrVTqi7kk0H8JnW7GLEv=s180',
'https://i.ibb.co/FsRyPCm/jinvoo-smart-logo.png',
'http://www.xenon.cn/',
),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,37 +74,37 @@ class IntegrationsPageContentMobileTablet extends StatelessWidget {
children: [
DeviceCard(
'Google',
'https://play-lh.googleusercontent.com/aFWiT2lTa9CYBpyPjfgfNHd0r5puwKRGj2rHpdPTNrz2N9LXgN_MbLjePd1OTc0E8Rl1=s180',
'https://i.ibb.co/Wsqst7Y/google-logo.png',
'https://www.google.com/chromecast/built-in/',
),
DeviceCard(
'HP',
'https://play-lh.googleusercontent.com/UF16mldRKpQUUWhRZlDnT1FjkAjWSu9NXVBEDoTgScI_eo_6yEL0oKtc2-OvPXcG3PmN=s180',
'https://i.ibb.co/8xxY6Bb/hp-logo.png',
'https://www.hp.com/us-en/home.html',
),
DeviceCard(
'Smart Life',
'https://play-lh.googleusercontent.com/Qrq9zB_-bWuAD0ETPeBRTsRHOSjmW_uzmexY5rF7wo2JeNc-oLuvsQSYdg0Uxsq6mkA=s180',
'https://i.ibb.co/fpFwsdR/smart-life-logo.png',
'https://www.tuya.com',
),
DeviceCard(
'Tuya Smart',
'https://play-lh.googleusercontent.com/KGM9NYnyox9TXwoaY3PKl1PfQ2rTPp1rnpNNtmlbgozJZykhZhGKsL3z9myoj4ccayLS=s180',
'https://i.ibb.co/jJ20vch/tuya-smart-logo.png',
'https://www.tuya.com',
),
DeviceCard(
'Xiaomi Yeelight',
'https://play-lh.googleusercontent.com/bteU9OSFF9z596eUOkGgM3XpWF2-b1VsKvmwWFitaI4qMwVPmx3lS09fHFDx8-CX3Q=s180',
'https://i.ibb.co/C20VvvB/yeelight-logo.png',
'https://www.yeelight.com',
),
DeviceCard(
'Lifx',
'https://play-lh.googleusercontent.com/k61DT9oYt_BPdzjAFokLY5e-He-YSl7-eZHeieaVO45XDAwQ6ebegsS_ZsQytca2zWM=s180',
'https://i.ibb.co/2qN6yJW/lifx-logo.png',
'https://www.lifx.com/',
),
DeviceCard(
'Switcher',
'https://play-lh.googleusercontent.com/8L6vVAT2cC78V622nxSznr7Mm_MgMsH25TopH-ZIm5HMwAHRy0qTX29FlHF6_kbBsQ=s180',
'https://i.ibb.co/q9psvjY/switcher-logo.png',
'https://switcher.co.il',
),
DeviceCard(
Expand All @@ -124,7 +124,7 @@ class IntegrationsPageContentMobileTablet extends StatelessWidget {
// ),
DeviceCard(
'Shelly',
'https://play-lh.googleusercontent.com/cwAyt0LIs4cyXSs2jr79xjAxsuq4KoBTZNq__gpeQvupH-8PElGn6kiddx8-WfG8wEPl=s180',
'https://i.ibb.co/yqBDqkD/shelly-logo.png',
'https://shelly.cloud/',
),
DeviceCard(
Expand All @@ -134,7 +134,7 @@ class IntegrationsPageContentMobileTablet extends StatelessWidget {
),
DeviceCard(
'Jinvoo Smart',
'https://play-lh.googleusercontent.com/ocFF7mcDTJzr1PXr6k4q1Q2-5xNFUVODqluwnD60DiTsHgTalrVTqi7kk0H8JnW7GLEv=s180',
'https://i.ibb.co/FsRyPCm/jinvoo-smart-logo.png',
'http://www.xenon.cn/',
),
],
Expand Down
20 changes: 10 additions & 10 deletions lib/presentation/new_home_page/widgets/home_page_first_part.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ class HomePageFirstPart extends StatelessWidget {
);

final List<String> companysLogs = [
'https://play-lh.googleusercontent.com/aFWiT2lTa9CYBpyPjfgfNHd0r5puwKRGj2rHpdPTNrz2N9LXgN_MbLjePd1OTc0E8Rl1=s180',
'https://play-lh.googleusercontent.com/Qrq9zB_-bWuAD0ETPeBRTsRHOSjmW_uzmexY5rF7wo2JeNc-oLuvsQSYdg0Uxsq6mkA=s180',
'https://play-lh.googleusercontent.com/cwAyt0LIs4cyXSs2jr79xjAxsuq4KoBTZNq__gpeQvupH-8PElGn6kiddx8-WfG8wEPl=s180',
'https://play-lh.googleusercontent.com/bteU9OSFF9z596eUOkGgM3XpWF2-b1VsKvmwWFitaI4qMwVPmx3lS09fHFDx8-CX3Q=s180',
'https://i.ibb.co/Wsqst7Y/google-logo.png',
'https://i.ibb.co/fpFwsdR/smart-life-logo.png',
'https://i.ibb.co/yqBDqkD/shelly-logo.png',
'https://i.ibb.co/C20VvvB/yeelight-logo.png',
'https://i.ibb.co/THRX9kq/node-RED-logo.png',
'https://i.ibb.co/hfRhB0Q/mqtt-logo.png',
'https://i.ibb.co/XZLGCRd/Tasmota-logo.png',
'https://play-lh.googleusercontent.com/8L6vVAT2cC78V622nxSznr7Mm_MgMsH25TopH-ZIm5HMwAHRy0qTX29FlHF6_kbBsQ=s180',
'https://play-lh.googleusercontent.com/ocFF7mcDTJzr1PXr6k4q1Q2-5xNFUVODqluwnD60DiTsHgTalrVTqi7kk0H8JnW7GLEv=s180',
'https://play-lh.googleusercontent.com/k61DT9oYt_BPdzjAFokLY5e-He-YSl7-eZHeieaVO45XDAwQ6ebegsS_ZsQytca2zWM=s180',
'https://play-lh.googleusercontent.com/KGM9NYnyox9TXwoaY3PKl1PfQ2rTPp1rnpNNtmlbgozJZykhZhGKsL3z9myoj4ccayLS=s180',
'https://play-lh.googleusercontent.com/UF16mldRKpQUUWhRZlDnT1FjkAjWSu9NXVBEDoTgScI_eo_6yEL0oKtc2-OvPXcG3PmN=s180',
'https://i.ibb.co/q9psvjY/switcher-logo.png',
'https://i.ibb.co/FsRyPCm/jinvoo-smart-logo.png',
'https://i.ibb.co/2qN6yJW/lifx-logo.png',
'https://i.ibb.co/jJ20vch/tuya-smart-logo.png',
'https://i.ibb.co/8xxY6Bb/hp-logo.png',
];

@override
Expand All @@ -47,7 +47,7 @@ class HomePageFirstPart extends StatelessWidget {

// 'https://images.macrumors.com/t/akS-rfKtypWuIFOGfmWE2nZz-ac=/1600x/http://images.macrumors.com/article-new/2017/11/lifxzlightstrips.jpg'
// 'https://www.self-build.co.uk/wp-content/uploads/2018/01/Loxone-lighting-system.png'
'https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fi.pinimg.com%2Foriginals%2F79%2Fd3%2F90%2F79d390feeb4e5576a557e69cdfd8a36b.jpg&f=1&nofb=1&ipt=7a895450c06b7f850751842f06f5180d4f85f5cc731d680a989f4c381d057077&ipo=images'
'https://i.ibb.co/mFqb1DV/home-page-section-1-background.jpg'
// 'https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.loxone.com%2Fenus%2Fwp-content%2Fuploads%2Fsites%2F13%2F2016%2F10%2FPH_Loxone-Showhome-Living-Room.jpg&f=1&nofb=1&ipt=08ed13561bee015a97d1a766368a25a8ee5251f30fb3f7377d409c9008e4cf73&ipo=images'
// 'https://promotion-static.tuyaus.com/static/139914518422863872.jpg'
// 'https://9to5toys.com/wp-content/uploads/sites/5/2018/09/lifx-tile-starter-kit.jpg'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class HomePageSecondPart extends StatelessWidget {
child: CachedNetworkImage(
imageUrl:
// 'https://images.macrumors.com/t/akS-rfKtypWuIFOGfmWE2nZz-ac=/1600x/http://images.macrumors.com/article-new/2017/11/lifxzlightstrips.jpg'
'https://www.self-build.co.uk/wp-content/uploads/2018/01/Loxone-lighting-system.png'
'https://i.ibb.co/vVn0v70/home-page-section-2-background.webp'

// 'https://wallpaperaccess.com/full/3644270.jpg'
// 'https://cdn.vox-cdn.com/thumbor/qCHcHkgH7TAc2SCOTQLj9UkQLQo=/0x0:1200x739/2420x1613/filters:focal(504x274:696x466)/cdn.vox-cdn.com/uploads/chorus_image/image/56981041/slack_imgs.0.jpg'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class HomePageThiredPart extends StatelessWidget {
children: [
SizedBox.expand(
child: CachedNetworkImage(
imageUrl: 'https://wallpaperaccess.com/full/3644270.jpg',
imageUrl: 'https://i.ibb.co/C6tz4fK/3644270.webp',
fit: BoxFit.fill,
progressIndicatorBuilder: (context, url, downloadProgress) =>
CircularProgressIndicator(value: downloadProgress.progress),
Expand Down Expand Up @@ -57,7 +57,7 @@ class HomePageThiredPart extends StatelessWidget {
CachedNetworkImage(
width: 170,
imageUrl:
'https://brandlogos.net/wp-content/uploads/2020/09/raspberry-pi-logo.png',
'https://i.ibb.co/K03Qpf2/raspberry-pi-logo-no-background.png',
fit: BoxFit.cover,
progressIndicatorBuilder:
(context, url, downloadProgress) =>
Expand Down Expand Up @@ -135,7 +135,7 @@ class HomePageThiredPart extends StatelessWidget {
CachedNetworkImage(
width: 170,
imageUrl:
'https://www.stepsoftware.com/images/services/linux.png',
'https://i.ibb.co/d4sCyfh/linus-no-background.png',
fit: BoxFit.cover,
progressIndicatorBuilder:
(context, url, downloadProgress) =>
Expand Down