final style update
This commit is contained in:
parent
53928e5250
commit
7476cfce33
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="contact_container bg-neutral-100 rounded-md border border-gray-200 max-w-[500px] p-2 shadow">
|
<div class="contact_container w-full bg-neutral-100 rounded-md border border-gray-200 md:max-w-[500px] p-2 shadow">
|
||||||
<header class="mb-1.5">
|
<header class="mb-1.5">
|
||||||
<h3 class="text-xl">
|
<h3 class="text-xl">
|
||||||
Formularz kontaktowy
|
Formularz kontaktowy
|
||||||
@ -208,7 +208,9 @@ function formSubmit(event) {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
@screen md {
|
||||||
.contact_container {
|
.contact_container {
|
||||||
flex-basis: 500px;
|
flex-basis: 500px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -1,134 +1,111 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="contact_info bg-neutral-100 rounded-md border border-gray-200 max-w-[500px] shadow">
|
<div class="contact_info w-full bg-neutral-100 rounded-md border border-gray-200 md:max-w-[410px] p-2 shadow">
|
||||||
<header class="info_head">
|
<header class="mb-1.5">
|
||||||
|
<h3 class="text-xl">
|
||||||
Inne formy kontaktu:
|
Inne formy kontaktu:
|
||||||
|
</h3>
|
||||||
</header>
|
</header>
|
||||||
<div class="contact_element">
|
<div class="flex flex-col gap-2.5 justify-start items-start">
|
||||||
|
<div class="flex items-center gap-2 w-full rounded-md p-1.5 border border-neutral-200 bg-white">
|
||||||
<img
|
<img
|
||||||
class="contact_element_icon"
|
class="rounded-full w-12 h-12 object-contain border border-neutral-200"
|
||||||
src="/assets/img/instagram.jpg"
|
src="/assets/img/instagram.jpg"
|
||||||
alt="Instagram"
|
alt="Instagram"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
id="instagram"
|
id="instagram"
|
||||||
class="contact_element_text"
|
class="font-bold"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://www.instagram.com/nikcamii/"
|
href="https://www.instagram.com/nikcamii/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener nofollow noreferrer"
|
rel="noopener nofollow noreferrer"
|
||||||
|
class="hover:underline"
|
||||||
>Instagram: @NiKCamii</a>
|
>Instagram: @NiKCamii</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="contact_element">
|
<div class="flex items-center gap-2 w-full rounded-md p-1.5 border border-neutral-200 bg-white">
|
||||||
<img
|
<img
|
||||||
class="contact_element_icon"
|
class="rounded-full w-12 h-12 object-contain border border-neutral-200"
|
||||||
src="/assets/img/facebook.jpg"
|
src="/assets/img/facebook.jpg"
|
||||||
alt="Facebook"
|
alt="Facebook"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
id="facebook"
|
id="facebook"
|
||||||
class="contact_element_text"
|
class="font-bold"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://www.facebook.com/nikcamii/"
|
href="https://www.facebook.com/nikcamii/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener nofollow noreferrer"
|
rel="noopener nofollow noreferrer"
|
||||||
|
class="hover:text-gray-700 hover:underline"
|
||||||
>Facebook: @NiKCamii</a>
|
>Facebook: @NiKCamii</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="contact_element">
|
<div class="flex items-center gap-2 w-full rounded-md p-1.5 border border-neutral-200 bg-white">
|
||||||
<img
|
<img
|
||||||
class="contact_element_icon"
|
class="rounded-full w-12 h-12 object-contain border border-neutral-200"
|
||||||
src="/assets/img/twitter.jpg"
|
src="/assets/img/twitter.jpg"
|
||||||
alt="Twitter"
|
alt="Twitter"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
id="twitter"
|
id="twitter"
|
||||||
class="contact_element_text"
|
class="font-bold"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://twitter.com/nikcamii"
|
href="https://twitter.com/nikcamii"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener nofollow noreferrer"
|
rel="noopener nofollow noreferrer"
|
||||||
|
class="hover:text-gray-700 hover:underline"
|
||||||
>Twitter: @NiKCamii</a>
|
>Twitter: @NiKCamii</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="contact_element">
|
<div class="flex items-center gap-2 w-full rounded-md p-1.5 border border-neutral-200 bg-white">
|
||||||
<img
|
<img
|
||||||
class="contact_element_icon"
|
class="rounded-full w-12 h-12 object-contain border border-neutral-200"
|
||||||
src="/assets/img/gg.png"
|
src="/assets/img/gg.png"
|
||||||
alt="Gadu-Gadu"
|
alt="Gadu-Gadu"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
id="gg"
|
id="gg"
|
||||||
class="contact_element_text"
|
class="font-bold"
|
||||||
>GG: 38429969</span>
|
>GG: 38429969</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="contact_element">
|
<div class="flex items-center gap-2 w-full rounded-md p-1.5 border border-neutral-200 bg-white">
|
||||||
<img
|
<img
|
||||||
class="contact_element_icon"
|
class="rounded-full w-12 h-12 object-contain border border-neutral-200"
|
||||||
src="/assets/img/user.jpg"
|
src="/assets/img/user.jpg"
|
||||||
alt="E-mail"
|
alt="E-mail"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
id="mailto"
|
id="mailto"
|
||||||
class="contact_element_text"
|
class="font-bold"
|
||||||
>
|
>
|
||||||
<a href="mailto:contact@kamilcraft.com">Email: contact@kamilcraft.com</a>
|
<a
|
||||||
|
href="mailto:contact@kamilcraft.com"
|
||||||
|
class="hover:text-gray-700 hover:underline"
|
||||||
|
>Email: contact@kamilcraft.com</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import "scss/media";
|
@import "scss/media";
|
||||||
|
|
||||||
|
@screen md {
|
||||||
.contact_info {
|
.contact_info {
|
||||||
flex-basis: 410px;
|
flex-basis: 410px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info_head {
|
|
||||||
padding: 10px;
|
|
||||||
line-height: 1.6em;
|
|
||||||
font-size: 1.3em;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.contact_element {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
padding: 5px;
|
|
||||||
background-color: #fff;
|
|
||||||
border-top: 1px solid #e6e6e6;
|
|
||||||
border-bottom: 1px solid #e6e6e6;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
-webkit-text-fill-color: #444444;
|
-webkit-text-fill-color: #374151;
|
||||||
color: #444444;
|
color: #374151;
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&_icon {
|
|
||||||
border-radius: 50%;
|
|
||||||
border: 1px solid #e2e2e2;
|
|
||||||
width: 50px;
|
|
||||||
height: 50px;
|
|
||||||
margin-right: 10px;
|
|
||||||
object-fit: contain;
|
|
||||||
}
|
|
||||||
|
|
||||||
&_text{
|
|
||||||
padding-top: 2px;
|
|
||||||
line-height: 1.6em;
|
|
||||||
font-size: 1.1em;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -153,11 +130,4 @@
|
|||||||
#gg {
|
#gg {
|
||||||
color: #ffa214;
|
color: #ffa214;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include media-tablet {
|
|
||||||
#instagram, #facebook, #twitter, #mailto, #gg {
|
|
||||||
font-size: 1em;
|
|
||||||
line-height: 1.2em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<section class="py-6">
|
<section class="px-3 py-6">
|
||||||
<div class="flex items-start justify-center mx-auto gap-5">
|
<div class="flex flex-col md:flex-row items-start justify-center mx-auto gap-5">
|
||||||
<MailContact />
|
<MailContact />
|
||||||
<OtherContact />
|
<OtherContact />
|
||||||
</div>
|
</div>
|
||||||
@ -25,46 +25,3 @@ onMounted(() => {
|
|||||||
store.commit('setHeader', header)
|
store.commit('setHeader', header)
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
|
||||||
@import "scss/media";
|
|
||||||
|
|
||||||
/* .contact {
|
|
||||||
padding: 25px 0;
|
|
||||||
|
|
||||||
.container {
|
|
||||||
display: flex;
|
|
||||||
align-items: flex-start;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.contact_container, .contact_info {
|
|
||||||
margin: 10px;
|
|
||||||
max-width: 500px;
|
|
||||||
box-shadow: 0 0 5px rgba(0, 0, 0, .2);
|
|
||||||
}
|
|
||||||
|
|
||||||
@include media-tablet {
|
|
||||||
.container {
|
|
||||||
display: block;
|
|
||||||
margin: 0 auto;
|
|
||||||
|
|
||||||
.contact_container, .contact_info {
|
|
||||||
margin: 0 auto 25px;
|
|
||||||
&:last-child {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@include media-mobile {
|
|
||||||
.container {
|
|
||||||
padding: 0 10px;
|
|
||||||
|
|
||||||
.contact_container {
|
|
||||||
max-width: unset;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} */
|
|
||||||
</style>
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user