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..43ebc4c 100644 --- a/app/Resources/assets/style/main.scss +++ b/app/Resources/assets/style/main.scss @@ -1,12 +1,11 @@ .default-theme { .ui.main { - padding-top: 10px; - margin-top: 40px; + padding-top: 50px; min-height: calc(100% - 67px); } - .ui.masthead { + .ui.head { position: relative; .header { @@ -105,8 +104,29 @@ font-weight: 700; } + .image { + width: 4em; + height: 4em; + } padding: 0.5em 1em !important; } + + .spacing.top { + margin-top: 1em; + } + + .show.all { + font-size: 1.5em; + + &:after { + content: ' ยป'; + } + } + + .ajax-load > .loader, .empty{ + margin-top: 100px !important; + margin-bottom: 100px !important; + } } @each $i in 5 10 15 20 25 30 40 50 60 { 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..da32ac0 100644 --- a/app/Resources/relations/alias_model.yml +++ b/app/Resources/relations/alias_model.yml @@ -363,6 +363,16 @@ u9140p02c01: u9140p01c01 92243p02c01: 92243p01c01 +u9142p02c03: u9142p01c08 + +u9151p02c03: u9151p01c04 + +u9106p02c02: u9106p01c03 + +u595p02c04: u595p01c10 + +u9140p02c02: u9140p01c04 + 64022c01: 64022 64022c02: 64022 @@ -381,4 +391,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..223ff72 100644 --- a/app/Resources/translations/messages.en.yml +++ b/app/Resources/translations/messages.en.yml @@ -68,4 +68,18 @@ 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 + +view.all: + sets: View all matched sets + models: View all matched models \ No newline at end of file diff --git a/app/Resources/views/base.html.twig b/app/Resources/views/base.html.twig index c3ef64f..2d16e84 100644 --- a/app/Resources/views/base.html.twig +++ b/app/Resources/views/base.html.twig @@ -1,6 +1,7 @@ {% extends 'html.html.twig' %} {% import 'macros/elements.html.twig' as elements %} +{% import 'macros/blocks.html.twig' as blocks %} {% block body %}