diff --git a/PITCHME.md b/PITCHME.md new file mode 100644 index 0000000000000000000000000000000000000000..e01f0b7065093fbb5ba3725f1acf775df6f0cdf5 --- /dev/null +++ b/PITCHME.md @@ -0,0 +1,64 @@ +---?color=linear-gradient(to right, #c02425, #f0cb35) +@title[Introduction] + +@snap[west headline text-white span-70] +GitPitch<br>*The Template* +@snapend + +@snap[south-west byline text-white] +The Fastest Way From Idea To Presentation. +@snapend + +--- +@title[Slide Markdown] + +### Each slide in this presentation is provided as a *template*. + +<br><br> + +1. Select only the slide templates that you need. +1. Customize the template _markdown content_. +1. Optionally, override template _styles_ and _settings_. +1. Then present and publish with GitPitch @fa[smile-o] +<br><br> + + +--- +@title[Tip! Fullscreen] + + +<br> +For the best viewing experience, press F for fullscreen. + +---?include=template/md/split-screen/PITCHME.md + +---?include=template/md/sidebar/PITCHME.md + +---?include=template/md/list-content/PITCHME.md + +---?include=template/md/image/PITCHME.md + +---?include=template/md/sidebox/PITCHME.md + +---?include=template/md/code-presenting/PITCHME.md + +---?include=template/md/header-footer/PITCHME.md + +---?include=template/md/quotation/PITCHME.md + +---?include=template/md/announcement/PITCHME.md + +---?include=template/md/about/PITCHME.md + +---?include=template/md/wrap-up/PITCHME.md + +--- +@title[The Template Docs] + +@snap[west headline span-100] +GitPitch<br>*The Template @css[text-orange](End) ;)* +@snapend + +@snap[south docslink span-100] +For supporting documentation see the [The Template Docs](https://gitpitch.com/docs/the-template) +@snapend diff --git a/PITCHME.yaml b/PITCHME.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e8693680a092071809b9c13bc582d2c6f1713228 --- /dev/null +++ b/PITCHME.yaml @@ -0,0 +1,57 @@ +# +# The Template Settings +# +# The default settings below are optimized for this template. +# Override settings with your own custom values as needed. +# +# For further details, see https://gitpitch.com/docs/settings. +# + +stealth : daithi +published : true + +# +# Theme Setting +# Doc: https://gitpitch.com/docs/settings/theme +# +theme : simple + +# +# Theme-Override Setting +# Doc: https://gitpitch.com/docs/settings/custom-theme +# +theme-override : template/css/PITCHME.css + +# +# Logo Setting +# https://gitpitch.com/docs/settings/logo +# +logo : template/img/logo.png +logo-position : top-left + +# +# Footnote Setting +# Doc: https://gitpitch.com/docs/settings/footnote +# +footnote : "GitPitch - The Fastest Way From Idea To Presentation" + +# +# Highlight (Code) Setting +# Doc: https://gitpitch.com/docs/settings/highlight +# +highlight : atom-one-dark + +# +# Layout Setting +# Doc: https://gitpitch.com/docs/settings/layout +# +layout : center + +# +# Transition Setting +# This template uses GitPitch Snap-Layouts extensively. For this +# reason THIS VALUE SHOULD NOT BE MODIFIED. See: +# https://gitpitch.com/docs/layout-features/snap-layout-slide-transitions +# +transition : none + diff --git a/README.md b/README.md index e8ea54b5e1a4070daa47e184c6ddf0dd41645f51..4e7ad0fca1384e79897dba3e151968f60e3475e8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ -# the-template -GitPitch - The Template +# GitPitch - The Template + +*THE FASTEST WAY FROM IDEA TO PRESENTATION* + +For details, see the complete template documentation [here](https://gitpitch.com/docs/the-template). + diff --git a/template/css/PITCHME.css b/template/css/PITCHME.css new file mode 100644 index 0000000000000000000000000000000000000000..bcc2bfa304bb9620dd21bd5e08f1abdb9272fc7f --- /dev/null +++ b/template/css/PITCHME.css @@ -0,0 +1,296 @@ +/* Intro Template Styles */ + +.headline { + font-size: 2.5em !important; + font-weight: bold !important; +} + +.byline { + letter-spacing: 0.1em; + font-size: 0.6em !important; +} + +/* Split-Screen Template Styles */ + +.split-screen-heading { + font-size: 1.7em !important; + font-weight: bold !important; +} + +.split-screen-byline { + width: 35%; + font-size: 1.1em !important; +} + +.split-screen-text { + width: 30%; + text-align: center; + font-size: 0.8em !important; +} + +.split-screen-img { + width: 35%; +} + +.split-screen-img img { + border-radius: 8% !important; +} + +.split-screen-list li { + font-size: 0.8em; + margin:0 0 40px 0; +} + +.split-screen-list li::before { + color: #FF5600 !important; + background-color: white !important; +} + +/* List-Content Template Styles */ + +.list-content-concise li { + font-size: 1em; + margin:0 0 10px 0; +} + +.list-content-verbose ul { + list-style-type: square; +} + +.list-content-verbose li { + font-size: 0.8em; + margin:0 0 40px 0; +} + +.list-bullets-black li::before { + background-color: black !important; +} + +.list-bullets-circles { + list-style-type: circle !important; +} + + +/** Image Template Styles ***/ + +/** Sidebox Template Styles ***/ + +/** Code-Presenting Template Styles ***/ + +/** Header-Footer Template Styles ***/ + +.header-footer-list-shrink li { + color: white; + font-size: 0.7em; + margin:0 0 20px 0; +} + +/** Quotation Template Styles ***/ + +/** Announcements Template Styles ***/ + +.announce-big-news { + font-size: 7em !important; +} + +.announce-coming-soon { + font-size: 6.5em !important; +} + +/** About Template Styles **/ + +.about-team-pic img { + width: 60%; + border: none !important; + box-shadow: none !important; + -webkit-clip-path: circle(35% at 50% 50%); + clip-path: circle(35% at 50% 50%); +} + +.about-team-pic-center img { + width: 70%; +} + +.about-team-bio { + font-size: 0.6em !important; +} + +.about-bio-details { + font-size: 0.8em !important; +} + +/** Wrap-Up Template Styles **/ + +.contact-name { + font-size: 0.6em !important; + font-weight: 800 !important; + text-transform: uppercase !important; + font-family: Arial, Helvetica, sans-serif !important; +} + +.contact-email { + font-size: 0.5em !important; + font-weight: 600 !important; +} + +.contact-links { + color: #00008B !important; +} + +.twitter-handle { + font-size: 0.5em !important; + font-weight: bolder !important; + vertical-align: middle !important; +} + +.git-handle { + font-size: 0.5em !important; + font-weight: bolder !important; + vertical-align: middle !important; +} + +.pad-right-icon { + padding-right: 0.4em; +} + +.pad-left-icon { + padding-left: 0.4em; +} + +/** General Template Styles **/ + +.text-black { color: #000000 !important; } +.text-blue { color: #4487F2 !important; } +.text-gray { color: #777777 !important; } +.text-green { color: #8EA33B !important; } +.text-orange { color: #F26225 !important; } +.text-pink { color: #E71E60 !important; } +.text-purple { color: #643B85 !important; } +.text-yellow { color: #F5DB2E !important; } +.text-white { color: #FFFFFF !important; } + +.template-note { + letter-spacing: 0.1em; + font-size: 0.4em !important; +} + +.docslink { + color: #a49436; + font-size: 0.5em !important; + font-variant: small-caps !important; + letter-spacing: 0.2em; +} + +#gp-logo img { + max-height: 3.5em; + max-width: none; +} + +#title-footer a { + color: black; +} + +#title-footer p.footer-hard { + color: black; +} + +.span-5 { width: 5% } +.span-10 { width: 10% } +.span-15 { width: 15% } +.span-20 { width: 20% } +.span-25 { width: 25% } +.span-30 { width: 30% } +.span-35 { width: 35% } +.span-40 { width: 40% } +.span-45 { width: 45% } +.span-50 { width: 50% } +.span-55 { width: 55% } +.span-60 { width: 60% } +.span-65 { width: 65% } +.span-70 { width: 70% } +.span-75 { width: 75% } +.span-80 { width: 80% } +.span-85 { width: 85% } +.span-90 { width: 90% } +.span-95 { width: 95% } +.span-100 { width: 100% } + + +/** Reveal.js Core Override Styles **/ + +.reveal ol li { + margin-left: 0; + padding-right: 0; + list-style-type: none; +} + +.reveal ol li { + position: relative; + counter-increment: step-counter; +} + +.reveal ol li::before { + color: white; + font-size: 80%; + font-weight: bold; + padding: 3px 10px; + margin-right: 15px; + border-radius: 3px; + background-color: #F26225; + content: counter(step-counter); +} + +.reveal section img { + border: none; + box-shadow: none; + background: none; +} + +.reveal .slide-number { + color: black !important; +} + +.reveal blockquote { + width: 100%; + padding: 17px; + border-radius: 17px; + background: rgba(255,255,255,0.2); +} + +.reveal pre { + width: 98%; + margin: 0px; + box-shadow: none; +} + +.reveal pre code { + font-size: 1.2em; + line-height: 1.2; + border-radius: 10px; + max-height: 60vh !important; + overflow: hidden !important; +} + +@media (device-width: 100vw) and (device-height: 100vh) { + .reveal pre code { + max-height: 50vh !important; + } +} + +.hljs { + background: none; +} + +.reveal p span.slide-title { + display: none; +} + +.reveal .slides section .code-presenting-annotation { + color: white; + background: black; + padding: 1px 15px; + border-radius: 15px; + opacity: 0.75 !important; + font-size: 50% !important; +} + diff --git a/template/img/batman.png b/template/img/batman.png new file mode 100644 index 0000000000000000000000000000000000000000..45930b8208ae92f33c31d73b49a1216f9f90708c Binary files /dev/null and b/template/img/batman.png differ diff --git a/template/img/bg/black.jpg b/template/img/bg/black.jpg new file mode 100644 index 0000000000000000000000000000000000000000..771ba81e21b31d30bccae18cd024e6aba46d34d6 Binary files /dev/null and b/template/img/bg/black.jpg differ diff --git a/template/img/bg/blue.jpg b/template/img/bg/blue.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b385088b28516a8ba0e9c695b00a569bebee3248 Binary files /dev/null and b/template/img/bg/blue.jpg differ diff --git a/template/img/bg/gray.jpg b/template/img/bg/gray.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d984cff88c63f585136504547ee4b8d55a179005 Binary files /dev/null and b/template/img/bg/gray.jpg differ diff --git a/template/img/bg/green.jpg b/template/img/bg/green.jpg new file mode 100644 index 0000000000000000000000000000000000000000..634f707f6cc93cc758c6f055169a9d17849d9172 Binary files /dev/null and b/template/img/bg/green.jpg differ diff --git a/template/img/bg/orange.jpg b/template/img/bg/orange.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e6abe1138a2449d26d30ce0b79e96effe9a8bc6f Binary files /dev/null and b/template/img/bg/orange.jpg differ diff --git a/template/img/bg/pink.jpg b/template/img/bg/pink.jpg new file mode 100644 index 0000000000000000000000000000000000000000..20715211fe9c9329a23fa12ca80d925f390aa97e Binary files /dev/null and b/template/img/bg/pink.jpg differ diff --git a/template/img/bg/purple.jpg b/template/img/bg/purple.jpg new file mode 100644 index 0000000000000000000000000000000000000000..185b8eaf2d06132f16614449236dbdb51ff25623 Binary files /dev/null and b/template/img/bg/purple.jpg differ diff --git a/template/img/bg/white.jpg b/template/img/bg/white.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0a0a08fa19fd3ec7d6056240dbecf180d23feadb Binary files /dev/null and b/template/img/bg/white.jpg differ diff --git a/template/img/bg/yellow.jpg b/template/img/bg/yellow.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c4ab58d201cc32d17da007289129c2ef56b55066 Binary files /dev/null and b/template/img/bg/yellow.jpg differ diff --git a/template/img/contact-1.png b/template/img/contact-1.png new file mode 100644 index 0000000000000000000000000000000000000000..03586be42f5a7d1d0f7ad152d870902a43811baf Binary files /dev/null and b/template/img/contact-1.png differ diff --git a/template/img/contact-2.png b/template/img/contact-2.png new file mode 100644 index 0000000000000000000000000000000000000000..c1df5123a74180529ddb3f461cbd826a7fa9011f Binary files /dev/null and b/template/img/contact-2.png differ diff --git a/template/img/dataflow.png b/template/img/dataflow.png new file mode 100644 index 0000000000000000000000000000000000000000..57059296822dcd6fadf27dce5f8a1239c371c4f8 Binary files /dev/null and b/template/img/dataflow.png differ diff --git a/template/img/design.png b/template/img/design.png new file mode 100644 index 0000000000000000000000000000000000000000..2af234f55429448affbc4767492b647a87c2a9eb Binary files /dev/null and b/template/img/design.png differ diff --git a/template/img/developer.jpg b/template/img/developer.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e496c4323054516b4b5d6e46e4ec15b89bffb39a Binary files /dev/null and b/template/img/developer.jpg differ diff --git a/template/img/einstein.png b/template/img/einstein.png new file mode 100644 index 0000000000000000000000000000000000000000..210af0e9c4ba4ee350d6b8c570372c1f19c36456 Binary files /dev/null and b/template/img/einstein.png differ diff --git a/template/img/friday.gif b/template/img/friday.gif new file mode 100644 index 0000000000000000000000000000000000000000..848cad83286f9d1a9178cf3a6fb9687b896ff2f2 Binary files /dev/null and b/template/img/friday.gif differ diff --git a/template/img/geek.gif b/template/img/geek.gif new file mode 100644 index 0000000000000000000000000000000000000000..15e5533b1d46e22a16a8a5807d1b25bf56324fc3 Binary files /dev/null and b/template/img/geek.gif differ diff --git a/template/img/geek.png b/template/img/geek.png new file mode 100644 index 0000000000000000000000000000000000000000..71e745c179195c6b7a3de1cb492cfa4619c57db6 Binary files /dev/null and b/template/img/geek.png differ diff --git a/template/img/grass.png b/template/img/grass.png new file mode 100644 index 0000000000000000000000000000000000000000..cbbc20bb5736d0acf7fb11600a040240d6766734 Binary files /dev/null and b/template/img/grass.png differ diff --git a/template/img/headphones.jpg b/template/img/headphones.jpg new file mode 100644 index 0000000000000000000000000000000000000000..04431e654cb7ed988fbfc806b1a49c50dad14002 Binary files /dev/null and b/template/img/headphones.jpg differ diff --git a/template/img/logo.png b/template/img/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..c63dc5fb9370a2f1e2a16cf12bc71208bfced7a8 Binary files /dev/null and b/template/img/logo.png differ diff --git a/template/img/lovelace.jpg b/template/img/lovelace.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a4d5062a3e87c2ee113b72c5d8946d232bc1a804 Binary files /dev/null and b/template/img/lovelace.jpg differ diff --git a/template/img/moon.jpg b/template/img/moon.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5a0bcab08d677cb86262fdbbe47240662b106fd5 Binary files /dev/null and b/template/img/moon.jpg differ diff --git a/template/img/olaf.png b/template/img/olaf.png new file mode 100644 index 0000000000000000000000000000000000000000..3bc78ac91378d31c8176a7c3cc605a7801571965 Binary files /dev/null and b/template/img/olaf.png differ diff --git a/template/img/pencils.jpg b/template/img/pencils.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a08c63e393bd9d90de8101e2304d39e2abfc24f5 Binary files /dev/null and b/template/img/pencils.jpg differ diff --git a/template/img/phone.jpg b/template/img/phone.jpg new file mode 100644 index 0000000000000000000000000000000000000000..701627c76e33dd0c3e986eb0af9d6247f964492c Binary files /dev/null and b/template/img/phone.jpg differ diff --git a/template/img/profile/abby.jpg b/template/img/profile/abby.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4117c6d542c495294c8160ae9d3572afdfa7814e Binary files /dev/null and b/template/img/profile/abby.jpg differ diff --git a/template/img/profile/berry.jpg b/template/img/profile/berry.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2b54c9589b5cf3216e2f621f91e7b7a0fe661e80 Binary files /dev/null and b/template/img/profile/berry.jpg differ diff --git a/template/img/profile/ronny.jpg b/template/img/profile/ronny.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4a5cdf9db0aeb2bf0c67fd6f6f28896d47ee5a0a Binary files /dev/null and b/template/img/profile/ronny.jpg differ diff --git a/template/img/profile/wendy.jpg b/template/img/profile/wendy.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4aba88518ff673a456274db55084c2ed2e74a8e9 Binary files /dev/null and b/template/img/profile/wendy.jpg differ diff --git a/template/img/questions-1.png b/template/img/questions-1.png new file mode 100644 index 0000000000000000000000000000000000000000..bf783bb43317ef6c85cc852ca13682f2047931f2 Binary files /dev/null and b/template/img/questions-1.png differ diff --git a/template/img/questions-2.png b/template/img/questions-2.png new file mode 100644 index 0000000000000000000000000000000000000000..3fc395241021d31676bbb5aef480fb1133e45b0b Binary files /dev/null and b/template/img/questions-2.png differ diff --git a/template/img/questions-3.png b/template/img/questions-3.png new file mode 100644 index 0000000000000000000000000000000000000000..12036374d7b81a8df2d8e7db074188cd125d2ba5 Binary files /dev/null and b/template/img/questions-3.png differ diff --git a/template/img/questions-4.png b/template/img/questions-4.png new file mode 100644 index 0000000000000000000000000000000000000000..86efc6ca5a2245526973455c688ea1c5d7402c6c Binary files /dev/null and b/template/img/questions-4.png differ diff --git a/template/img/questions2.png b/template/img/questions2.png new file mode 100644 index 0000000000000000000000000000000000000000..24c93837ba683891e757614acb3a5fca586dadb1 Binary files /dev/null and b/template/img/questions2.png differ diff --git a/template/img/quotes.jpg b/template/img/quotes.jpg new file mode 100755 index 0000000000000000000000000000000000000000..3a080ceafe1a61f78628daff5cf520aee2dfd64f Binary files /dev/null and b/template/img/quotes.jpg differ diff --git a/template/img/ribbon.png b/template/img/ribbon.png new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/template/img/snowman.gif b/template/img/snowman.gif new file mode 100644 index 0000000000000000000000000000000000000000..c8a7952cb40242f240036d6799fcc0503bd9e810 Binary files /dev/null and b/template/img/snowman.gif differ diff --git a/template/img/spotlight.png b/template/img/spotlight.png new file mode 100644 index 0000000000000000000000000000000000000000..e5313c94ea7b9e1736263c9a0991ac3698a051dc Binary files /dev/null and b/template/img/spotlight.png differ diff --git a/template/img/thanks.jpg b/template/img/thanks.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9a3d96fcc08a9dcb5956c889b89bac80b9d9298a Binary files /dev/null and b/template/img/thanks.jpg differ diff --git a/template/img/tip.png b/template/img/tip.png new file mode 100644 index 0000000000000000000000000000000000000000..f6f7c91dff206f0db74536eaa835914eca6705a0 Binary files /dev/null and b/template/img/tip.png differ diff --git a/template/md/about/PITCHME.md b/template/md/about/PITCHME.md new file mode 100644 index 0000000000000000000000000000000000000000..1d43af314de687d252f8f5eef01518b75388b7c1 --- /dev/null +++ b/template/md/about/PITCHME.md @@ -0,0 +1,79 @@ +---?image=template/img/pencils.jpg +@title[About Templates] + +## @color[black](About<br>Slide Templates) + +@fa[arrow-down text-black] + +@snap[south docslink span-50] +[The Template Docs](https://gitpitch.com/docs/the-template) +@snapend + + ++++?image=template/img/bg/blue.jpg&color=white&position=top&size=100% 50% +@title[Meet The Team] + +@snap[north text-white span-100] +@size[1.5em](Meet The Team) +@snapend + +@snap[west about-team-pic] + +@snapend + +@snap[south-west about-team-bio] +@color[#4487F2](Wendy Sesay) +<br><br> +@fa[twitter](wendy) +<br> +Graphic Designer +@snapend + +@snap[midpoint about-team-pic about-team-pic-center] + +@snapend + +@snap[south about-team-bio] +@color[#4487F2](Abby Bauer) +<br><br> +@fa[github](abbycode) +<br> +Lead Developer +@snapend + +@snap[east about-team-pic] + +@snapend + +@snap[south-east about-team-bio] +@color[#4487F2](Berry Nguyen) +<br><br> +@fa[linkedin](berryngu) +<br> +Channel Marketing +@snapend + +@snap[north-east template-note text-white] +Team intro template. +@snapend + ++++ +@title[Personal Biography] + +@snap[north-west bio-name] +Ada Lovelace +@snapend + +@snap[east span-40] + +@snapend + +@snap[west about-bio-details span-60] +A gifted mathematician. Born 1815. +<br><br> +Inspired by Babbage’s Analytical Engine she imagined the modern-day, general-purpose computer back in 1843.<br><br>Ada is now recognized as the first computer programmer. +@snapend + +@snap[south-west template-note text-gray] +Simple biography template. +@snapend diff --git a/template/md/announcement/PITCHME.md b/template/md/announcement/PITCHME.md new file mode 100644 index 0000000000000000000000000000000000000000..91a56106f675c4d715874d607cfd6b5b67ca22a0 --- /dev/null +++ b/template/md/announcement/PITCHME.md @@ -0,0 +1,54 @@ +---?image=template/img/pencils.jpg +@title[Announcement Templates] + +## @color[black](Announcement<br>Slide Templates) + +@fa[arrow-down text-black] + +@snap[south docslink span-50] +[The Template Docs](https://gitpitch.com/docs/the-template) +@snapend + + ++++ +@title[Big News Teaser] + +@snap[north announce-big-news] +BIG +@snapend + +@snap[south announce-big-news text-orange] +NEWS +@snapend + +@snap[south-west template-note text-gray] +Big-news teaser template. +@snapend + + ++++ +@title[New Release Teaser] + +## New Release + +@css[text-pink](@fa[calendar] January, 2019.) + +@snap[south-west template-note text-gray] +Upcoming-release teaser template. +@snapend + + ++++?color=linear-gradient(to top, #ffb347, #ffcc33) +@title[Coming Soon Teaser] + +@snap[midpoint announce-coming-soon text-white] +COMING +@snapend + +@snap[south text-white] +SOON ;) +@snapend + +@snap[south-west template-note text-white] +Coming-soon teaser template. +@snapend diff --git a/template/md/code-presenting/PITCHME.md b/template/md/code-presenting/PITCHME.md new file mode 100644 index 0000000000000000000000000000000000000000..c0123f4a069241f8988768e330ca01e118ef27c0 --- /dev/null +++ b/template/md/code-presenting/PITCHME.md @@ -0,0 +1,107 @@ +---?image=template/img/pencils.jpg +@title[Code Presenting Templates] + +## @color[black](Code Presenting<br>Slide Templates) + +@fa[arrow-down text-black] + +@snap[south docslink span-50] +[The Template Docs](https://gitpitch.com/docs/the-template) +@snapend + + ++++?code=template/src/go/server.go&lang=golang +@title[Repo Source File] + +@[1,3-6](Present code found within any repository source file.) +@[8-18](Without ever leaving your slideshow.) +@[19-28](Using GitPitch code-presenting with (optional) annotations.) + +@snap[north-east template-note text-gray] +Code presenting repository source file template. +@snapend + + ++++?color=lavender +@title[Fenced Code Block] + +```javascript +// Include http module. +var http = require("http"); + +// Create the server. Function passed as parameter +// is called on every request made. +http.createServer(function (request, response) { + // Attach listener on end event. This event is + // called when client sent, awaiting response. + request.on("end", function () { + // Write headers to the response. + // HTTP 200 status, Content-Type text/plain. + response.writeHead(200, { + 'Content-Type': 'text/plain' + }); + // Send data and end response. + response.end('Hello HTTP!'); + }); + +// Listen on the 8080 port. +}).listen(8080); +``` + +@[1,2](You can present code inlined within your slide markdown too.) +@[9-17](Your code is displayed using code-syntax highlighting just like your IDE.) +@[19-20](Again, all of this without ever leaving your slideshow.) + +@snap[north-east template-note text-gray] +Code presenting fenced code block template. +@snapend + + ++++?gist=onetapbeyond/494e0fecaf0d6a2aa2acadfb8eb9d6e8&lang=scala&color=black +@title[GitHub GIST] + +@[1-6](You can even present code found within any GitHub GIST.) +@[41-53](GIST source code is beautifully rendered on any slide.) +@[57-62](Code-presenting works seamlessly both online and offline.) + +@snap[north-east template-note text-white] +Code presenting GitHub GIST template. +@snapend + + ++++?color=#36454F +@title[Fenced Text Block] + +```text +. +├── PITCHME.md +├── PITCHME.yaml +└── template + ├── css + │ └── PITCHME.css + ├── img + │ ├── batman.png + │ ├── dataflow.png + │ ├── developer.jpg + │ └── .... + └── md + ├── about/PITCHME.md + ├── announcement/PITCHME.md + ├── code-presenting/PITCHME.md + ├── header-footer/PITCHME.md + ├── image/PITCHME.md + ├── list-content/PITCHME.md + ├── quotation/PITCHME.md + ├── sidebar/PITCHME.md + ├── sidebox/PITCHME.md + ├── split-screen/PITCHME.md + └── wrap-up/PITCHME.md +``` + +@[1-3, 6](Code presenting can also be used to step through any text-based content.) +@[4,5,7,12](Here for example we can navigate through the directory structure for this template.) +@[12-23](We can see that this template uses GitPitch's cool modular markdown support @fa[smile-o fa-spin]) + +@snap[north-east template-note text-white] +Code presenting fenced text block template. +@snapend diff --git a/template/md/header-footer/PITCHME.md b/template/md/header-footer/PITCHME.md new file mode 100644 index 0000000000000000000000000000000000000000..9644214c9b6af20e31d0ec58b3c6bcd1d029a86e --- /dev/null +++ b/template/md/header-footer/PITCHME.md @@ -0,0 +1,105 @@ +---?image=template/img/pencils.jpg +@title[Header + Footer Templates] + +## @color[black](Header & Footer<br>Slide Templates) + +@fa[arrow-down text-black] + +@snap[south docslink span-50] +[The Template Docs](https://gitpitch.com/docs/the-template) +@snapend + + ++++?image=template/img/bg/orange.jpg&position=top&size=100% 20% +@title[Header Bar + Image Body] + +@snap[north text-white span-100] +@size[1.5em](Lorem Ipsum Dolor Sit Amet) +@snapend + +@snap[south span-100] + +<br><br> +@snapend + +@snap[south-west template-note text-gray] +Header bar with image body template. +@snapend + + ++++?image=template/img/bg/blue.jpg&position=bottom&size=100% 20% +@title[Footer Bar + Image Body] + +@snap[south text-white span-100] +@size[1.5em](Lorem Ipsum Dolor Sit Amet) +@snapend + +@snap[north span-100] +<br> + +@snapend + +@snap[north-east template-note text-gray span-40] +Footer bar with image body template. +@snapend + + ++++?image=template/img/bg/black.jpg&position=center&size=100% 65% +@title[Center Bar + Image Body] + +@snap[north span-100] +@size[1.5em](Lorem Ipsum Dolor Sit Amet) +@snapend + +@snap[midpoint span-80] + +@snapend + +@snap[south-west template-note text-gray] +Center bar with image body template. +@snapend + + ++++?image=template/img/bg/purple.jpg&position=top&size=100% 20% +@title[Header Bar + List Body] + +@snap[north text-white span-100] +@size[1.5em](Lorem Ipsum Dolor Sit Amet) +@snapend + +@snap[south span-100] +@ol[bullet-green](false) +- Consectetur adipiscing elit +- Sed do eiusmod tempor +- Ut enim ad minim veniam +- Duis aute irure dolor in +- Excepteur sint occaecat +- Cupidatat non proident +- Sunt in culpa qui officia +@olend +<br><br> +@snapend + +@snap[south-west template-note text-gray] +Header bar with list body template. +@snapend + + ++++?image=template/img/bg/green.jpg&position=center&size=100% 65% +@title[Center Bar + List Body] + +@snap[north span-100] +@size[1.5em](Lorem Ipsum Dolor Sit Amet) +@snapend + +@snap[midpoint text-white span-100] +@ul[header-footer-list-shrink](false) +- Consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. +- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. +- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. +- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. +@snapend + +@snap[south-west template-note text-gray] +Center bar with list body template. +@snapend diff --git a/template/md/image/PITCHME.md b/template/md/image/PITCHME.md new file mode 100644 index 0000000000000000000000000000000000000000..a10c89f7b2bece11c990bbe1375387e479c2c05d --- /dev/null +++ b/template/md/image/PITCHME.md @@ -0,0 +1,96 @@ +---?image=template/img/pencils.jpg +@title[Image Templates] + +## @color[black](Image<br>Slide Templates) + +@fa[arrow-down text-black] + +@snap[south docslink span-50] +[The Template Docs](https://gitpitch.com/docs/the-template) +@snapend + + ++++?image=template/img/headphones.jpg +@title[Covered Background] + +@snap[west text-black span-15] +**@size[1.2em](Where words fail, music speaks.)** +@snapend + +@snap[south-west template-note text-white] +Covered background image template. +@snapend + + ++++?image=template/img/dataflow.png&size=contain +@title[Contained Background] + +@snap[south-west template-note text-gray] +Contained background image template. +@snapend + + ++++?image=template/img/batman.png&size=contain&color=linear-gradient(to right, #009fff, #ec2f4b) +@title[Transparent Background] + +@snap[north-east text-white span-20] +@quote[It's what I do that defines me.](Bruce Wayne) +@snapend + +@snap[south-west template-note text-white] +Transparent background with gradient template. +@snapend + +@snap[south-east text-white] +@size[0.3em](Lego Batman Clipart by Clipart.info is licensed under CC BY 4.0) +@snapend + + ++++?image=template/img/geek.png&repeat=repeat-x&color=#F5DB2E&size=25% auto +@title[Repeat Background] + +@snap[north-east text-black span-70] +@quote[Beware of geeks bearing formulas.] +@snapend + +@snap[south-west template-note text-black] +Transparent background image-repeat template. +@snapend + + ++++ +@title[Side-by-Side Images] + +@snap[west span-50] + +@snapend + +@snap[east span-50] + +@snapend + +@snap[south-west template-note text-gray] +Side-by-side inline images template. +@snapend + + ++++?image=template/img/geek.gif +@title[GIF Background] + +@snap[north-east text-white] +The Suave Geek +@snapend + +@snap[south-east template-note text-white] +Covered background animated GIF template. +@snapend + + ++++?image=template/img/grass.png&position=bottom&size=100% 30% +@title[Positioned Background] + +## Is the @size[2.2em](grass) @color[green](always) greener on the other side? + +@snap[north-east template-note text-gray] +Fixed position background image template. +@snapend diff --git a/template/md/list-content/PITCHME.md b/template/md/list-content/PITCHME.md new file mode 100644 index 0000000000000000000000000000000000000000..1bd5bc52c6acf257bd47309f12de39da678264b7 --- /dev/null +++ b/template/md/list-content/PITCHME.md @@ -0,0 +1,106 @@ +---?image=template/img/pencils.jpg +@title[List Content Templates] + +## @color[black](List Content<br>Slide Templates) + +@fa[arrow-down text-black] + +@snap[south docslink span-50] +[The Template Docs](https://gitpitch.com/docs/the-template) +@snapend + + ++++?image=template/img/spotlight.png&position=top right&size=20% auto +@title[Title + Concise List] + +@snap[north-west] +The Agenda +@snapend + +@snap[south-west list-content-concise span-100] +@ol[list-bullets-black](false) +- Lorem ipsum dolor sit amet +- Consectetur adipiscing elit +- Sed do eiusmod tempor +- Ut enim ad minim veniam +- Duis aute irure dolor in +- Excepteur sint occaecat +- Cupidatat non proident +- Sunt in culpa qui officia +@olend +<br><br> +@snapend + +@snap[south-west template-note text-gray] +Concise ordered list-items template. +@snapend + + ++++?image=template/img/spotlight.png&position=top right&size=20% auto +@title[Title + List Fragments] + +@snap[north-west] +The Agenda [ Step-by-Step ] +@snapend + +@snap[south-west list-content-concise span-100] +@ol +- Lorem ipsum dolor sit amet +- Consectetur adipiscing elit +- Sed do eiusmod tempor +- Ut enim ad minim veniam +- Duis aute irure dolor in +- Excepteur sint occaecat +- Cupidatat non proident +- Sunt in culpa qui officia +@olend +<br><br> +@snapend + +@snap[south-west template-note text-gray] +Concise list-item fragments template. +@snapend + + ++++?image=template/img/spotlight.png&position=top right&size=20% auto +@title[Title + Verbose List] + +@snap[north-west] +The Key Concepts +@snapend + +@snap[west list-content-verbose span-100] +<br> +@ul[](false) +- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. +- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. +- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. +- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. +@ulend +@snapend + +@snap[south-west template-note text-gray] +Verbose unordered list-items template. +@snapend + + ++++?image=template/img/spotlight.png&position=top right&size=20% auto +@title[Title + List Fragments] + +@snap[north-west] +The Key Concepts [ Step-by-Step ] +@snapend + +@snap[west list-content-verbose span-100] +<br> +@ul[list-bullets-circles] +- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. +- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. +- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. +- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. +@ulend +@snapend + +@snap[south-west template-note text-gray] +Verbose list-item fragments template. +@snapend diff --git a/template/md/quotation/PITCHME.md b/template/md/quotation/PITCHME.md new file mode 100644 index 0000000000000000000000000000000000000000..5f818314a328bb623fc623fd3283dc5466bc66f8 --- /dev/null +++ b/template/md/quotation/PITCHME.md @@ -0,0 +1,53 @@ +---?image=template/img/pencils.jpg +@title[Quotation Templates] + +## @color[black](Quotation<br>Slide Templates) + +@fa[arrow-down text-black] + +@snap[south docslink span-50] +[The Template Docs](https://gitpitch.com/docs/the-template) +@snapend + + ++++?image=template/img/einstein.png&position=left&size=60% auto +@title[Quote + Image] + +@snap[north-east span-60] +@quote[We cannot solve our problems with the same thinking we used when we created them.] +@snapend + +@snap[south-east template-note text-gray] +Simple quotation with image template. +@snapend + ++++?image=template/img/moon.jpg&size=cover +@title[Quote Attributed] + +@snap[east text-white span-50] +@quote[Houston, Tranquillity Base here. The Eagle has landed.](Neil Armstrong) +@snapend + +@snap[north-east template-note text-white] +Quotation with attribution template. +@snapend + ++++?image=template/img/quotes.jpg +@title[Quote Cloud] + +@snap[south-east span-50] +@quote[GitPitch Desktop with speaker notes is AMAZING!](Dave T.) +@snapend + +@snap[north-west] +<br> +@quote[GitPitch is just WONDERFUL!](Mohammed A.) +@snapend + +@snap[south-west span-20] +@quote[Just discovered GitPitch. And WOW!](Adrian K.) +@snapend + +@snap[north-west template-note text-black] +Quotation cloud template. +@snapend diff --git a/template/md/sidebar/PITCHME.md b/template/md/sidebar/PITCHME.md new file mode 100644 index 0000000000000000000000000000000000000000..9676e278532b2bace22e472033bdb388d04dc8bd --- /dev/null +++ b/template/md/sidebar/PITCHME.md @@ -0,0 +1,78 @@ +---?image=template/img/pencils.jpg +@title[Sidebar Templates] + +## @color[black](Sidebar<br>Slide Templates) + +@fa[arrow-down text-black] + +@snap[south docslink span-50] +[The Template Docs](https://gitpitch.com/docs/the-template) +@snapend + + ++++?image=template/img/bg/blue.jpg&position=left&size=30% 100% +@title[Sidebar + Heading] + +@snap[west text-white] +@size[3em](1.) +@snapend + +@snap[east span-70] +<h2>Lorem ipsum @css[text-blue](dolor)</h2> +@snapend + +@snap[north-east template-note text-gray] +Sidebar with heading body template. +@snapend + + ++++?image=template/img/bg/orange.jpg&position=left&size=30% 100% +@title[Sidebar + Image Body] + +@snap[west text-white] +@size[3em](2.) +@snapend + +@snap[east span-70] + +@snapend + +@snap[north-east template-note text-gray] +Sidebar with image body template. +@snapend + + ++++?image=template/img/bg/green.jpg&position=left&size=30% 100% +@title[Sidebar + Mixed Body] + +@snap[west text-white] +@size[3em](3.) +@snapend + +@snap[east span-70] +@fa[rocket fa-5x text-orange] +<br><br> +We Have Lift Off +@snapend + +@snap[north-east template-note text-gray] +Sidebar with mixed body template. +@snapend + + ++++?image=template/img/bg/pink.jpg&position=left&size=30% 100% +@title[Sidebar + Text Body] + +@snap[west text-white] +@size[3em](4.) +@snapend + +@snap[east span-70] +Duis aute irure dolor in reprehenderit in voluptate velit @size[1.25em](esse cillum) dolore eu fugiat nulla pariatur. +<br><br> +Excepteur sint occaecat cupidatat non proident, @css[text-pink](sunt in culpa) qui officia deserunt mollit anim id est laborum. +@snapend + +@snap[north-east template-note text-gray] +Sidebar with text body template. +@snapend diff --git a/template/md/sidebox/PITCHME.md b/template/md/sidebox/PITCHME.md new file mode 100644 index 0000000000000000000000000000000000000000..f228ce3724834b623258789dc6a0abc6271f4cc5 --- /dev/null +++ b/template/md/sidebox/PITCHME.md @@ -0,0 +1,78 @@ +---?image=template/img/pencils.jpg +@title[Sidebox Templates] + +## @color[black](Sidebox<br>Slide Templates) + +@fa[arrow-down text-black] + +@snap[south docslink span-50] +[The Template Docs](https://gitpitch.com/docs/the-template) +@snapend + + ++++?image=template/img/bg/blue.jpg&position=left&size=30% 50% +@title[Sidebox + Heading] + +@snap[west text-white] +@size[3em](A.) +@snapend + +@snap[east span-70] +<h2>Sunt in @css[text-pink](culpa) officia</h2> +@snapend + +@snap[north-east template-note text-gray] +Sidebox with heading body template. +@snapend + + ++++?image=template/img/bg/orange.jpg&position=left&size=30% 50% +@title[Sidebox + Image Body] + +@snap[west text-white] +@size[3em](B.) +@snapend + +@snap[east span-70] + +@snapend + +@snap[north-east template-note text-gray] +Sidebox with image body template. +@snapend + + ++++?image=template/img/bg/green.jpg&position=left&size=30% 50% +@title[Sidebox + Mixed Body] + +@snap[west text-white] +@size[3em](C.) +@snapend + +@snap[east span-70] +@fa[bath fa-5x text-blue] +<br><br> +How to write clean code. +@snapend + +@snap[north-east template-note text-gray] +Sidebox with mixed body template. +@snapend + + ++++?image=template/img/bg/pink.jpg&position=left&size=30% 50% +@title[Sidebox + Text Body] + +@snap[west text-white] +@size[3em](D.) +@snapend + +@snap[east span-70] +Ut enim ad minim veniam, quis @css[text-pink](nostrud exercitation ullamco laboris) nisi ut aliquip ex ea commodo. +<br><br> +Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. +@snapend + +@snap[north-east template-note text-gray] +Sidebox with text body template. +@snapend diff --git a/template/md/split-screen/PITCHME.md b/template/md/split-screen/PITCHME.md new file mode 100644 index 0000000000000000000000000000000000000000..a09a85cbef2ff1567b05e862e09be196804fe8f1 --- /dev/null +++ b/template/md/split-screen/PITCHME.md @@ -0,0 +1,122 @@ +---?image=template/img/pencils.jpg +@title[Split-Screen Templates] + +## @color[black](Split-Screen<br> Slide Templates) + +@fa[arrow-down text-black] + +@snap[south docslink span-50] +[The Template Docs](https://gitpitch.com/docs/the-template) +@snapend + ++++?image=template/img/bg/orange.jpg&position=right&size=50% 100% +@title[Heading + List Body] + +@snap[west split-screen-heading text-orange span-50] +Topics to be covered today +@snapend + +@snap[east text-white span-45] +@ol[split-screen-list](false) +- Lorem ipsum dolor sit amet, consectetur elit +- Ut enim ad minim veniam, quis exercitation +- Duis aute irure dolor in reprehenderit in voluptate +@olend +@snapend + +@snap[south-west template-note text-gray] +Split-screen heading and list body template. +@snapend + + ++++?image=template/img/bg/pink.jpg&position=left&size=70% 100% +@title[Heading + List Body] + +@snap[east split-screen-heading text-pink span-50] +Top<br>Tips! +@snapend + +@snap[west text-white span-65] +@ul[split-screen-list](false) +- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore +- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo +- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore +- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id +@ulend +@snapend + +@snap[south-west template-note text-white] +Split-screen heading and list body template. +@snapend + + ++++?image=template/img/bg/black.jpg&position=right&size=50% 100% +@title[Text + Image] + +@snap[east split-screen-byline text-white] +Lorem ipsum sit dolor amet, consectetur elit. +@snapend + +@snap[west split-screen-img] + +@snapend + +@snap[south-west template-note text-gray] +Split-screen text and image template. +@snapend + + ++++?image=template/img/bg/green.jpg&position=left&size=50% 100% +@title[Text + Image Fragment] + +@snap[west split-screen-byline text-white] +Lorem ipsum sit dolor amet, consectetur elit. +@snapend + +@snap[east split-screen-img fragment] + +@snapend + +@snap[south-west template-note text-white] +Split-screen text and image-fragment template. +@snapend + + ++++?image=template/img/bg/black.jpg&position=left&size=50% 100% +@title[Text + Image Centered] + +@snap[west split-screen-byline text-white] +Lorem ipsum<br>sit dolor amet, consectetur elit. +@snapend + +@snap[midpoint split-screen-img] + +@snapend + +@snap[east split-screen-text text-black] +Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. +@snapend + +@snap[south-west template-note text-white] +Split-screen text and centered image template. +@snapend + + ++++?image=template/img/bg/pink.jpg&position=right&size=50% 100% +@title[Text + Image Centered] + +@snap[east split-screen-text text-white] +Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. +@snapend + +@snap[midpoint split-screen-img] + +@snapend + +@snap[west split-screen-byline] +Lorem ipsum<br>sit dolor amet, consectetur elit. +@snapend + +@snap[south-west template-note text-gray] +Split-screen text and centered image template. +@snapend diff --git a/template/md/wrap-up/PITCHME.md b/template/md/wrap-up/PITCHME.md new file mode 100644 index 0000000000000000000000000000000000000000..c965046ea1628af39e12c474abf921d44bdd29dd --- /dev/null +++ b/template/md/wrap-up/PITCHME.md @@ -0,0 +1,130 @@ +---?image=template/img/pencils.jpg +@title[Wrap-Up Templates] + +## @color[black](Wrap-Up<br>Slide Templates) + +@fa[arrow-down text-black] + +@snap[south docslink span-50] +[The Template Docs](https://gitpitch.com/docs/the-template) +@snapend + + ++++?image=template/img/questions-1.png&size=80% auto +@title[Questions #1] + +@snap[south-west template-note text-gray] +Audience questions template. +@snapend + + ++++?image=template/img/questions-2.png&size=80% auto +@title[Questions #2] + +@snap[south-west template-note text-gray] +Audience questions template. +@snapend + + ++++?image=template/img/questions-3.png&size=auto 60% +@title[Questions #3] + +@snap[south-west template-note text-gray] +Audience questions template. +@snapend + + ++++ +@title[Questions #4] + +@snap[east span-50] + +@snapend + +@snap[south-west template-note text-gray] +Audience questions template. +@snapend + + ++++?color=white +@title[Get In Touch #1] + +@snap[west] +@css[contact-name](Wendy Sesay)<br> +@fa[twitter-square text-blue pad-right-icon]@css[twitter-handle text-blue](@wendy)<br> +@fa[envelope-o text-pink pad-right-icon]@css[contact-email text-pink](wendy@gmail.com) +<br> +<br> +@css[contact-name](Abby Bauer)<br> +@fa[twitter-square text-blue pad-right-icon]@css[twitter-handle text-blue](@abbycode)<br> +@fa[github-square pad-right-icon]@css[git-handle](abbycode)<br> +@fa[envelope-o text-pink pad-right-icon]@css[contact-email text-pink](abcode@hotmail.com) +<br> +<br> +@css[contact-name](Berry Nguyen)<br> +@fa[twitter-square text-blue pad-right-icon]@css[twitter-handle text-blue](@BerryNgu)<br> +@fa[envelope-o text-pink pad-right-icon]@css[contact-email text-pink](B.Nguyen@gmail.com) +@snapend + +@snap[east] +<h3>Contact Us</h3> +@snapend + +@snap[north-east template-note text-gray] +Contact info template. +@snapend + + ++++?color=#ED7D31 +@title[Get In Touch #2] + +@snap[east] +@css[contact-name](Wendy Sesay)<br> +@css[twitter-handle text-white](@wendy) +@fa[twitter-square text-white pad-left-icon]<br> +@css[contact-email text-white](wendy@gmail.com) +@fa[envelope-o text-white pad-left-icon]<br> +<br> +@css[contact-name](Abby Bauer)<br> +@css[twitter-handle text-white](@abbycode)@fa[twitter-square text-white pad-left-icon]<br> +@css[git-handle text-white](abbycode)@fa[github-square text-white pad-left-icon]<br> +@css[contact-email text-white](abcode@hotmail.com)@fa[envelope-o text-white pad-left-icon]<br> +<br> +@css[contact-name](Berry Nguyen)<br> +@css[twitter-handle text-white](@BerryNgu)@fa[twitter-square text-white pad-left-icon]<br> +@css[contact-email text-white](B.Nguyen@gmail.com)@fa[envelope-o text-white pad-left-icon]<br> +@snapend + +@snap[west span-50] + +@snapend + +@snap[north-west text-white template-note] +Contact info template. +@snapend + + ++++ +@title[Get In Touch #3] + +@snap[west contact-links] +@css[contact-name](David Russell)<br> +<a href="https://twitter.com/gitpitch"> +@fa[twitter-square pad-right-icon]@css[twitter-handle](@gitpitch) +</a><br> +<a href="https://github.com/gitpitch/gitpitch"> +@fa[github-square pad-right-icon]@css[git-handle](gitpitch) +</a><br> +<a href="mailto: david@gitpitch.com"> +@fa[envelope-o pad-right-icon]@css[contact-email](david@gitpitch.com) +</a> +@snapend + +@snap[east span-50] + +@snapend + +@snap[north-east template-note text-gray] +Contact info template. +@snapend + diff --git a/template/src/go/server.go b/template/src/go/server.go new file mode 100644 index 0000000000000000000000000000000000000000..c709401508d6e8644f22d0c2203924c964b30098 --- /dev/null +++ b/template/src/go/server.go @@ -0,0 +1,29 @@ +package funding + +type FundServer struct { + Commands chan interface{} + fund Fund +} + +func NewFundServer(initialBalance int) *FundServer { + server := &FundServer{ + // make() creates builtins like channels + Commands: make(chan interface{}), + fund: NewFund(initialBalance), + } + + // Spawn off the server's main loop immediately + go server.loop() + return server +} + +func (s *FundServer) loop() { + // The built-in "range" clause can iterate + // over channels, amongst other things + for command := range s.Commands { + + // Handle the command + + } +} +