-
Notifications
You must be signed in to change notification settings - Fork 60
create rich menu operation #121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
4geru
wants to merge
29
commits into
line:main
Choose a base branch
from
4geru:4geru/generate-rich-menu
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,251
−10
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
aae7ae3
create six-splited richmenu
4geru 14f2118
add templates
4geru 0f25ba1
create rich-menu folder
4geru 6744607
separate the generateRichMenuImage function
4geru 4f27622
add example images
4geru b281485
Merge remote-tracking branch 'origin/main' into 4geru/test-rich-menu
4geru d0229a4
refactor some
4geru 6eb6d10
add h3 tag on templete 04
4geru 417e9d7
change return messave
4geru 34e8566
add create richmenu
4geru cb128ab
add create rich menu command
4geru 3f81982
Merge remote-tracking branch 'origin/main' into 4geru/generate-rich-menu
4geru 15bfb77
update the create rich menu
4geru 3e3ae9e
change the image size
4geru 1f2f63e
create the rich menu
4geru 9a97695
refactor the code
4geru a1749ce
change the templetes
4geru 0a39c3c
change TempleteNo and height
4geru b4f256b
change templete actions area
4geru fac005c
refactor the codes
4geru d709b29
use const variable
4geru 760c059
rename the filename
4geru 280a98c
add the areas and some
4geru 73416bf
debug
4geru 6237d7e
update the templetes
4geru 28ba035
Merge branch 'main' into 4geru/generate-rich-menu
4geru 63ffcc6
Merge remote-tracking branch 'fork/4geru/generate-rich-menu' into 4ge…
4geru 36f68fd
self review
4geru 9c6171c
fix the ci
4geru File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
marp: true | ||
size: 16:9 | ||
--- | ||
<style> | ||
section { | ||
padding: 0 !important; | ||
background-color: orange; | ||
height: 100% !important; | ||
margin-top: 0 !important; | ||
margin-bottom: 0 !important; | ||
} | ||
.columns-container { | ||
display: flex; | ||
flex-wrap: wrap; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.column-item { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: white; | ||
box-sizing: border-box; | ||
overflow: hidden; | ||
} | ||
.column-item h3 { | ||
font-weight: bold; | ||
width: 100%; | ||
text-align: center; | ||
font-size: 100px; | ||
white-space: normal; | ||
word-break: break-all; | ||
} | ||
.column-item-01 { | ||
margin: 10px; | ||
height: calc((100% - 20px)); | ||
width: calc((100% - 20px)); | ||
} | ||
</style> | ||
<div class="columns-container"> | ||
<div class="column-item column-item-01"> | ||
<h3>item01</h3> | ||
</div> | ||
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
marp: true | ||
size: 16:9 | ||
--- | ||
<style> | ||
section { | ||
padding: 0 !important; | ||
background-color: orange; | ||
height: 100% !important; | ||
margin-top: 0 !important; | ||
margin-bottom: 0 !important; | ||
} | ||
.columns-container { | ||
display: flex; | ||
flex-wrap: wrap; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.column-item { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: white; | ||
box-sizing: border-box; | ||
overflow: hidden; | ||
} | ||
.column-item h3 { | ||
font-weight: bold; | ||
width: 100%; | ||
text-align: center; | ||
font-size: 70px; | ||
white-space: normal; | ||
word-break: break-all; | ||
} | ||
.column-item-02 { | ||
margin: 10px 0px 10px 10px; | ||
height: calc((100% - 20px)); | ||
width: calc((100% - 30px) / 2); | ||
} | ||
</style> | ||
<div class="columns-container"> | ||
<div class="column-item column-item-02"> | ||
<h3>item01</h3> | ||
</div> | ||
<div class="column-item column-item-02"> | ||
<h3>item02</h3> | ||
</div> | ||
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
--- | ||
marp: true | ||
size: 16:9 | ||
--- | ||
<style> | ||
section { | ||
padding: 0 !important; | ||
background-color: orange; | ||
height: 100% !important; | ||
margin-top: 0 !important; | ||
margin-bottom: 0 !important; | ||
} | ||
.columns-container { | ||
display: flex; | ||
flex-wrap: wrap; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.column-item { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: white; | ||
box-sizing: border-box; | ||
overflow: hidden; | ||
} | ||
.column-item h3 { | ||
font-weight: bold; | ||
width: 100%; | ||
text-align: center; | ||
white-space: normal; | ||
word-break: break-all; | ||
} | ||
.column-item-left { | ||
display: flex; | ||
flex: 2; | ||
font-size: 70px; | ||
} | ||
.column-item-right { | ||
display: flex; | ||
flex: 1; | ||
flex-direction: column; | ||
height: 100%; | ||
font-size: 50px; | ||
} | ||
.column-item-03-right { | ||
flex: 1; | ||
margin: 10px 0px 10px 10px; | ||
} | ||
.column-item-03-left-top { | ||
flex: 1; | ||
margin: 10px 10px 10px 10px; | ||
} | ||
.column-item-03-left-bottom { | ||
flex: 1; | ||
margin: 0px 10px 10px 10px; | ||
} | ||
</style> | ||
<div class="columns-container"> | ||
<div class="column-item-left"> | ||
<div class="column-item column-item-03-right"> | ||
<h3>item01</h3> | ||
</div> | ||
</div> | ||
<div class="column-item-right"> | ||
<div class="column-item column-item-03-left-top"> | ||
<h3>item02</h3> | ||
</div> | ||
<div class="column-item column-item-03-left-bottom"> | ||
<h3>item03</h3> | ||
</div> | ||
</div> | ||
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
--- | ||
marp: true | ||
size: 16:9 | ||
--- | ||
<style> | ||
section { | ||
padding: 0 !important; | ||
background-color: orange; | ||
height: 100% !important; | ||
margin-top: 0 !important; | ||
margin-bottom: 0 !important; | ||
} | ||
.columns-container { | ||
display: flex; | ||
flex-wrap: wrap; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.column-item { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: white; | ||
box-sizing: border-box; | ||
overflow: hidden; | ||
} | ||
.column-item h3 { | ||
font-weight: bold; | ||
width: 100%; | ||
text-align: center; | ||
font-size: 50px; | ||
white-space: normal; | ||
word-break: break-all; | ||
} | ||
.column-item-04 { | ||
height: calc((100% - 30px) / 2); | ||
width: calc((100% - 30px) / 2); | ||
} | ||
.column-item-04-top { | ||
margin: 10px 0px 0px 10px; | ||
} | ||
.column-item-04-bottom { | ||
margin: 0px 0px 0px 10px; | ||
} | ||
</style> | ||
<div class="columns-container"> | ||
<div class="column-item column-item-04 column-item-04-top"> | ||
<h3>item01</h3> | ||
</div> | ||
<div class="column-item column-item-04 column-item-04-top"> | ||
<h3>item02</h3> | ||
</div> | ||
<div class="column-item column-item-04 column-item-04-bottom"> | ||
<h3>item03</h3> | ||
</div> | ||
<div class="column-item column-item-04 column-item-04-bottom"> | ||
<h3>item04</h3> | ||
</div> | ||
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
--- | ||
marp: true | ||
size: 16:9 | ||
--- | ||
<style> | ||
section { | ||
padding: 0 !important; | ||
background-color: orange; | ||
height: 100% !important; | ||
margin-top: 0 !important; | ||
margin-bottom: 0 !important; | ||
} | ||
.columns-container { | ||
display: flex; | ||
flex-wrap: wrap; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.column-item { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: white; | ||
box-sizing: border-box; | ||
overflow: hidden; | ||
} | ||
.column-item h3 { | ||
font-weight: bold; | ||
width: 100%; | ||
text-align: center; | ||
font-size: 50px; | ||
white-space: normal; | ||
word-break: break-all; | ||
} | ||
.column-item-05 { | ||
height: calc((100% - 30px) / 2); | ||
width: calc((100% - 40px) / 3); | ||
} | ||
.column-item-05-top-wide { | ||
width: calc((100% - 40px) / 3 * 2 + 10px); | ||
margin: 10px 0px 0px 10px; | ||
} | ||
.column-item-05-top-small { | ||
margin: 10px 0px 0px 10px; | ||
} | ||
.column-item-05-bottom { | ||
margin: 0px 0px 0px 10px; | ||
} | ||
</style> | ||
<div class="columns-container"> | ||
<div class="column-item column-item-05 column-item column-item-05-top-wide"> | ||
<h3>item01</h3> | ||
</div> | ||
<div class="column-item column-item-05 column-item column-item-05-top-small"> | ||
<h3>item02</h3> | ||
</div> | ||
<div class="column-item column-item-05 column-item column-item-05-bottom"> | ||
<h3>item03</h3> | ||
</div> | ||
<div class="column-item column-item-05 column-item column-item-05-bottom"> | ||
<h3>item04</h3> | ||
</div> | ||
<div class="column-item column-item-05 column-item column-item-05-bottom"> | ||
<h3>item05</h3> | ||
</div> | ||
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
--- | ||
marp: true | ||
size: 16:9 | ||
--- | ||
<style> | ||
section { | ||
padding: 0 !important; | ||
background-color: orange; | ||
height: 100% !important; | ||
margin-top: 0 !important; | ||
margin-bottom: 0 !important; | ||
} | ||
.columns-container { | ||
display: flex; | ||
flex-wrap: wrap; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.column-item { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: white; | ||
box-sizing: border-box; | ||
overflow: hidden; | ||
} | ||
.column-item h3 { | ||
font-weight: bold; | ||
width: 100%; | ||
text-align: center; | ||
font-size: 50px; | ||
white-space: normal; | ||
word-break: break-all; | ||
} | ||
.column-item-06 { | ||
height: calc((100% - 30px) / 2); | ||
width: calc((100% - 40px) / 3); | ||
} | ||
.column-item-06-top { | ||
margin: 10px 0px 0px 10px; | ||
} | ||
.column-item-06-bottom { | ||
margin: 0px 0px 0px 10px; | ||
} | ||
</style> | ||
<div class="columns-container"> | ||
<div class="column-item column-item-06 column-item column-item-06-top"> | ||
<h3>item01</h3> | ||
</div> | ||
<div class="column-item column-item-06 column-item column-item-06-top"> | ||
<h3>item02</h3> | ||
</div> | ||
<div class="column-item column-item-06 column-item column-item-06-top"> | ||
<h3>item03</h3> | ||
</div> | ||
<div class="column-item column-item-06 column-item column-item-06-bottom"> | ||
<h3>item04</h3> | ||
</div> | ||
<div class="column-item column-item-06 column-item column-item-06-bottom"> | ||
<h3>item05</h3> | ||
</div> | ||
<div class="column-item column-item-06 column-item column-item-06-bottom"> | ||
<h3>item06</h3> | ||
</div> | ||
</div> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages for generating slides/images