Skip to content

Commit

Permalink
Merge pull request #4 from jetbrains-academy/add-more-examples
Browse files Browse the repository at this point in the history
Add dark images example, update readme and course info
  • Loading branch information
nbirillo authored Oct 2, 2023
2 parents 44adddf + d27ceae commit d0a22ac
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ This allows you to create a new repository easily without copying and pasting pr

All you have to do is click the <kbd>Use this template</kbd> button (you must be logged in with your GitHub account).

**TODO: add picture**
![Use this template][file:use-template-blur]

The most convenient way for getting your new project from GitHub is the <kbd>Get from VCS</kbd> action available on the Welcome Screen,
where you can filter your GitHub repository by its name.
Expand Down Expand Up @@ -269,4 +269,5 @@ In the `.github/workflows` directory, you can find definitions for the following
[file:use-this-template.png]: common/src/main/resources/images/get-from-version-control.png
[file:course-structure-author]: common/src/main/resources/images/course-structure-author.png
[file:course-structure-student]: common/src/main/resources/images/course-structure-student.png
[file:run-debug-configurations]: common/src/main/resources/images/run-debug-configurations.png
[file:run-debug-configurations]: common/src/main/resources/images/run-debug-configurations.png
[file:use-template-blur]: common/src/main/resources/images/use_template_blur.jpg
Binary file modified common/src/main/resources/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added common/src/main/resources/images/logo_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion course-info.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
type: marketplace
title: JetBrains Academy Kotlin course template
language: English
summary: TODO
summary: "Here you can put the course description. You can use HTML tags inside the description."
programming_language: Kotlin
content:
- courseSection
Expand Down
9 changes: 9 additions & 0 deletions courseSection/courseFrameworkLesson/theoryTask/task.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,12 @@ you can put them into the `common` module:
<img src="../../../common/src/main/resources/images/logo.png" alt="Logo" width="400"/>
</p>

<div class="hint" title="How to change pictures between themes?">

You can put picture for the dark theme together with the initial one with the suffix "_dark".
In this case the plugin will use this picture if the user switched the IDE theme to the dark one:

<p align="center">
<img src="../../../common/src/main/resources/images/theme_example.gif" alt="Logo" width="500"/>
</p>
</div>

0 comments on commit d0a22ac

Please sign in to comment.