Procházet zdrojové kódy

starters: add Course template

George Cushen před 2 roky
rodič
revize
008f07dc36
48 změnil soubory, kde provedl 909 přidání a 0 odebrání
  1. 2 0
      .github/workflows/split-packages.yaml
  2. 2 0
      starters/blog/.github/FUNDING.yml
  3. 2 0
      starters/course/.github/FUNDING.yml
  4. 8 0
      starters/course/.gitignore
  5. 34 0
      starters/course/README.md
  6. binární
      starters/course/assets/media/contact.jpg
  7. binární
      starters/course/assets/media/icon.png
  8. 0 0
      starters/course/assets/media/icons/.gitkeep
  9. 0 0
      starters/course/assets/media/student.svg
  10. 23 0
      starters/course/assets/scss/template.scss
  11. 84 0
      starters/course/config/_default/config.yaml
  12. 22 0
      starters/course/config/_default/languages.yaml
  13. 23 0
      starters/course/config/_default/menus.yaml
  14. 100 0
      starters/course/config/_default/params.yaml
  15. 8 0
      starters/course/content/admin/index.md
  16. 63 0
      starters/course/content/authors/admin/_index.md
  17. binární
      starters/course/content/authors/admin/avatar.jpg
  18. 64 0
      starters/course/content/authors/吳恩達/_index.md
  19. binární
      starters/course/content/authors/吳恩達/avatar.jpg
  20. 41 0
      starters/course/content/contact/contact.md
  21. 28 0
      starters/course/content/contact/image.md
  22. 4 0
      starters/course/content/contact/index.md
  23. 12 0
      starters/course/content/course/_index.md
  24. 41 0
      starters/course/content/course/example/_index.md
  25. binární
      starters/course/content/course/example/featured.jpg
  26. 36 0
      starters/course/content/course/example/python.md
  27. 35 0
      starters/course/content/course/example/stats.md
  28. 34 0
      starters/course/content/course/example/visualization.md
  29. 22 0
      starters/course/content/home/courses.md
  30. 20 0
      starters/course/content/home/features.md
  31. 32 0
      starters/course/content/home/hero.md
  32. 7 0
      starters/course/content/home/index.md
  33. 24 0
      starters/course/content/home/people.md
  34. 10 0
      starters/course/content/home/try.md
  35. 14 0
      starters/course/content/post/20-12-01-wowchemy-prize/index.md
  36. 14 0
      starters/course/content/post/20-12-02-ICML-best-paper/index.md
  37. 14 0
      starters/course/content/post/_index.md
  38. 15 0
      starters/course/content/privacy.md
  39. 15 0
      starters/course/content/terms.md
  40. 0 0
      starters/course/data/fonts/.gitkeep
  41. 20 0
      starters/course/data/themes/custom.toml
  42. 9 0
      starters/course/go.mod
  43. 21 0
      starters/course/netlify.toml
  44. binární
      starters/course/preview.png
  45. 0 0
      starters/course/static/uploads/.gitkeep
  46. 2 0
      starters/documentation/.github/FUNDING.yml
  47. 2 0
      starters/markdown-slides/.github/FUNDING.yml
  48. 2 0
      starters/portfolio/.github/FUNDING.yml

+ 2 - 0
.github/workflows/split-packages.yaml

@@ -25,6 +25,8 @@ jobs:
             split_repository: 'hugo-documentation-theme'
           - local_path: 'portfolio'
             split_repository: 'starter-hugo-portfolio-theme'
+          - local_path: 'course'
+            split_repository: 'starter-hugo-online-course'
 
     steps:
       -   uses: actions/checkout@v2

+ 2 - 0
starters/blog/.github/FUNDING.yml

@@ -0,0 +1,2 @@
+github: gcushen
+custom: https://wowchemy.com/sponsor/

+ 2 - 0
starters/course/.github/FUNDING.yml

@@ -0,0 +1,2 @@
+github: gcushen
+custom: https://wowchemy.com/sponsor/

+ 8 - 0
starters/course/.gitignore

@@ -0,0 +1,8 @@
+# IDEs
+.idea/
+
+# Hugo
+/resources/
+public/
+jsconfig.json
+node_modules/

+ 34 - 0
starters/course/README.md

@@ -0,0 +1,34 @@
+# [Hugo Online Course Theme](https://github.com/wowchemy/starter-hugo-online-course)
+
+[![Screenshot](./preview.png)](https://wowchemy.com/hugo-themes/)
+
+The **Online Course Template** empowers you easily create an online course or coaching business with the open source [**Wowchemy Website Builder**](https://wowchemy.com/) for [Hugo](https://github.com/gohugoio/hugo). This Hugo learning theme helps you to teach the way that you want to learn!
+
+[![Get Started](https://img.shields.io/badge/-Get%20started-ff4655?style=for-the-badge)](https://wowchemy.com/hugo-themes/)
+[![Discord](https://img.shields.io/discord/722225264733716590?style=for-the-badge)](https://discord.com/channels/722225264733716590/742892432458252370/742895548159492138)  
+[![Twitter Follow](https://img.shields.io/twitter/follow/wowchemy?label=Follow%20on%20Twitter)](https://twitter.com/wowchemy)
+
+[Check out the latest demo](https://wowchemy.com/docs/) of what you'll get in less than 10 minutes, or [get inspired by how others are using this template](https://wowchemy.com/creators/).
+
+The integrated [**Wowchemy**](https://wowchemy.com) website builder and CMS makes it easy to create a beautiful website for free. Edit your site in the CMS (or your favorite editor), generate it with [Hugo](https://github.com/gohugoio/hugo), and deploy with GitHub or Netlify. Customize anything on your site with widgets, light/dark themes, and language packs.
+
+- 👉 [**Get Started**](https://wowchemy.com/hugo-themes/)
+- 📚 [View the **documentation**](https://wowchemy.com/docs/)
+- 💬 [Chat with the **Wowchemy research community**](https://discord.gg/z8wNYzb) or [**Hugo community**](https://discourse.gohugo.io)
+- 🐦 Twitter: [@wowchemy](https://twitter.com/wowchemy) [@GeorgeCushen](https://twitter.com/GeorgeCushen) [#MadeWithWowchemy](https://twitter.com/search?q=(%23MadeWithWowchemy%20OR%20%23MadeWithAcademic)&src=typed_query)
+- ⬇️ **Automatically import citations from BibTeX** with the [Hugo Academic CLI](https://github.com/wowchemy/hugo-academic-cli)
+- 🚀 [Contribute improvements](./.github/contributing.md) or [suggest improvements](https://github.com/wowchemy/wowchemy-hugo-themes/issues)
+- ⬆️ **Updating?** View the [Update Guide](https://wowchemy.com/docs/hugo-tutorials/update/) and [Release Notes](https://github.com/wowchemy/wowchemy-hugo-themes/releases)
+
+## 💙 We ask you, humbly, to support this open source movement
+
+Today we ask you to defend the open source independence of the Wowchemy website builder and themes 🐧
+
+We're an open source movement that depends on your support to stay online and thriving, but 99.9% of our creators don't give; they simply look the other way.
+
+### [️😍 Click here to become a GitHub Sponsor, unlocking awesome perks such as _exclusive academic templates and widgets_](https://github.com/sponsors/gcushen)
+
+## Demo image credits
+
+- [Demo course image](https://unsplash.com/photos/JKUTrJ4vK00)
+- [Hero elearning icon](https://www.flaticon.com/packs/online-education-25)

binární
starters/course/assets/media/contact.jpg


binární
starters/course/assets/media/icon.png


+ 0 - 0
starters/course/assets/media/icons/.gitkeep


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
starters/course/assets/media/student.svg


+ 23 - 0
starters/course/assets/scss/template.scss

@@ -0,0 +1,23 @@
+// Remove shadow under navbar
+.navbar {
+  box-shadow: none;
+}
+
+// Full width Portfolio filter toolbar
+.btn-toolbar .btn-group {
+  flex: 1;
+}
+
+// Custom section spacing
+.home-section {
+  padding: 1.5rem 0 1.5rem 0;
+}
+
+.section-heading {
+  margin-bottom: 3rem !important;
+}
+
+// Center CTA button
+.cta-group {
+  justify-content: center;
+}

+ 84 - 0
starters/course/config/_default/config.yaml

@@ -0,0 +1,84 @@
+# Configuration of Hugo
+# Guide: https://wowchemy.com/docs/getting-started/
+# Hugo Documentation: https://gohugo.io/getting-started/configuration/#all-configuration-settings
+# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/
+
+title: 'My Online Courses' # Website name
+baseURL: 'https://example.com/' # Website URL
+
+############################
+## PAGE OPTIONS
+############################
+
+cascade:
+  # Docs folder options
+  - _target:
+      path: /course/**
+    editable: true
+    show_breadcrumb: true
+  # Blog post folder options
+  - _target:
+      path: /post/**
+    show_related: true
+
+############################
+## LANGUAGE
+############################
+
+defaultContentLanguage: en
+hasCJKLanguage: false
+defaultContentLanguageInSubdir: false
+removePathAccents: true
+
+############################
+## MODULES
+############################
+
+module:
+  imports:
+    - path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5
+    - path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5
+
+############################
+## ADVANCED
+############################
+
+enableGitInfo: false
+summaryLength: 30
+paginate: 10
+enableEmoji: true
+enableRobotsTXT: true
+footnotereturnlinkcontents: <sup>^</sup>
+ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$]
+permalinks:
+  authors: '/author/:slug/'
+  tags: '/tag/:slug/'
+  categories: '/category/:slug/'
+disableAliases: true
+outputs:
+  home: [HTML, RSS, JSON, WebAppManifest, headers, redirects]
+  section: [HTML, RSS]
+imaging:
+  resampleFilter: lanczos
+  quality: 75
+  anchor: smart
+timeout: 600000
+taxonomies:
+  tag: tags
+  category: categories
+  author: authors
+markup:
+  _merge: deep
+related:
+  threshold: 80
+  includeNewer: true
+  toLower: true
+  indices:
+    - name: tags
+      weight: 100
+    - name: categories
+      weight: 70
+security:
+  _merge: deep
+sitemap:
+  _merge: deep

+ 22 - 0
starters/course/config/_default/languages.yaml

@@ -0,0 +1,22 @@
+# Languages
+#   Create a section for each of your site's languages.
+#   Documentation: https://wowchemy.com/docs/guide/language/
+
+# Default language
+en:
+  languageCode: en-us
+  # Uncomment for multi-lingual sites, and move English content into `en` sub-folder.
+  #contentDir: content/en
+
+# Uncomment the lines below to configure your website in a second language.
+#zh:
+#  languageCode: zh-Hans
+#  contentDir: content/zh
+#  title: Chinese website title...
+#  params:
+#    description: Site description in Chinese...
+#  menu:
+#    main:
+#      - name: 传
+#        url: '#about'
+#        weight: 1

+ 23 - 0
starters/course/config/_default/menus.yaml

@@ -0,0 +1,23 @@
+# Navigation Links
+#   To link a homepage widget, specify the URL as a hash `#` followed by the filename of the
+#     desired widget in your `content/home/` folder.
+#   The weight parameter defines the order that the links will appear in.
+
+main:
+  - name: Home
+    url: '/'
+    weight: 10
+  - name: Courses
+    url: '/course'
+    weight: 20
+    identifier: courses
+  - name: Data science
+    url: '/course/example/'
+    weight: 10
+    parent: courses
+  - name: Blog
+    url: '/post'
+    weight: 30
+  - name: Contact
+    url: '/contact'
+    weight: 60

+ 100 - 0
starters/course/config/_default/params.yaml

@@ -0,0 +1,100 @@
+# SITE SETUP
+# Guide: https://wowchemy.com/docs/getting-started/
+# Documentation: https://wowchemy.com/docs/
+# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/
+
+# Appearance
+
+appearance:
+  theme_day: custom
+  theme_night:
+  font: minimal
+  font_size: L
+
+# SEO
+
+marketing:
+  seo:
+    site_type: Organization
+    local_business_type: ''
+    org_name: ''
+    description: 'A highly-customizable Hugo learning theme powered by Wowchemy website builder.'
+    twitter: 'wowchemy'
+  analytics:
+    google_analytics: ''
+    baidu_tongji: ''
+  verification:
+    google: ''
+    baidu: ''
+
+# Site header
+
+header:
+  navbar:
+    enable: true
+    align: l
+    show_logo: true
+    show_language: false
+    show_day_night: true
+    show_search: true
+    highlight_active_link: true
+
+# Site footer
+
+footer:
+  copyright:
+    notice: '© {year} Me. This work is licensed under {license}'
+    license:
+      enable: true
+      allow_derivatives: false
+      share_alike: true
+      allow_commercial: false
+
+# Localization
+
+locale:
+  date_format: 'Jan 2, 2006'
+  time_format: '3:04 PM'
+
+# Site features
+
+features:
+  syntax_highlighter:
+    enable: true
+    extra_languages:
+      - r
+      - latex
+  math:
+    enable: false
+  diagram:
+    enable: false
+  privacy_pack:
+    enable: false
+  repository:
+    url: 'https://github.com/wowchemy/starter-hugo-online-course'
+    content_dir: content
+    branch: main
+  comment:
+    provider: ''
+    disqus:
+      shortname: ''
+      show_count: true
+    commento:
+      url: ''
+  search:
+    provider: wowchemy
+    algolia:
+      app_id: ''
+      api_key: ''
+      index_name: ''
+      show_logo: false
+
+extensions:
+  cms:
+    branch: main
+    local_backend: false
+  isotope:
+    # Enable if you use the Portfolio widget or Publication filter
+    enable: true
+  academicons:
+    enable: false

+ 8 - 0
starters/course/content/admin/index.md

@@ -0,0 +1,8 @@
+---
+# Generate Wowchemy CMS
+type: wowchemycms
+private: true
+outputs:
+- wowchemycms_config
+- HTML
+---

+ 63 - 0
starters/course/content/authors/admin/_index.md

@@ -0,0 +1,63 @@
+---
+# Display name
+title: Nelson Bighetti
+
+# Is this the primary user of the site?
+superuser: true
+
+# Role/position
+role: Python Instructor
+
+# Organizations/Affiliations
+organizations:
+- name: Stanford University
+  url: ""
+
+# Short bio (displayed in user profile at end of posts)
+bio: My research interests include distributed robotics, mobile computing and programmable matter.
+
+interests:
+- Artificial Intelligence
+- Computational Linguistics
+- Information Retrieval
+
+education:
+  courses:
+  - course: PhD in Artificial Intelligence
+    institution: Stanford University
+    year: 2012
+  - course: MEng in Artificial Intelligence
+    institution: Massachusetts Institute of Technology
+    year: 2009
+  - course: BSc in Artificial Intelligence
+    institution: Massachusetts Institute of Technology
+    year: 2008
+
+# Social/Academic Networking
+# For available icons, see: https://sourcethemes.com/academic/docs/page-builder/#icons
+#   For an email link, use "fas" icon pack, "envelope" icon, and a link in the
+#   form "mailto:your-email@example.com" or "#contact" for contact widget.
+social:
+- icon: envelope
+  icon_pack: fas
+  link: 'mailto:test@example.org'
+- icon: twitter
+  icon_pack: fab
+  link: https://twitter.com/GeorgeCushen
+- icon: github
+  icon_pack: fab
+  link: https://github.com/gcushen
+
+# Enter email to display Gravatar (if Gravatar enabled in Config)
+email: ""
+
+# Highlight the author in author lists? (true/false)
+highlight_name: false
+
+# Organizational groups that you belong to (for People widget)
+#   Set this to `[]` or comment out if you are not using People widget.
+user_groups:
+- Teachers
+---
+
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed neque elit, tristique placerat feugiat ac, facilisis vitae arcu. Proin eget egestas augue. Praesent ut sem nec arcu pellentesque aliquet. Duis dapibus diam vel metus tempus vulputate.

binární
starters/course/content/authors/admin/avatar.jpg


+ 64 - 0
starters/course/content/authors/吳恩達/_index.md

@@ -0,0 +1,64 @@
+---
+# Display name
+title: 吳恩達
+
+# Username (this should match the folder name)
+authors:
+- 吳恩達
+
+# Is this the primary user of the site?
+superuser: false
+
+# Role/position
+role: R Instructor
+
+# Organizations/Affiliations
+organizations:
+- name: Stanford University
+  url: ""
+
+# Short bio (displayed in user profile at end of posts)
+bio: My research interests include distributed robotics, mobile computing and programmable matter.
+
+interests:
+- Artificial Intelligence
+- Computational Linguistics
+- Information Retrieval
+
+education:
+  courses:
+  - course: PhD in Artificial Intelligence
+    institution: Stanford University
+    year: 2012
+  - course: MEng in Artificial Intelligence
+    institution: Massachusetts Institute of Technology
+    year: 2009
+  - course: BSc in Artificial Intelligence
+    institution: Massachusetts Institute of Technology
+    year: 2008
+
+# Social/Academic Networking
+# For available icons, see: https://sourcethemes.com/academic/docs/page-builder/#icons
+#   For an email link, use "fas" icon pack, "envelope" icon, and a link in the
+#   form "mailto:your-email@example.com" or "#contact" for contact widget.
+social:
+- icon: envelope
+  icon_pack: fas
+  link: 'mailto:test@example.org'
+- icon: twitter
+  icon_pack: fab
+  link: https://twitter.com/GeorgeCushen
+- icon: github
+  icon_pack: fab
+  link: https://github.com/gcushen
+
+# Enter email to display Gravatar (if Gravatar enabled in Config)
+email: ""
+
+# Organizational groups that you belong to (for People widget)
+#   Set this to `[]` or comment out if you are not using People widget.
+user_groups:
+- Teachers
+---
+
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed neque elit, tristique placerat feugiat ac, facilisis vitae arcu. Proin eget egestas augue. Praesent ut sem nec arcu pellentesque aliquet. Duis dapibus diam vel metus tempus vulputate.

binární
starters/course/content/authors/吳恩達/avatar.jpg


+ 41 - 0
starters/course/content/contact/contact.md

@@ -0,0 +1,41 @@
+---
+# An instance of the Contact widget.
+# Documentation: https://wowchemy.com/docs/page-builder/
+widget: contact
+
+# This file represents a page section.
+headless: true
+
+# Order that this section appears on the page.
+weight: 10
+
+title: Contact
+subtitle:
+
+content:
+  # Contact (edit or remove options as required)
+  email: test@example.org
+  appointment_url: 'https://calendly.com'
+  contact_links:
+  - icon: comments
+    icon_pack: fas
+    name: Discuss on the forum
+    link: 'https://github.com/wowchemy/wowchemy-hugo-themes/discussions'
+
+  # Automatically link email and phone or display as text?
+  autolink: true
+  
+  # Email form provider
+  form:
+    provider: netlify
+    formspree:
+      id:
+    netlify:
+      # Enable CAPTCHA challenge to reduce spam?
+      captcha: false
+
+design:
+  columns: '1'
+---
+
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer tempus augue non tempor egestas. Proin nisl nunc, dignissim in accumsan dapibus, auctor ullamcorper neque. Quisque at elit felis. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Aenean eget elementum odio. Cras interdum eget risus sit amet aliquet. In volutpat, nisl ut fringilla dignissim, arcu nisl suscipit ante, at accumsan sapien nisl eu eros.

+ 28 - 0
starters/course/content/contact/image.md

@@ -0,0 +1,28 @@
+---
+# An instance of the Blank widget.
+# Documentation: https://wowchemy.com/docs/page-builder/
+widget: blank
+
+# This file represents a page section.
+headless: true
+
+# Order that this section appears on the page.
+weight: 20
+
+title:
+subtitle:
+
+design:
+  columns: "1"
+  background:
+    image: contact.jpg
+    image_darken: 0
+    image_parallax: false
+    image_position: center
+    image_size: cover
+    text_color_light: true
+  spacing:
+    padding: ["20px", "0", "20px", "0"]
+advanced:
+  css_class: fullscreen
+---

+ 4 - 0
starters/course/content/contact/index.md

@@ -0,0 +1,4 @@
+---
+# Files in this folder represent a Widget Page
+type: widget_page
+---

+ 12 - 0
starters/course/content/course/_index.md

@@ -0,0 +1,12 @@
+---
+title: 📚 Courses
+type: page
+
+view: compact
+
+header:
+  caption: ""
+  image: ""
+---
+
+Explore our courses below and expand your knowledge!

+ 41 - 0
starters/course/content/course/example/_index.md

@@ -0,0 +1,41 @@
+---
+title: 📊 Learn Data Science
+linkTitle: Data Science
+summary: An example of using Wowchemy's Book layout for publishing online courses.
+date: '2021-01-24'
+type: book
+---
+
+{{< figure src="featured.jpg" >}}
+
+{{< toc hide_on="xl" >}}
+
+## What you will learn
+
+- Fundamental {{<hl>}}Python programming skills{{</hl>}}
+- {{<hl>}}Statistical concepts{{</hl>}} and how to apply them in practice
+- Gain experience with the {{<hl>}}Scikit{{</hl>}}, including data visualization with {{<hl>}}Plotly{{</hl>}} and data wrangling with {{<hl>}}Pandas{{</hl>}}
+
+## Program overview
+
+The demand for skilled data science practitioners is rapidly growing. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. Sed ac faucibus dolor, scelerisque sollicitudin nisi.
+
+## Courses in this program
+
+{{< list_children >}}
+
+## Meet your instructor
+
+{{< mention "admin" >}}
+
+## FAQs
+
+{{< spoiler text="Are there prerequisites?" >}}
+There are no prerequisites for the first course.
+{{< /spoiler >}}
+
+{{< spoiler text="How often do the courses run?" >}}
+Continuously, at your own pace.
+{{< /spoiler >}}
+
+{{< cta cta_text="Begin the course" cta_link="python" >}}

binární
starters/course/content/course/example/featured.jpg


+ 36 - 0
starters/course/content/course/example/python.md

@@ -0,0 +1,36 @@
+---
+title: Python basics
+date: '2021-01-01'
+type: book
+weight: 20
+---
+
+Build a foundation in Python.
+
+<!--more-->
+
+{{< icon name="clock" pack="fas" >}} 1-2 hours per week, for 8 weeks
+
+## Learn
+
+{{< youtube rfscVS0vtbw >}}
+
+## Quiz
+
+{{< spoiler text="What is the difference between lists and tuples?" >}}
+Lists
+
+- Lists are mutable - they can be changed
+- Slower than tuples
+- Syntax: `a_list = [1, 2.0, 'Hello world']`
+
+Tuples
+
+- Tuples are immutable - they can't be changed
+- Tuples are faster than lists 
+- Syntax: `a_tuple = (1, 2.0, 'Hello world')`
+{{< /spoiler >}}
+
+{{< spoiler text="Is Python case-sensitive?" >}}
+Yes
+{{< /spoiler >}}

+ 35 - 0
starters/course/content/course/example/stats.md

@@ -0,0 +1,35 @@
+---
+title: Statistics
+date: '2021-01-01'
+type: book
+weight: 40
+math: true
+tags:
+  - Statistics
+---
+
+Introduction to statistics for data science.
+
+<!--more-->
+
+{{< icon name="clock" pack="fas" >}} 1-2 hours per week, for 8 weeks
+
+## Learn
+
+The general form of the **normal** probability density function is:
+
+$$
+f(x) = \frac{1}{\sigma \sqrt{2\pi} } e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^2}
+$$
+
+{{< callout note >}}
+The parameter $\mu$ is the mean or expectation of the distribution.
+$\sigma$ is its standard deviation.
+The variance of the distribution is $\sigma^{2}$.
+{{< /callout >}}
+
+## Quiz
+
+{{< spoiler text="What is the parameter $\mu$?" >}}
+The parameter $\mu$ is the mean or expectation of the distribution.
+{{< /spoiler >}}

+ 34 - 0
starters/course/content/course/example/visualization.md

@@ -0,0 +1,34 @@
+---
+title: Visualization
+date: '2021-01-01'
+type: book
+weight: 30
+highlight: true
+tags:
+  - Data Visualization
+---
+
+Learn how to visualize data with Plotly.
+
+<!--more-->
+
+{{< icon name="clock" pack="fas" >}} 1-2 hours per week, for 8 weeks
+
+## Learn
+
+{{< youtube hSPmj7mK6ng >}}
+
+## Quiz
+
+{{< spoiler text="When is a heatmap useful?" >}}
+Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+{{< /spoiler >}}
+
+{{< spoiler text="Write Plotly code to render a bar chart" >}}
+```python
+import plotly.express as px
+data_canada = px.data.gapminder().query("country == 'Canada'")
+fig = px.bar(data_canada, x='year', y='pop')
+fig.show()
+```
+{{< /spoiler >}}

+ 22 - 0
starters/course/content/home/courses.md

@@ -0,0 +1,22 @@
+---
+widget: portfolio
+headless: true
+weight: 30
+title: Explore top courses
+subtitle:
+content:
+  page_type: book
+  filter_default: 0
+
+  filter_button:
+    - name: All Courses
+      tag: '*'
+    - name: Data Visualization
+      tag: Data Visualization
+    - name: Statistics
+      tag: Statistics
+design:
+  columns: '1'
+  view: 3
+  flip_alt_rows: false
+---

+ 20 - 0
starters/course/content/home/features.md

@@ -0,0 +1,20 @@
+---
+widget: featurette
+headless: true
+weight: 20
+title: Features
+subtitle: ✨ Teach _anything_ with
+feature:
+  - icon: chalkboard-teacher
+    icon_pack: fas
+    name: Slides
+    description: 
+  - icon: video
+    icon_pack: fas
+    name: Video
+    description: 
+  - icon: code
+    icon_pack: fas
+    name: Math & Code
+    description: 
+---

+ 32 - 0
starters/course/content/home/hero.md

@@ -0,0 +1,32 @@
+---
+widget: hero
+headless: true
+weight: 10
+title: Online Course Template
+hero_media: student.svg
+design:
+  background:
+    gradient_angle: 0
+    gradient_start: 'rgb(224,223,255)'
+    gradient_end: 'rgb(153,238,255)'
+    text_color_light: false
+cta:
+  url: course/
+  label: Explore our courses
+  icon_pack: fas
+  icon: user-graduate
+cta_alt:
+  url:
+  label:
+cta_note:
+  label:
+advanced:
+  css_class: fullscreen
+---
+<br>
+
+Published with the [Wowchemy Website Builder](https://wowchemy.com/) for Hugo.
+
+Introduce your courses here.
+
+<a class="github-button" href="https://github.com/wowchemy/wowchemy-hugo-modules" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star Wowchemy Website Builder for Hugo">Star Wowchemy Website Builder for Hugo</a><br><a class="github-button" href="https://github.com/wowchemy/starter-hugo-online-course" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star the Online Course template">Star the Online Course template</a><script async defer src="https://buttons.github.io/buttons.js"></script>

+ 7 - 0
starters/course/content/home/index.md

@@ -0,0 +1,7 @@
+---
+# Homepage
+type: "widget_page"
+
+# Homepage is headless, other widget pages are not.
+headless: true
+---

+ 24 - 0
starters/course/content/home/people.md

@@ -0,0 +1,24 @@
+---
+# An instance of the People widget.
+# Documentation: https://wowchemy.com/docs/page-builder/
+widget: people
+
+# This file represents a page section.
+headless: true
+
+# Order that this section appears on the page.
+weight: 40
+
+title: Meet the Team
+subtitle:
+
+content:
+  # Choose which groups/teams of users to display.
+  #   Edit `user_groups` in each user's profile to add them to one or more of these groups.
+  user_groups:
+  - Teachers
+design:
+  show_interests: false
+  show_role: true
+  show_social: true
+---

+ 10 - 0
starters/course/content/home/try.md

@@ -0,0 +1,10 @@
+---
+title: Ready to learn?
+subtitle:
+widget: blank
+weight: 50
+design:
+  columns: '1'
+---
+
+{{% cta cta_link="./course/" cta_text="Explore our courses!" %}}

+ 14 - 0
starters/course/content/post/20-12-01-wowchemy-prize/index.md

@@ -0,0 +1,14 @@
+---
+title: Richard Hendricks Wins First Place in the Wowchemy Prize
+date: 2020-12-01
+---
+
+Congratulations to Richard Hendricks for winning first place in the Wowchemy Prize.
+
+<!--more-->
+
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer tempus augue non tempor egestas. Proin nisl nunc, dignissim in accumsan dapibus, auctor ullamcorper neque. Quisque at elit felis. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Aenean eget elementum odio. Cras interdum eget risus sit amet aliquet. In volutpat, nisl ut fringilla dignissim, arcu nisl suscipit ante, at accumsan sapien nisl eu eros.
+
+Sed eu dui nec ligula bibendum dapibus. Nullam imperdiet auctor tortor, vel cursus mauris malesuada non. Quisque ultrices euismod dapibus. Aenean sed gravida risus. Sed nisi tortor, vulputate nec quam non, placerat porta nisl. Nunc varius lobortis urna, condimentum facilisis ipsum molestie eu. Ut molestie eleifend ligula sed dignissim. Duis ut tellus turpis. Praesent tincidunt, nunc sed congue malesuada, mauris enim maximus massa, eget interdum turpis urna et ante. Morbi sem nisl, cursus quis mollis et, interdum luctus augue. Aliquam laoreet, leo et accumsan tincidunt, libero neque aliquet lectus, a ultricies lorem mi a orci.
+
+Mauris dapibus sem vel magna convallis laoreet. Donec in venenatis urna, vitae sodales odio. Praesent tortor diam, varius non luctus nec, bibendum vel est. Quisque id sem enim. Maecenas at est leo. Vestibulum tristique pellentesque ex, blandit placerat nunc eleifend sit amet. Fusce eget lectus bibendum, accumsan mi quis, luctus sem. Etiam vitae nulla scelerisque, eleifend odio in, euismod quam. Etiam porta ullamcorper massa, vitae gravida turpis euismod quis. Mauris sodales sem ac ultrices viverra. In placerat ultrices sapien. Suspendisse eu arcu hendrerit, luctus tortor cursus, maximus dolor. Proin et velit et quam gravida dapibus. Donec blandit justo ut consequat tristique.

+ 14 - 0
starters/course/content/post/20-12-02-ICML-best-paper/index.md

@@ -0,0 +1,14 @@
+---
+title: Jian Yang and Monica Hall Win the Best Paper Award at Wowchemy 2020
+date: 2020-12-02
+---
+
+Congratulations to Jian Yang and Monica Hall for winning the Best Paper Award at the 2020 Conference on Wowchemy for their paper “Learning Wowchemy”.
+
+<!--more-->
+
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer tempus augue non tempor egestas. Proin nisl nunc, dignissim in accumsan dapibus, auctor ullamcorper neque. Quisque at elit felis. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Aenean eget elementum odio. Cras interdum eget risus sit amet aliquet. In volutpat, nisl ut fringilla dignissim, arcu nisl suscipit ante, at accumsan sapien nisl eu eros.
+
+Sed eu dui nec ligula bibendum dapibus. Nullam imperdiet auctor tortor, vel cursus mauris malesuada non. Quisque ultrices euismod dapibus. Aenean sed gravida risus. Sed nisi tortor, vulputate nec quam non, placerat porta nisl. Nunc varius lobortis urna, condimentum facilisis ipsum molestie eu. Ut molestie eleifend ligula sed dignissim. Duis ut tellus turpis. Praesent tincidunt, nunc sed congue malesuada, mauris enim maximus massa, eget interdum turpis urna et ante. Morbi sem nisl, cursus quis mollis et, interdum luctus augue. Aliquam laoreet, leo et accumsan tincidunt, libero neque aliquet lectus, a ultricies lorem mi a orci.
+
+Mauris dapibus sem vel magna convallis laoreet. Donec in venenatis urna, vitae sodales odio. Praesent tortor diam, varius non luctus nec, bibendum vel est. Quisque id sem enim. Maecenas at est leo. Vestibulum tristique pellentesque ex, blandit placerat nunc eleifend sit amet. Fusce eget lectus bibendum, accumsan mi quis, luctus sem. Etiam vitae nulla scelerisque, eleifend odio in, euismod quam. Etiam porta ullamcorper massa, vitae gravida turpis euismod quis. Mauris sodales sem ac ultrices viverra. In placerat ultrices sapien. Suspendisse eu arcu hendrerit, luctus tortor cursus, maximus dolor. Proin et velit et quam gravida dapibus. Donec blandit justo ut consequat tristique.

+ 14 - 0
starters/course/content/post/_index.md

@@ -0,0 +1,14 @@
+---
+title: Latest News
+
+# View.
+#   1 = List
+#   2 = Compact
+#   3 = Card
+view: 2
+
+# Optional header image (relative to `static/media/` folder).
+header:
+  caption: ""
+  image: ""
+---

+ 15 - 0
starters/course/content/privacy.md

@@ -0,0 +1,15 @@
+---
+title: Privacy Policy
+date: "2018-06-28T00:00:00+01:00"
+draft: true
+share: false
+commentable: false
+editable: false
+
+# Optional header image (relative to `assets/media/` folder).
+header:
+  caption: ""
+  image: ""
+---
+
+Add your privacy policy here and set `draft: false` to publish it. Otherwise, delete this file if you don't need it.

+ 15 - 0
starters/course/content/terms.md

@@ -0,0 +1,15 @@
+---
+title: Terms
+date: "2018-06-28T00:00:00+01:00"
+draft: true
+share: false
+commentable: false
+editable: false
+
+# Optional header image (relative to `assets/media/` folder).
+header:
+  caption: ""
+  image: ""
+---
+
+Add your terms here and set `draft: false` to publish it. Otherwise, delete this file if you don't need it.

+ 0 - 0
starters/course/data/fonts/.gitkeep


+ 20 - 0
starters/course/data/themes/custom.toml

@@ -0,0 +1,20 @@
+# Theme metadata
+name = "Custom Theme"
+
+[light]
+  # Primary
+  primary = "#0072ff"
+
+  # Links
+  link = "#3273dc"
+  link_hover = "rgb(54, 54, 54)"
+
+  # Menu
+  menu_primary = "rgb(153,238,255)"
+  menu_text = "#000"
+  menu_text_active = "#0072ff"
+  menu_title = "#000"
+
+  # Home sections
+  home_section_odd = "rgb(255, 255, 255)"
+  home_section_even = "rgb(255, 255, 255)"

+ 9 - 0
starters/course/go.mod

@@ -0,0 +1,9 @@
+module github.com/wowchemy/starter-academic
+
+go 1.15
+
+require (
+	github.com/wowchemy/wowchemy-hugo-modules/v5 v5.3.0
+	github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20220220182731-98d590223d88 // indirect
+	github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20220220182731-98d590223d88 // indirect
+)

+ 21 - 0
starters/course/netlify.toml

@@ -0,0 +1,21 @@
+[build]
+  command = "hugo --gc --minify -b $URL"
+  publish = "public"
+
+[build.environment]
+  HUGO_VERSION = "0.91.2"
+  HUGO_ENABLEGITINFO = "true"
+
+[context.production.environment]
+  HUGO_ENV = "production"
+
+[context.deploy-preview]
+  command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
+
+[context.branch-deploy]
+  command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
+
+[[plugins]]
+  package = "netlify-plugin-hugo-cache-resources"
+  [plugins.inputs]
+    debug = true

binární
starters/course/preview.png


+ 0 - 0
starters/course/static/uploads/.gitkeep


+ 2 - 0
starters/documentation/.github/FUNDING.yml

@@ -0,0 +1,2 @@
+github: gcushen
+custom: https://wowchemy.com/sponsor/

+ 2 - 0
starters/markdown-slides/.github/FUNDING.yml

@@ -0,0 +1,2 @@
+github: gcushen
+custom: https://wowchemy.com/sponsor/

+ 2 - 0
starters/portfolio/.github/FUNDING.yml

@@ -0,0 +1,2 @@
+github: gcushen
+custom: https://wowchemy.com/sponsor/

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů