Skip to content

Commit

Permalink
remove support-adoption view
Browse files Browse the repository at this point in the history
  • Loading branch information
dakur committed Aug 27, 2024
1 parent c390af1 commit b51000d
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 504 deletions.
1 change: 0 additions & 1 deletion UI/ControllerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public function create(?\WP_Post $post, bool $isPreview): Controller
'jedu-poprve' => new FirstTimeController($base, $this->latte),
'programy-pro-stredni-skoly' => new HighSchoolsController($base, $this->latte),
'nasi-partneri' => new PartnersController($base, $this->latte),
// 'adopce-brontosaura' => new SupportAdoptionController($base, $this->latte), // disabled for now
FutureController::PAGE_SLUG => new FutureController($this->dateFormatHuman, $this->dateFormatRobot, $this->bisApiClient, $base, $this->latte),
AboutStructureController::PAGE_SLUG => new AboutStructureController($this->bisApiClient, $base, $this->latte, $this->coordinatesResolver),
EventController::PAGE_SLUG => new EventController($this->dateFormatHuman, $this->dateFormatRobot, $this->applicationUrlTemplate, $this->bisApiClient, $base, $this->latte),
Expand Down
280 changes: 0 additions & 280 deletions UI/SupportAdoption/SupportAdoptionController.latte

This file was deleted.

33 changes: 0 additions & 33 deletions UI/SupportAdoption/SupportAdoptionController.php

This file was deleted.

9 changes: 3 additions & 6 deletions frontend/src/styles/components/coverPhoto.scss
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@
&--meetups,
&--forchildren,
&--firsttime,
&--supportoverview,
&--supportadoption {
&--supportoverview {
display: block;
position: relative;

Expand Down Expand Up @@ -269,8 +268,7 @@

&--voluntary,
&--firsttime,
&--supportoverview,
&--supportadoption {
&--supportoverview {
&::before {
clip-path: circle(66% at 66% 24%);
right: 0;
Expand Down Expand Up @@ -323,8 +321,7 @@
}
}

&--supportoverview,
&--supportadoption {
&--supportoverview {
background-image: url("../images/hlavicka-moznost-podpory.jpg");
background-position: 35% -11em;
background-size: 35em;
Expand Down
Loading

0 comments on commit b51000d

Please sign in to comment.