1
0
mirror of https://github.com/GitJournal/GitJournal.git synced 2025-07-07 16:24:47 +08:00

GitHostSetup Manual: Write better instructions

This commit is contained in:
Vishesh Handa
2019-02-15 15:23:30 +01:00
parent 783eef32e5
commit 0a4c20f12f

@ -169,12 +169,16 @@ class GitCloneUrlKnownProviderPageState
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Padding(
padding: const EdgeInsets.all(8.0),
child: Text(
"Enter the Git Clone URL",
style: Theme.of(context).textTheme.headline,
),
Text(
'Please create a new git repository -',
style: Theme.of(context).textTheme.title,
),
SizedBox(height: 32.0),
// Step 1
Text(
'1. Go to the website, create a repo and copy its git clone URL',
style: Theme.of(context).textTheme.subtitle,
),
SizedBox(height: 8.0),
GitHostSetupButton(
@ -182,11 +186,15 @@ class GitCloneUrlKnownProviderPageState
onPressed: widget.launchCreateUrlPage,
),
SizedBox(height: 16.0),
Padding(
padding: const EdgeInsets.all(8.0),
child: inputForm,
// Step 2
Text(
'2. Enter the Git clone URL',
style: Theme.of(context).textTheme.subtitle,
),
SizedBox(height: 8.0),
inputForm,
SizedBox(height: 16.0),
GitHostSetupButton(
text: "Next",
onPressed: formSubmitted,