Skip to content

Commit

Permalink
trigger redeploy
Browse files Browse the repository at this point in the history
  • Loading branch information
davydkov committed Nov 2, 2023
1 parent aff2a9d commit 660e7bc
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 30 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
This template is a simple example of how to use LikeC4.
Contains:

- LikeC4 sources ([`src`](./src/))
- Workflow to deploy to github pages ([`pages.yml`](./.github/workflows/pages.yml))
- LikeC4 sources ([`/src`](./src/))
- Deploy to github pages ([`pages.yml`](./.github/workflows/pages.yml))

Demo - [https://template.likec4.dev](https://template.likec4.dev/view/cloud)

Expand Down
1 change: 1 addition & 0 deletions src/cloud/backend.c4
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Extend cloud.backend model
model {

extend aws {
Expand Down
1 change: 1 addition & 0 deletions src/cloud/ui.c4
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Extend cloud.ui model
model {

extend cloud.ui {
Expand Down
28 changes: 0 additions & 28 deletions src/model.c4
Original file line number Diff line number Diff line change
Expand Up @@ -44,31 +44,3 @@ model {

cloud -> aws 'uses services'
}

views {

view index {
title 'System Landscape'
include *
}

view cloud of cloud {
title 'Context: Cloud System'
include *
style cloud, cloud.* {
color green
}
}

view aws of aws {
title 'Context: Amazon Web Services'
include
*,
cloud,
cloud.* -> aws.*
style aws, cloud {
color muted
}
}

}
27 changes: 27 additions & 0 deletions src/views.c4
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
views {

view index {
title 'System Landscape'
include *
}

view cloud of cloud {
title 'Context: Cloud System'
include *
style cloud, cloud.* {
color green
}
}

view aws of aws {
title 'Context: Amazon Web Services'
include
*,
cloud,
cloud.* -> aws.*
style aws, cloud {
color muted
}
}

}

0 comments on commit 660e7bc

Please sign in to comment.