Update start page.
This commit is contained in:
parent
2ad0f11929
commit
524c2b9af8
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,6 +2,7 @@ build/*
|
||||
website_meta_data.txt
|
||||
website_analytics_data.txt
|
||||
website_script_data.txt
|
||||
website_intro_data.txt
|
||||
package-lock.json
|
||||
node_modules
|
||||
__pycache__
|
||||
|
||||
@ -78,6 +78,10 @@ def CreateDestinationDir (config, rootDir, websiteDir, version, testBuild):
|
||||
if os.path.exists (scriptFile):
|
||||
scriptContent = Tools.GetFileContent (scriptFile)
|
||||
replacer.ReplaceTokenContent ('<!-- script start -->', '<!-- script end -->', scriptContent)
|
||||
introFile = os.path.join (rootDir, 'tools', 'website_intro_data.txt')
|
||||
if os.path.exists (introFile):
|
||||
introContent = Tools.GetFileContent (introFile)
|
||||
replacer.ReplaceTokenContent ('<!-- intro start -->', '<!-- intro end -->', introContent)
|
||||
replacer.WriteToFile (htmlFilePath)
|
||||
|
||||
def CreatePackage (rootDir, websiteDir, packageDir, version):
|
||||
|
||||
@ -291,13 +291,13 @@ div.ov_toolbar div.ov_toolbar_button:hover
|
||||
|
||||
div.intro div.intro_section
|
||||
{
|
||||
font-size: 16px;
|
||||
font-size: 18px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
div.intro div.intro_big_text
|
||||
{
|
||||
font-size: 18px;
|
||||
font-size: 23px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
@ -329,7 +329,7 @@ div.ov_bottom_floating_panel
|
||||
|
||||
div.intro div.intro_section
|
||||
{
|
||||
margin: 15px 0px;
|
||||
margin: 18px 0px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -81,12 +81,11 @@
|
||||
<svg class="intro_logo"><use href="assets/images/3dviewer_net_logo.svg#logo"></use></svg>
|
||||
</div>
|
||||
<div class="intro_section intro_big_text">
|
||||
Drag and drop your 3D models here.<br>
|
||||
<b>obj, 3ds, stl, ply, gltf, glb, off, 3dm, fbx, <a target="_blank" href="info/index.html#supported_file_formats">and more</a></b>
|
||||
</div>
|
||||
<div class="intro_section">
|
||||
Or you can use the browse button above.
|
||||
Drag and drop 3D models here.<br>
|
||||
<b>obj, 3ds, stl, ply, gltf, 3dm, fbx, <a target="_blank" href="info/index.html#supported_file_formats">and more</a></b>
|
||||
</div>
|
||||
<!-- intro start -->
|
||||
<!-- intro end -->
|
||||
<div class="intro_section">
|
||||
<div>Example models:</div>
|
||||
<div class="example_models">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user