diff --git a/src/main/java/pro/norbot/application/views/main/MainView.java b/src/main/java/pro/norbot/application/views/main/MainView.java index 0cb03a1..f046429 100644 --- a/src/main/java/pro/norbot/application/views/main/MainView.java +++ b/src/main/java/pro/norbot/application/views/main/MainView.java @@ -1,6 +1,7 @@ package pro.norbot.application.views.main; import com.vaadin.flow.component.Component; +import com.vaadin.flow.component.Svg; import com.vaadin.flow.component.button.Button; import com.vaadin.flow.component.html.H2; import com.vaadin.flow.component.html.Image; @@ -29,8 +30,8 @@ // add(header); // add(new Paragraph("It’s a place where you can grow your own UI 🤗")); add(createHorizontalLayout( - createImg("images/jb_teamcity.svg", "teamcity", "/teamcity"), - createImg("images/jb_youtrack.svg", "youtrack", "/youtrack"), + createImg("images/jb_teamcity.png", "teamcity", "/teamcity"), + createImg("images/jb_youtrack.png", "youtrack", "/youtrack"), createImg("images/gitbucket.png", "git", "/git"), createImg("images/reposilite.png", "repository", "/repository/") )); @@ -48,7 +49,7 @@ private Image createImg(String path, String name, String url) { Image img = new Image(path, name); - img.setWidth("50px"); + img.setWidth("80px"); img.addClickListener(event -> getUI().ifPresent(ui -> ui.getPage().setLocation(url))); return img; } diff --git a/src/main/resources/META-INF/resources/images/jb_teamcity.png b/src/main/resources/META-INF/resources/images/jb_teamcity.png new file mode 100644 index 0000000..c0042cd --- /dev/null +++ b/src/main/resources/META-INF/resources/images/jb_teamcity.png Binary files differ diff --git a/src/main/resources/META-INF/resources/images/jb_teamcity.svg b/src/main/resources/META-INF/resources/images/jb_teamcity.svg deleted file mode 100644 index 5ca1298..0000000 --- a/src/main/resources/META-INF/resources/images/jb_teamcity.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/main/resources/META-INF/resources/images/jb_youtrack.png b/src/main/resources/META-INF/resources/images/jb_youtrack.png new file mode 100644 index 0000000..214a137 --- /dev/null +++ b/src/main/resources/META-INF/resources/images/jb_youtrack.png Binary files differ diff --git a/src/main/resources/META-INF/resources/images/jb_youtrack.svg b/src/main/resources/META-INF/resources/images/jb_youtrack.svg deleted file mode 100644 index e4c8d46..0000000 --- a/src/main/resources/META-INF/resources/images/jb_youtrack.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file