Skip to content

Commit

Permalink
Merge pull request #6 from TheFlutteristas/website-v1
Browse files Browse the repository at this point in the history
Some css fixes
  • Loading branch information
Stef-GMS authored Oct 21, 2023
2 parents ee4a97a + 5f1e836 commit ec6d6a9
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 11 deletions.
23 changes: 16 additions & 7 deletions lib/layout/page_frame.dart
Original file line number Diff line number Diff line change
Expand Up @@ -125,43 +125,52 @@ class _PageFrameState extends State<PageFrame> {
classes: ['social-icon'],
src: '/images/Linkedin.svg',
)
], href: 'https://www.linkedin.com/company/flutteristas/'),
],
target: Target.blank,
href: 'https://www.linkedin.com/company/flutteristas/'),
a([
img(
classes: ['social-icon'],
src: '/images/x-logo.svg',
)
], href: 'https://twitter.com/flutteristas'),
], target: Target.blank, href: 'https://twitter.com/flutteristas'),
a([
img(
classes: ['social-icon'],
src: '/images/Mastodon.svg',
)
], href: 'https://fluttercommunity.social/@Flutteristas'),
],
target: Target.blank,
href: 'https://fluttercommunity.social/@Flutteristas'),
a([
img(
classes: ['social-icon'],
src: '/images/instagram.svg',
)
], href: 'https://www.instagram.com/flutteristas/'),
],
target: Target.blank,
href: 'https://www.instagram.com/flutteristas/'),
a([
img(
classes: ['social-icon'],
src: '/images/youtube.svg',
)
], href: 'https://www.youtube.com/@Flutteristas'),
], target: Target.blank, href: 'https://www.youtube.com/@Flutteristas'),
a([
img(
classes: ['social-icon'],
src: '/images/github-color-svgrepo-com.svg',
)
], href: 'https://github.com/TheFlutteristas'),
], target: Target.blank, href: 'https://github.com/TheFlutteristas'),
a([
img(
classes: ['social-icon'],
src: '/images/facebook-svgrepo-com.svg',
)
], href: 'https://www.facebook.com/people/Flutteristas/61552442970613/')
],
target: Target.blank,
href:
'https://www.facebook.com/people/Flutteristas/61552442970613/')
])
]);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/flutteristas_conference.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class FlutteristasConferencePage extends StatelessComponent {
'speakers-container'
], [
SpeakersList(
projectId: 'flutteristas-website-dev-default-rtdb',
projectId: 'flutteristas-website-ffa6d-default-rtdb',
)
])
]);
Expand Down
6 changes: 3 additions & 3 deletions lib/pages/speakers_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ class _SpeakersState extends State<SpeakersList> {
}

Component social_icon(MapEntry<dynamic, dynamic> item) {
if (item.value != null) {
if (item.value == '') {
return span(classes: ['empty-span'], []);
} else {
switch (item.key as String) {
case 'x':
return a(
Expand Down Expand Up @@ -114,8 +116,6 @@ class _SpeakersState extends State<SpeakersList> {
default:
return span([]);
}
} else {
throw Exception('no social value found');
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions web/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,10 @@ div #welcome-items {
fill: #000;
}

.social-bar .empty-span{
display:none;
}

.SpeakerItem .speaker-bio {
width: 250px;
background-color: #F2DAFF;
Expand Down

0 comments on commit ec6d6a9

Please sign in to comment.