-
- Choosing your instance name, setting up a description, specifying who you are,
- why you created your instance and how long you plan to maintain your it
- is very important for visitors to understand on what type of instance they are.
-
+
+

+
-
- If you want to open registrations, please decide what are your moderation rules, fill your instance terms
- and specify the categories and languages you speak. This way, you will help users to register on the appropriate PeerTube instance.
-
+
-
-
Useful links
+
+
+

+
-
- - Official PeerTube website (news, support, contribute...): https://joinpeertube.org
+
+
It's time to configure your instance!
-
- Put your instance on the public PeerTube index: https://instances.joinpeertube.org/instances
-
+
+ Choosing your instance name, setting up a description, specifying who you are,
+ why you created your instance and how long you plan to maintain your it
+ is very important for visitors to understand on what type of instance they are.
+
+
+
+ If you want to open registrations, please decide what are your moderation rules, fill your instance
+ terms
+ and specify the categories and languages you speak. This way, you will help users to register on the
+ appropriate
+ PeerTube instance.
+
+
diff --git a/client/src/app/modal/welcome-modal.component.scss b/client/src/app/modal/welcome-modal.component.scss
index 8bb6973f4..b9200115e 100644
--- a/client/src/app/modal/welcome-modal.component.scss
+++ b/client/src/app/modal/welcome-modal.component.scss
@@ -5,19 +5,28 @@
font-size: 15px;
}
+.two-columns {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-top: 50px;
+}
+
+.mascot {
+ display: block;
+ min-width: 170px;
+}
+
.subtitle {
font-weight: $font-semibold;
margin-bottom: 10px;
font-size: 16px;
}
-.block-documentation .subtitle {
- margin-bottom: 20px;
-}
-
-.block-configuration,
-.block-instance {
- margin-top: 30px;
+.block-documentation {
+ .subtitle {
+ margin-bottom: 20px;
+ }
}
li {
@@ -52,5 +61,22 @@ li {
justify-content: center;
margin-bottom: 5px;
}
+
+ .link-title,
+ div {
+ text-align: center;
+ }
}
}
+
+.configure-instance-button {
+ @include peertube-button;
+ @include orange-button;
+
+ display: inline-block;
+}
+
+.action-button-understood {
+ @include peertube-button;
+ @include grey-button;
+}
diff --git a/client/src/app/modal/welcome-modal.component.ts b/client/src/app/modal/welcome-modal.component.ts
index 05412a4cd..9097de984 100644
--- a/client/src/app/modal/welcome-modal.component.ts
+++ b/client/src/app/modal/welcome-modal.component.ts
@@ -18,13 +18,11 @@ export class WelcomeModalComponent {
) { }
show () {
- const ref = this.modalService.open(this.modal,{
+ this.modalService.open(this.modal,{
backdrop: 'static',
keyboard: false,
size: 'lg'
})
-
- ref.result.finally(() => this.doNotOpenAgain())
}
private doNotOpenAgain () {