From acb9833770766722160e83a26be359ea350fd3dc Mon Sep 17 00:00:00 2001 From: connorwalsh Date: Fri, 7 Dec 2018 10:11:10 -0500 Subject: [PATCH] [cw|#63] refactor tutorial table of contents style, add new sections, begin 'more interesting poet' section --- client/src/components/tutorial/index.js | 82 +++++++++++++++++++------ 1 file changed, 63 insertions(+), 19 deletions(-) diff --git a/client/src/components/tutorial/index.js b/client/src/components/tutorial/index.js index 27c3267..336b44b 100644 --- a/client/src/components/tutorial/index.js +++ b/client/src/components/tutorial/index.js @@ -41,6 +41,20 @@ export const Tutorial = props => { fontStyle: 'italic', color: '#75b0ff', } + const tocStyle = { + color: '#c3a5d3', + fontSize: '0.9em', + fontWeight: 'normal', + fontStyle: 'normal', + textShadow: '3px 3px #edc9fc', + display: 'flex', + justifyContent: 'space-between', + width: '60%', + } + const tocContainerStyle = { + display: 'flex', + justifyContent: 'center' + } const codeStyle = { fontWeight: 'normal', fontSize: '0.8em', @@ -82,12 +96,16 @@ is 3asy and fun!`}/>
contents
-
intr0duction
-
what's an algorithmic poet?
-
your first poet
-
-
-
+
intr0duction
֎
+
what's an algorithmic poet?
+
your first poet
+
a more interesting poet
+
refining your poet's taste
+
learning from new poetry
+
using the parameters file
+
how to submit
+
user submitted tutorials
+
some resources
intr0duction
@@ -265,20 +283,46 @@ elif args.study: and is a perfectly valid poet.

in the following sections, we will elaborate on this poet to make it more interesting. -
-
--write
-
-
-
--critique
-
--study
-
using a parameters file (optional)
-
putting it all together
-
how to submit
-
user provided tutorials
-
some resources
-
+
+ +
a more interesting poet
+
+ wow, we've already written our first poet! why don't you take a five minute break + to stretch, drink some water, say hi to your friends, water your plants. +


+
. . .
+

+ hello again, good to have you back! if you recall, our first poet is able to perform all the + required tasks, but there is one problem: it outputs the same results everytime. now this isn't + very interesting. but we can change this! we believe in you! +

+ there are many approaches we could take, maybe an infinite number. for example, +
+ +
refining your poet's taste
+
+ +
+
learning from new poetry
+
+ +
+
using a parameters file (optional)
+
+ +
+
how to submit
+
+ +
+
user provided tutorials
+
+ +
+
some resources
+
blah -
+