diff --git a/.gitignore b/.gitignore index afac5a4..fbc0215 100644 --- a/.gitignore +++ b/.gitignore @@ -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__ diff --git a/tools/create_package.py b/tools/create_package.py index d05b912..b058764 100644 --- a/tools/create_package.py +++ b/tools/create_package.py @@ -78,6 +78,10 @@ def CreateDestinationDir (config, rootDir, websiteDir, version, testBuild): if os.path.exists (scriptFile): scriptContent = Tools.GetFileContent (scriptFile) replacer.ReplaceTokenContent ('', '', scriptContent) + introFile = os.path.join (rootDir, 'tools', 'website_intro_data.txt') + if os.path.exists (introFile): + introContent = Tools.GetFileContent (introFile) + replacer.ReplaceTokenContent ('', '', introContent) replacer.WriteToFile (htmlFilePath) def CreatePackage (rootDir, websiteDir, packageDir, version): diff --git a/website/css/website.css b/website/css/website.css index e2d6e6d..9733a36 100644 --- a/website/css/website.css +++ b/website/css/website.css @@ -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; } } diff --git a/website/index.html b/website/index.html index 55fec93..9f34259 100644 --- a/website/index.html +++ b/website/index.html @@ -81,12 +81,11 @@
- Drag and drop your 3D models here.
- obj, 3ds, stl, ply, gltf, glb, off, 3dm, fbx, and more -
-
- Or you can use the browse button above. + Drag and drop 3D models here.
+ obj, 3ds, stl, ply, gltf, 3dm, fbx, and more
+ +
Example models: