Skip to content

Commit

Permalink
Add content creator program to Sharezone Plus page (#1626)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsreichardt authored May 16, 2024
1 parent 46b8e36 commit 558e4d9
Show file tree
Hide file tree
Showing 6 changed files with 100 additions and 13 deletions.
4 changes: 3 additions & 1 deletion app/lib/sharezone_plus/page/sharezone_plus_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ class SharezonePlusPageMain extends StatelessWidget {
const SizedBox(height: 18),
const _CallToActionSection(),
const SizedBox(height: 32),
const SharezonePlusFaq(),
const SharezonePlusFaq(
showContentCreatorQuestion: true,
),
const SizedBox(height: 18),
const SharezonePlusSupportNote(),
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion docs/pages/more/_meta.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"alpha-program": "Alpha-Program",
"beta-program": "Beta-Program",
"firewall": "Firewall"
"firewall": "Firewall",
"content-creator-program": "Content Creator Programm"
}
29 changes: 29 additions & 0 deletions docs/pages/more/content-creator-program.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Content Creator Programm

Du bist daran interessiert, Sharezone Plus (Lifetime) kostenfrei zu erhalten?
Dann mache einfach mit bei unserem Content Creator Programm!

So funktioniert es:
1. Erstelle ein kreatives TikTok, YouTube Short oder Instagram Reel, in dem du
Sharezone erwähnst oder vorstellst.
2. Sorge dafür, dass dein Video mehr als 10.000 Aufrufe erzielt.
3. Schick uns den Link zu deinem Video an [plus@sharezone.net](mailto:plus@sharezone.net).

Deiner Kreativität sind keine Grenzen gesetzt, solange dein Video den
Richtlinien der jeweiligen Plattform und unseren Bedingungen (siehe unten)
entspricht.

## Bedingungen

1. **Qualifikation:** Das Video muss Sharezone korrekt und fair darstellen, die
Marke respektieren und darf keine anstößigen Inhalte enthalten. Natürlich
kannst du dich auch kritisch über Sharezone äußern, solange dies sachlich und
fair geschieht.
2. **Reichweite:** Das Video muss mindestens 10.000 Aufrufe erzielen.
3. **Prüfung:** Sharezone behält sich das Recht vor, Videos zu disqualifizieren, die
gegen die Richtlinien der Plattformen oder die eigenen Standards verstoßen.
4. **Änderungen und Beendigung:** Sharezone behält sich das Recht vor, das Programm
jederzeit ohne Vorankündigung zu ändern oder zu beenden.

Solltest du Fragen haben, kannst du dich gerne an uns wenden:
[plus@sharezone.net](mailto:plus@sharezone.net).
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,32 @@ import 'package:url_launcher/link.dart';
import 'package:url_launcher/url_launcher.dart';

class SharezonePlusFaq extends StatelessWidget {
const SharezonePlusFaq({super.key});
const SharezonePlusFaq({
super.key,
this.showContentCreatorQuestion = false,
});

final bool showContentCreatorQuestion;

@override
Widget build(BuildContext context) {
return const MaxWidthConstraintBox(
return MaxWidthConstraintBox(
maxWidth: 710,
child: Column(
children: [
_WhoIsBehindSharezone(),
SizedBox(height: 12),
_IsSharezoneOpenSource(),
SizedBox(height: 12),
_DoAlsoGroupMemberGetPlus(),
SizedBox(height: 12),
_DoesTheFileStorageLimitAlsoForGroups(),
SizedBox(height: 12),
_SchoolClassLicense(),
const _WhoIsBehindSharezone(),
const SizedBox(height: 12),
const _IsSharezoneOpenSource(),
const SizedBox(height: 12),
const _DoAlsoGroupMemberGetPlus(),
const SizedBox(height: 12),
const _DoesTheFileStorageLimitAlsoForGroups(),
const SizedBox(height: 12),
const _SchoolClassLicense(),
if (showContentCreatorQuestion) ...[
const SizedBox(height: 12),
const _ContentCreator(),
],
],
),
);
Expand Down Expand Up @@ -167,3 +176,44 @@ class _SchoolClassLicense extends StatelessWidget {
);
}
}

class _ContentCreator extends StatelessWidget {
const _ContentCreator();

@override
Widget build(BuildContext context) {
return ExpansionCard(
header: const Text('Gibt es ein Content Creator Programm?'),
body: MarkdownBody(
data:
'''Ja, als Content Creator kannst du Sharezone Plus (Lifetime) kostenlos erhalten.
So funktioniert es:
1. Erstelle ein kreatives TikTok, YouTube Short oder Instagram Reel, in dem du Sharezone erwähnst oder vorstellst.
2. Sorge dafür, dass dein Video mehr als 10.000 Aufrufe erzielt.
3. Schick uns den Link zu deinem Video an plus@sharezone.net.
Deiner Kreativität sind keine Grenzen gesetzt. Bitte beachte unsere Bedingungen für das Content Creator Programm: https://sharezone.net/content-creator-programm.''',
styleSheet: MarkdownStyleSheet(
a: TextStyle(
color: Theme.of(context).primaryColor,
decoration: TextDecoration.underline,
),
),
onTapLink: (text, href, title) async {
try {
final uri = Uri.parse(href!);
await launchUrl(uri);
} on Exception catch (_) {
if (!context.mounted) return;
showSnackSec(
text: 'E-Mail: plus@sharezone.net',
context: context,
);
}
},
),
backgroundColor: Theme.of(context).colorScheme.primary.withOpacity(0.2),
);
}
}
5 changes: 5 additions & 0 deletions website/firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@
"source": "/substitutions-demo",
"destination": "https://firebasestorage.googleapis.com/v0/b/sharezone-c2bd8.appspot.com/o/Resources%2Fcancel_lesson_demo.mp4?alt=media&token=4f58f829-441b-4b3f-92f8-7ac6bc3fd093",
"type": 302
},
{
"source": "/content-creator-program",
"destination": "https://docs.sharezone.net/more/content-creator-program",
"type": 302
}
],
"rewrites": [
Expand Down

0 comments on commit 558e4d9

Please sign in to comment.