tips update (add to starter layout) (#796)

This commit is contained in:
Mike Sawka 2024-09-20 12:17:49 -07:00 committed by GitHub
parent 65c446e4a1
commit e281cebb56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 19 additions and 2 deletions

View File

@ -144,6 +144,17 @@ const QuickTips = () => {
</div> </div>
</div> </div>
</div> </div>
<div className="tip-section-header">Need More Help?</div>
<div className="tip">
<div>
<div>
<a target="_blank" href="https://discord.gg/XfvZ334gwU" rel="noopener">
Join Our Discord
</a>
</div>
</div>
</div>
</div> </div>
</div> </div>
); );

View File

@ -2,6 +2,7 @@
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
.quicktips-view { .quicktips-view {
padding: 10px 2px; padding: 10px 5px;
overflow: auto; overflow: auto;
width: 100%;
} }

View File

@ -55,10 +55,15 @@ func GetStarterLayout() PortableLayout {
}}, }},
{IndexArr: []int{2}, BlockDef: &waveobj.BlockDef{ {IndexArr: []int{2}, BlockDef: &waveobj.BlockDef{
Meta: waveobj.MetaMapType{ Meta: waveobj.MetaMapType{
waveobj.MetaKey_View: "help", waveobj.MetaKey_View: "tips",
}, },
}}, }},
{IndexArr: []int{2, 1}, BlockDef: &waveobj.BlockDef{ {IndexArr: []int{2, 1}, BlockDef: &waveobj.BlockDef{
Meta: waveobj.MetaMapType{
waveobj.MetaKey_View: "help",
},
}},
{IndexArr: []int{2, 2}, BlockDef: &waveobj.BlockDef{
Meta: waveobj.MetaMapType{ Meta: waveobj.MetaMapType{
waveobj.MetaKey_View: "waveai", waveobj.MetaKey_View: "waveai",
}, },