Skip to content

Commit 45db5a1

Browse files
Various changes by Siddhant + component extraction (#10)
* New logo page by Siddhant * New brand page by Siddhant * New and ported assets by Siddhant * Extracted homepage repeated code to components * Custom css for components and includes * Rewritten homepage by Siddhant * Archive unready links in footer * More useful development information * Build default branch, helpful if it is not main * Allow manually running GitHub actions * Remove need for branch-checking to fix workflow * Minor syntax error fixes --------- Co-authored-by: Henry Wilkinson <henry@wilkinson.graphics>
1 parent 2621862 commit 45db5a1

File tree

14 files changed

+270
-177
lines changed

14 files changed

+270
-177
lines changed

.github/workflows/jekyll.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: Deploy Jekyll site to Pages
33

44
on:
55
push:
6-
branches:
7-
- main
6+
workflow_dispatch:
87

98
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
109
permissions:

DEVELOP.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Natron's website uses Jekyll, a static site generator. It usually saves us a lot of time reduces our trouble, but we know it can be confusing to many newer developers and get *them* in lots of trouble. So, here is a reliable means of developing Natron's website for Mac users, Windows users, and GNU/Linux users!
44

5-
If you run into any issues, look at the FAQ and common build problems section at the bottom of this guide.
5+
If you run into any issues, look at the FAQ and [Development Gotchas](#development-gotchas) section at the bottom of this guide.
66

77
## Installing prerequisites for development
88

@@ -151,8 +151,30 @@ First, you want to get [Homebrew](https://brew.sh/), which is a package manager
151151

152152
Follow the same steps as in the GNU/Linux guide, with the one difference being that you want to use Homebrew to install `rbenv`, by running `brew install rbenv`. The remainder of the steps should be exactly the same as on GNU/Linux.
153153

154-
## Important contributing information
154+
## Contributing guide
155+
156+
Our development workflow uses Git, which tracks development changes so that we can easily synchronize work by multiple developers, locate any change in history, and not worry about losing work. Git relies on the concept of _branches_ and _commits_. A commit is any change: it can be anything from editing an existing file, creating a new file, to deleting a file. Commits happen on _branches_, which are like paths for commits. A quick reference to Git's many, many commands, as well as links to resources for beginners, can be found [here](https://learnxinyminutes.com/docs/git/). We host our Git repository and collaborate on [GitHub](https://github.com/), and a starting guide for GitHub can be found [here](https://docs.github.com/en/get-started/start-your-journey).
157+
158+
It is *strongly encouraged* to create a new branch for any new additions, via `git checkout -b my-new-branch-name`, as this will avoid [many issues](https://stackoverflow.com/questions/64369860/github-no-file-changes-but-many-commits-when-comparing-branches). Open a [pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests) once you are finished making your changes and have pushed them to GitHub.
159+
160+
### Important contributing information
155161

156162
You are welcome to make pull requests (PRs) to contribute your changes to the website! We will give your PR a review, and as long as there are no issues, your changes will be accepted and added to the website.
157163

158-
However, please take note that you **do not overwrite** the `Gemfile.lock`. It is easy for this to happen if you use a version of Ruby, `bundler`, or Jekyll that is different from the official versions given in this guide. The `Gemfile.lock` is important for making sure that the GitHub action builds can take place in a carefully-controlled environment, and as such, should not be modified lightly. In certain cases, such as when changing Jekyll or Ruby versions, it may be changed, but otherwise, please do not submit a commit that has overwritten it, and check that you did not accidentally commit any locally-different `Gemfile.lock`.
164+
However, please take note that you **do not overwrite** the `Gemfile.lock`. It is easy for this to happen if you use a version of Ruby, `bundler`, or Jekyll that is different from the official versions given in this guide. The `Gemfile.lock` is important for making sure that the GitHub action builds can take place in a carefully-controlled environment, and as such, should not be modified lightly. In certain cases, such as when changing Jekyll or Ruby versions, it may be changed, but otherwise, please do not submit a commit that has overwritten it, and check that you did not accidentally commit any locally-different `Gemfile.lock`.
165+
166+
## Development Gotchas
167+
168+
Due to the nature of our development setup, there are lots of hidden surprises that may happen, and they are documented here.
169+
170+
- I got the error `Invalid syntax for include tag. File contains invalid characters or sequences.`
171+
- This is because the correct syntax is `{% include component.html param="value" %}`, with the include html path **not surrounded by quotes** (i.e. not `"component.html"`)
172+
- My site variables are not being updated!
173+
- Reload the development server, open a new terminal if necessary, as Jekyll's development server does not seem to reload config files
174+
175+
## FAQ
176+
177+
- Why did you use Jekyll? Why not Hugo/Next.js/Gatsby?
178+
- This is because Jekyll is native to GitHub, and we originally wanted to use GitHub pages' native Jekyll support, though we ended up switching to GitHub actions to reduce dependencies and use a more recent version of Jekyll
179+
- Why is the Git repo so big?
180+
- We include images, brand assets and third-party binary files necessary for Natron that are not available anymore, the Jekyll site itself is relatively small

_config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ twitter: https://twitter.com/natronvfx
99
discord: https://discord.gg/cpMj5p3Fv5
1010
forum: https://discuss.pixls.us/c/software/natron
1111
github: https://github.com/NatronGitHub/Natron
12+
facebook: https://facebook.com/groups/NatronNation/
1213

1314
# Values to change when setting up a new Natron release
1415
natron:
@@ -59,6 +60,11 @@ downloads:
5960
title: "OS X 10.6+"
6061
url: ""
6162
suffix: "-OSX-Universal.dmg"
63+
other:
64+
freshports: https://www.freshports.org/graphics/natron/
65+
examples: https://sourceforge.net/projects/natron/files/Examples/
66+
natron-plugins: https://github.com/NatronGitHub/natron-plugins
67+
natron-scripts: https://github.com/NatronGitHub/natron-python-scripting
6268

6369
# Build settings
6470
sass:

_includes/community-card.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{% capture site-link %}
2+
site.{{ include.name }}
3+
{% endcapture %}
4+
5+
<div class="index-community-cardcontainer">
6+
<a href="{{ site[include.name] }}" class="index-card" target="_blank">
7+
<div class="index-card-icon">
8+
<i class='bx {{ include.icon }}'></i>
9+
</div>
10+
<div class="index-card-text">
11+
<div>
12+
<h4 class="h4">{{ include.title }}</h4>
13+
<p class="p-small">
14+
{{ include.detail }}
15+
</p>
16+
</div>
17+
</div>
18+
</a>
19+
</div>

_includes/download-btn.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div class="{{ include.styling | default: '' }}">
2+
<a class="button large-dropshadow download-btn" href="{{ include.href }}"><i class='bx bxs-download' style="font-size: 1.4rem;margin-right: 0.4rem;"></i> {{ include.name }}</a>
3+
</div>

_includes/feature-card.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<li>
2+
<div class="index-featurecard">
3+
<img src="{% base %}img/index-feature-cards/{{ include.icon }}" alt="">
4+
<div>
5+
<h4 class="h4">{{ include.title }}</h4>
6+
<p class="p-small">
7+
{{ include.detail }}
8+
</p>
9+
</div>
10+
</div>
11+
</li>

_includes/footer.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ <h4 class="h4">Explore</h4>
1313
<li>
1414
<a href="{% base %}">Home</a>
1515
</li>
16+
<!-- Will re-activate once features page is done
1617
<li>
1718
<a href="{% base %}features/2d-compositing">Features</a>
18-
</li>
19+
</li> -->
1920
<li>
2021
<a href="{% base %}news">News</a>
2122
</li>
@@ -26,7 +27,7 @@ <h4 class="h4">Explore</h4>
2627
<a href="{% base %}about">About</a>
2728
</li>
2829
<li>
29-
<a href="{% base %}/brand">Brand</a>
30+
<a href="{% base %}brand">Brand</a>
3031
</li>
3132
</ul>
3233
</nav>

_sass/_custom.scss

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// For custom components and includes
2+
@import "mq";
3+
4+
.download-btn {
5+
color: var(--textwhite) !important;
6+
text-decoration: none !important;
7+
}
8+
9+
10+
.brand-logo {
11+
display: inline-block;
12+
max-width: 50% !important;
13+
height: auto;
14+
margin-top: 1rem !important;
15+
margin-bottom: 1rem !important;
16+
}
17+
18+
@include mq($until: tablet) {
19+
.brand-logo {
20+
max-width: 70% !important;
21+
margin-left: auto;
22+
margin-right: auto;
23+
}
24+
}
25+
26+
@include mq($until: mobile) {
27+
.brand-logo {
28+
max-width: 90% !important;
29+
}
30+
}
31+
32+
.with-spacers {
33+
margin: 2rem 0.5rem;
34+
}

about.md

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,39 +7,46 @@ title: About Natron
77

88
![An animated cartoon shot open in Natron](img/about-screenshot.png)
99

10-
Natron is a free and open-source compositing application geared towards VFX work. It is currently actively developed by a small team of developers as a community effort.
10+
## Cross-platform open-source compositor for the visual effects industry
1111

12-
We accept [feature requests and bug reports on GitHub](https://github.com/natronGitHub/natron/issues).
12+
Natron is a powerful free and open-source VFX compositor geared towards digital post-production work, with industry-standard UI, 100+ nodes, and support for OpenFX and community-made plugins. With its robust OpenFX based engine and support for OpenImageIO and OpenColorIO, Natron can handle all of your VFX post-production needs.
13+
14+
Natron was a proud recipient of [Inria](https://www.inria.fr/en) funding from 2013–2018, and is currently being developed by a team of open-source contributors as a community effort.
15+
16+
We accept feature requests and bug reports on [our GitHub](https://github.com/natronGitHub/natron/issues).
1317

1418
## Development
1519

16-
We regularly accept pull requests and are always looking for new contributors. If you are experienced in C++, Qt, and graphics programming, and are interested in contributing to Natron, please reach out to us!
20+
We are always on the lookout for new contributions to Natron, be they minor bug fixes or big new features. As such, we regularly review the GitHub and accept pull requests. If you are a developer who is well versed in C++, Qt, and graphics programming, and are interested in contributing, please do not hesitate to reach out to us!
1721

18-
For instructions on how to build Natron from sources please see [this section of our README document.](https://github.com/NatronGitHub/Natron#building-and-installing-from-source)
22+
For instructions on how to build Natron from source, read through [Natron's README file on GitHub.](https://github.com/NatronGitHub/Natron#building-and-installing-from-source)
1923

20-
## FAQs
24+
## FAQ
2125

22-
### Is Natron free?
26+
### Is Natron really free?
2327

24-
Yes, Natron is free and due to its GPL license it always will be.
28+
Yes, Natron is free software. Free to use, free to modify, and free to share, due to its open-source GNU GPL license.
2529

2630
### What can Natron do?
2731

28-
Natron is suited to perform 2D compositing tasks. That means it can:
32+
Natron is a powerful digital compositor capable of handling a multitude of VFX and post-production tasks. Natron's capabilities include but are not limited to:
2933

30-
* Chromakey blue and green screens
31-
* Rotoscope a moving object or person
32-
* Combine multiple pieces of footage on top of each-other
33-
* Perform 2D stablization and tracking
34-
* Warp, crop, blur, and other effects
35-
* Combine and edit render passes of OpenEXR files
34+
- Linear node-based workflow
35+
- 32bit/channel floating-point linear processing pipeline
36+
- Industry-standard OIIO file format support
37+
- Powerful chroma-keying and matte refinement
38+
- Industry-standard rotoscoping and rotopaint
39+
- Pixel-perfect tracking and stabilization
40+
- Industry-standard OCIO color management
41+
- Extensive OpenFX and community plugins support
42+
- And much more!
3643

37-
Natron does *not* include 3D compositing features. You will need to use a 3D package like [Blender](https://www.blender.org/) to render your 3D objects before bringing them into Natron for compositing.
44+
Natron can be used in conjunction with [Blender](https://www.blender.org/) to extend it's capabilities by utilising Blender's 3D environment. This is facilitated by Natron's support for CHAN files for transferring camera tracking data.
3845

39-
### Where can I donate to Natron?
46+
### Does the Natron Project accept donations?
4047

41-
While we appreciate your generosity Natron does not currently accept donations. Currently all of our contributors have full time jobs and the amount we would likely receive from community donations wouldn't justify the administrative overhead of collecting them. With that caveat aside, if you are a corporate entity willing to fund development on a larger scale please do reach out!
48+
While we appreciate your generosity, the Natron Project does not currently accept donations.
4249

4350
### Where can I find brand assets for Natron?
4451

45-
You can download our logo and wordmark on our [brand assets page](/brand).
52+
If you wish to add Natron to the credits of your project or use the logo for other non-commercial purposes, you can download the logomark on our [brand assets page](/brand).

brand.md

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,34 @@ layout: textpage
33
title: Natron Brand Assets
44
---
55

6-
## Brand
6+
## Logo
77

8-
Natron has a logo and you're welcome to use it to identify the program as long as you aren't impersonating the Natron organization or its developers through the use of these assets. Please review the brief list of guidelines below.
8+
<img class="brand-logo" src="{{ 'files/assets/Natron Full Logo White.svg' | relative_url }}" alt="Natron's full logo in white" />
99

10-
[Click here to download our brand assets!](files/Natron-Brand-Package.zip)
10+
Natron has lettermark and wordmark logos. The logos are properties of the Natron Project and are used to identify official Natron content. Third parties can use the Natron logo to provide credit to the Natron software or to refer to the Natron Project.
1111

12-
### Please do:
12+
{% include download-btn.html
13+
name="Download logo kit"
14+
href="files/Natron-Brand-Package.zip"
15+
styling="with-spacers"
16+
%}
1317

14-
- Use the Natron logo whenever you wish to give credit to the program, when using the logo in film credits please place it with any other relevant logos to ensure it does not imply that your film was created by Natron or its developers
15-
- Try to use the full version of the logo with text wherever space allows
16-
- Use the logo that provides the most contrast against the background it is placed on
18+
Several variations of the Natron lettermark and wordmark are available for use with different backdrops:
1719

18-
### Please do not:
20+
<img class="brand-logo" src="{{ 'files/assets/logos.jpg' | relative_url }}" alt="Brand logos for Natron, with a stylized N and Natron beside it" />
1921

20-
- Attempt to use the Natron logo to pass yourself or organization off as the developers of Natron
21-
- Attempt to use the Natron logo as your own
22-
- Modify the logo in any way
22+
### Usage
2323

24-
<!-- ### Community Badges
24+
You are welcome to add the Natron logo to your project's credits! When using the Natron logo in credits, care must be taken to avoid confusion about affiliation with the Natron Project, its developers and contributors. Read the usage guidelines below to understand how you can use the Natron logo.
2525

26-
We're borrowing this concept from the Blender Foundation because it's great! Do you make Natron-related content? Use these assets to identify it as such!
26+
### General Guidelines
27+
28+
The Natron logo is property of the Natron project. The logo and the name "Natron" are not part of the GPL, and can only be used commercially by the Natron Project.
29+
30+
Third parties may only use the Natron logo under the following conditions:
31+
- The logo can only be used to refer to the Natron software or to give credit. When used with a link on a web page, it should point to Natron's website at <a href="{{ site.url }}">{{ site.url }}</a>
32+
- The logo is used as-is, without fancy enhancements, in original colors, and original typography.
33+
- The logo may be placed alongside others, e.g. when listing software in the credits.
34+
- To use the logo on commercial products, you must contact us with a picture of how it will be used, and ask for explicit permission. Showing the Natron logo on film credits is not considered to be commercial use.
35+
- The logo must not be used by third parties to impersonate or act on behalf of the Natron Project, its developers and contributors.
2736

28-
These badges should not be used to identify Natron in film credits, when crediting the program please use our full logo as distributed in the brand assets package. -->

0 commit comments

Comments
 (0)