blocks topbar added

pull/1408/head
Tuğçe Küçükoğlu 2021-08-04 15:27:34 +03:00
parent a7f2318600
commit 08727a2b9e
3 changed files with 15 additions and 7 deletions

View File

@ -3,10 +3,11 @@
<div class="layout-news" v-if="newsActive"> <div class="layout-news" v-if="newsActive">
<div class="layout-news-container"> <div class="layout-news-container">
<a href="https://www.primefaces.org/store" target="_blank"> <a href="https://www.primefaces.org/store" target="_blank">
<img class="layouts-news-mockup-image" src="./assets/images/topbar-freya-mockup.png"> <img class="layouts-news-mockup-image" src="./assets/images/topbar-primeblocks-device.png">
</a> </a>
<a href="https://www.primefaces.org/store" target="_blank" tabindex="-1" style="text-decoration: none" class="layout-news-button"> <a href="https://www.primefaces.org/store" target="_blank" tabindex="-1" style="text-decoration: none" class="layout-news-button">
LEARN MORE LEARN MORE
<i class="pi pi-angle-right"></i>
</a> </a>
<a tabindex="0" class="layout-news-close" @click="hideNews"> <a tabindex="0" class="layout-news-close" @click="hideNews">
<i class="pi pi-times"></i> <i class="pi pi-times"></i>

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -4,7 +4,8 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin-left: 250px; margin-left: 250px;
background-image: url("./assets/images/topbar-freya-bg.png"); background-image: linear-gradient(197.37deg, rgba(0, 120, 227, 0.07) -0.38%, rgba(165, 72, 181, 0) 101.89%), linear-gradient(115.93deg, rgba(62, 136, 246, 0.15) 4.86%, rgba(62, 180, 246, 0.0495) 38.05%, rgba(62, 235, 246, 0) 74.14%), radial-gradient(56.47% 76.87% at 6.92% 7.55%, rgba(62, 136, 246, 0.05) 0%, rgba(62, 158, 246, 0.013) 52.16%, rgba(62, 246, 246, 0) 100%), linear-gradient(306.53deg, rgba(163, 171, 217, 0.1) 19.83%, rgba(163, 171, 217, 0) 97.33%);
background-color: white;
.layout-news-container { .layout-news-container {
width: 100%; width: 100%;
@ -16,16 +17,22 @@
font-weight: bold; font-weight: bold;
font-size: 20px; font-size: 20px;
a {
display: flex;
justify-content: center;
align-items: center;
}
img.layouts-news-mockup-image { img.layouts-news-mockup-image {
max-width: 500px; height: 70px;
} }
.layout-news-button { .layout-news-button {
border: 2px solid #ffffff; border: 1px solid #283738;
color: #ffffff; color: #283738;
font-size: 15px; font-size: 15px;
padding: 0.5em 1em; padding: 0.3em 0.3em 0.5em 1em;
font-weight: bolder; font-weight: bold;
border-radius: 3px; border-radius: 3px;
display: flex; display: flex;
justify-content: center; justify-content: center;