diff --git a/app/Resources/assets/style/homepage.scss b/app/Resources/assets/style/homepage.scss new file mode 100644 index 0000000..833d050 --- /dev/null +++ b/app/Resources/assets/style/homepage.scss @@ -0,0 +1,24 @@ +.hidden.menu { + display: none; +} + +.masthead.segment { + min-height: 500px; + padding: 1em 0em; +} +.masthead .logo.item img { + margin-right: 1em; +} +.masthead .ui.menu .ui.button { + margin-left: 0.5em; +} +.masthead h1.ui.header { + margin-top: 1.5em; + margin-bottom: 0em; + font-size: 4em; + font-weight: normal; +} +.masthead h2 { + font-size: 1.7em; + font-weight: normal; +} diff --git a/app/Resources/assets/style/main.scss b/app/Resources/assets/style/main.scss index 5027b8d..3117dc6 100644 --- a/app/Resources/assets/style/main.scss +++ b/app/Resources/assets/style/main.scss @@ -6,7 +6,7 @@ min-height: calc(100% - 67px); } - .ui.masthead { + .ui.head { position: relative; .header { diff --git a/app/Resources/assets/style/style.scss b/app/Resources/assets/style/style.scss index 852049e..211c39b 100644 --- a/app/Resources/assets/style/style.scss +++ b/app/Resources/assets/style/style.scss @@ -2,6 +2,7 @@ @import "mixins"; @import "main"; +@import "homepage"; @import "modelviewer"; @import "part"; diff --git a/app/Resources/relations/alias_model.yml b/app/Resources/relations/alias_model.yml index fa8b818..806c1e0 100644 --- a/app/Resources/relations/alias_model.yml +++ b/app/Resources/relations/alias_model.yml @@ -381,4 +381,6 @@ u9209c01: u9209 2772c02: 2772c01 2772c03: 2772c01 -81294: 3351a \ No newline at end of file +81294: 3351a + +61738: 54086 \ No newline at end of file diff --git a/app/Resources/translations/messages.en.yml b/app/Resources/translations/messages.en.yml index 95d7f68..9a5676f 100644 --- a/app/Resources/translations/messages.en.yml +++ b/app/Resources/translations/messages.en.yml @@ -68,4 +68,14 @@ page: filter: model: search: Search Model - category: Category \ No newline at end of file + category: Category + +homepage: + models: + title: %count% models + text: + browse: Browse models + sets: + title: %count% sets + text: + browse: Browse sets \ No newline at end of file diff --git a/app/Resources/views/base.html.twig b/app/Resources/views/base.html.twig index c3ef64f..61e3d53 100644 --- a/app/Resources/views/base.html.twig +++ b/app/Resources/views/base.html.twig @@ -21,7 +21,7 @@ {% block page %}