Skip to content

Commit

Permalink
Add restyled images for guides
Browse files Browse the repository at this point in the history
  • Loading branch information
anant-writer committed May 29, 2024
1 parent 8087016 commit 02f7651
Show file tree
Hide file tree
Showing 14 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/framework/authentication.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Framework will be able to authenticate a user through an identity provider such
Authentication configuration is done in the `server_setup.py` [module](custom-server.md). The configuration depends on your identity provider.
Here is an example configuration for Google.

![Authentication OIDC Principle](/framework/images/authentication_oidc_principle.png)
![Authentication OIDC Principle](/framework/images/auth.png)

**server_setup.py**

Expand Down
6 changes: 3 additions & 3 deletions docs/framework/builder-basics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The _Preview_ mode shows the application exactly like the user will see it. It a

Settings are divided into the following sections. Changes to settings can be undone and redone using the buttons on the top bar.

![Framework Builder - Component settings](/docs/framework/images/builder-basics.component-settings.png)
![Framework Builder - Component settings](/framework/images/builder-basics.component-settings.png)

### Properties

Expand All @@ -83,7 +83,7 @@ Properties are of different types, such as _Text_, _Color_ and _Number_. All pro

### Binding

![Framework Builder - Binding](/docs/framework/images/builder-basics.binding.png)
![Framework Builder - Binding](/framework/images/builder-basics.binding.png)

Input components can be bound, in a two-way fashion, to a state element.

Expand All @@ -107,7 +107,7 @@ Whether the component should be displayed. There are three visibility options:

Perform a variety of operations on existing components. Options will be grayed out when they're not applicable to the relevant component. Most shortcuts can be triggered using the keyboard; hover on them to show the appropriate combination.

![Framework Builder - Component shortcuts](./images/builder-basics.component-shortcuts.png)
![Framework Builder - Component shortcuts](/framework/images/builder-basics.component-shortcuts.png)

- _Add_. Adds a child of a given type to this component.
- _Move up_. Decrements the position index of the component, used to sort children in the parent container.
Expand Down
4 changes: 2 additions & 2 deletions docs/framework/handling-inputs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Bindings automatically handle the _change_ event for the component and set the v

As mentioned in the [Builder basics](builder-basics.html) section of the guide, bindings can be configured in the component settings.

![Repeater example](./images/handling-inputs.binding.png)
![Repeater example](/framework/images/handling-inputs.binding.png)

The binding above establishes a two-way link between the component and the state element `name`. If `name` changes in the backend, the component changes. If the component changes, the value of `name` changes.

Expand Down Expand Up @@ -55,4 +55,4 @@ As with any application, it's important to be familiar with the risks associated

Input components can be combined with _Message_ and _Button_ components to create forms with messages, indicating whether the submission was successful.

![Form example](./images/handling-inputs.form.png)
![Form example](/framework/images/handling-inputs.form.png)
Binary file added docs/framework/images/auth.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 modified docs/framework/images/authentication_oidc.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 not shown.
Binary file modified docs/framework/images/builder-basics.binding.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 modified docs/framework/images/builder-basics.component-settings.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 modified docs/framework/images/builder-basics.component-shortcuts.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 modified docs/framework/images/handling-inputs.binding.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 modified docs/framework/images/handling-inputs.form.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 modified docs/framework/images/stylesheets.applied-classes.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 modified docs/framework/images/stylesheets.component-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/framework/stylesheets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ During development time, stylesheets may be cached by your browser, preventing u

You can use the property *Custom CSS classes* in Builder's *Component Settings* to apply classes to a component, separated by spaces. Internally, this will apply the classes to the root HTML element of the rendered component.

![Stylesheets - Component Settings](./images/stylesheets.component-settings.png)
![Stylesheets - Component Settings](/framework/images/stylesheets.component-settings.png)

## Tips for effective stylesheets

Expand Down Expand Up @@ -76,7 +76,7 @@ Alternatively, you can override Framework's style variables. This behaves slight

The class can be used in *Component Settings*. If the stylesheet is imported, the effect will be immediate. In case the stylesheet has been modified since imported, it'll need to be imported again.

![Stylesheets - Applied Classes](./images/stylesheets.applied-classes.png)
![Stylesheets - Applied Classes](/framework/images/stylesheets.applied-classes.png)

## Targeting component types

Expand Down

0 comments on commit 02f7651

Please sign in to comment.