Skip to content

Commit

Permalink
Merge pull request #34 from fabricadesoftware-ifc/feat-19-2
Browse files Browse the repository at this point in the history
Add Home Page
  • Loading branch information
Caussz authored Jul 11, 2024
2 parents 7254772 + 86036c2 commit f7472ee
Show file tree
Hide file tree
Showing 30 changed files with 621 additions and 94 deletions.
2 changes: 1 addition & 1 deletion dev-dist/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ define(['./workbox-b5f7729d'], (function (workbox) { 'use strict';
"revision": "3ca0b8505b4bec776b69afdba2768812"
}, {
"url": "index.html",
"revision": "0.socqrnbv35"
"revision": "0.hn8ddlcqff8"
}], {});
workbox.cleanupOutdatedCaches();
workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), {
Expand Down
Binary file added src/assets/grafo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logo-fabrica-de-software.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logo-github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logo-instagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logo-linked-in.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logo-twiter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions src/components/footer/DeafaultFooter.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<script lang="ts" setup>
import { FabricaContact, LinksFabrica, LinksHeader, LogoFabrica } from "@/components";
</script>
<template>
<footer>
<div class="container">
<LogoFabrica />
<LinksHeader />
<FabricaContact />
</div>
<hr class="footer-hr" />
<LinksFabrica />
</footer>
</template>
<style scoped>
footer {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: #22262f;
height: 450px;
}
.container {
display: flex;
align-items: center;
width: 80vw;
justify-content: space-between;
margin: 100px;
}
.footer-hr {
height: 1px;
width: 80vw;
background-color: rgb(255, 255, 255);
}
</style>
46 changes: 46 additions & 0 deletions src/components/footer/contact/FabricaContact.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<script lang="ts" setup>
import { FooterTitles } from '@/components'
import { useTemplateStore } from '@/stores'
const templateStore = useTemplateStore()
defineProps({
text: String
})
</script>
<template>
<div class="contact">
<div>
<FooterTitles
v-for="(text, index) in templateStore.footerTitles"
:key="index"
:title="text.contactTitle"
/>
<ul>
<li class="footer-li" v-for="(text, index) in templateStore.footerContact" :key="index">
{{ text.text }}
</li>
</ul>
</div>
</div>
</template>
<style scoped>
.contact {
display: flex;
min-height: 120px;
width: 26.66vw;
}
.footer-li {
color: white;
font-family: 'Montserrat', sans-serif;
list-style: none;
font-weight: 450;
margin: 5px;
}
@media (max-width: 900px) {
.contato {
min-height: 100px;
}
}
</style>
23 changes: 23 additions & 0 deletions src/components/footer/links/FastLinks.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<script lang="ts" setup>
defineProps({
title: String,
link: String,
});
</script>
<template>
<RouterLink class="router-link" :to="link">
<li class="footer-li">{{ title }}</li>
</RouterLink>
</template>
<style scoped>
.footer-li {
color: white;
font-family: "Montserrat", sans-serif;
list-style: none;
font-weight: 450;
margin: 5px;
}
.router-link {
text-decoration: none;
}
</style>
38 changes: 38 additions & 0 deletions src/components/footer/links/LinksFabrica.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<script lang="ts" setup>
import GithubImg from '@/assets/logo-github.png'
import InstagramImg from '@/assets/logo-instagram.png'
import LinkedIn from '@/assets/logo-linked-in.png'
import ImgTwiter from '@/assets/logo-twiter.png'
import { useTemplateStore } from '@/stores'
const templateStore = useTemplateStore()
defineProps({
img: String,
link: String
})
</script>
<template>
<div class="container-midia">
<a v-for="(text, index) in templateStore.footerMidia" :href="text.link" :key="index"
><img
:src="
text.img == 'github'
? GithubImg
: text.img == 'instagram'
? InstagramImg
: text.img == 'linked-in'
? LinkedIn
: text.img == 'twiter'
? ImgTwiter
: ''
"
/></a>
</div>
</template>
<style scoped>
.container-midia img {
margin: 20px 10px;
width: 55px;
}
</style>
45 changes: 45 additions & 0 deletions src/components/footer/links/LinksHeader.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<script lang="ts" setup>
import { FastLinks, FooterTitles } from '@/components'
import { useTemplateStore } from '@/stores'
const templateStore = useTemplateStore()
</script>
<template>
<div class="links">
<div>
<FooterTitles
v-for="(text, index) in templateStore.footerTitles"
:key="index"
:title="text.linksTitle"
/>
<ul>
<FastLinks
v-for="(text, index) in templateStore.titles"
:key="index"
:title="text.text"
:link="text.link"
/>
</ul>
</div>
</div>
</template>
<style scoped>
.links {
display: flex;
min-height: 120px;
width: 26.66vw;
}
.footer-li {
color: white;
font-family: 'Montserrat', sans-serif;
list-style: none;
font-weight: 450;
margin: 5px;
}
@media (max-width: 900px) {
.links {
min-height: 100px;
}
}
</style>
Empty file.
27 changes: 27 additions & 0 deletions src/components/footer/logo/LogoFabrica.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<script lang="ts" setup></script>
<template>
<div class="img-logo-fabrica">
<img src="@/assets/logo-fabrica-de-software.png" />
</div>
</template>
<style scoped>
.img-logo-fabrica,
.links,
.contato {
display: flex;
min-height: 120px;
width: 26.66vw;
}
.img-logo-fabrica img {
width: 200px;
}
@media (max-width: 900px) {
.img-logo-fabrica img {
width: 150px;
}
.img-logo-fabrica {
min-height: 100px;
}
}
</style>
16 changes: 16 additions & 0 deletions src/components/footer/titles/FooterTitles.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<script lang="ts" setup>
defineProps({
title: String,
});
</script>
<template>
<h1 class="footer-titles">{{ title }}</h1>
</template>
<style scoped>
.footer-titles {
font-family: "Montserrat", sans-serif;
color: #ea6e18;
font-size: 20px;
font-weight: 550;
}
</style>
16 changes: 10 additions & 6 deletions src/components/header/DesktopHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ const templateStore = useTemplateStore()
display: flex;
justify-content: center;
align-items: center;
padding: 15px 35px;
height: 11vh;
padding: 15px 170px;
background-color: white;
border-bottom: 1px solid rgb(83, 83, 83);
}
Expand All @@ -31,23 +32,26 @@ const templateStore = useTemplateStore()
display: flex;
align-items: center;
justify-content: space-around;
width: 100vh;
width: 100%;
margin: 0px 150px;
}
@media (max-width:1200px) {
@media (max-width:1450px) {
.routers-desktop {
margin: 0px 100px;
margin: 0px 70px;
}
.header-desktop {
padding: 15px 130px;
}
}
@media (max-width:1050px) {
@media (max-width:1370px) {
.routers-desktop {
margin: 0px 50px;
}
.header-desktop {
padding: 15px 35px;
padding: 15px 110px;
}
}
</style>
4 changes: 2 additions & 2 deletions src/components/header/logo/TextLogo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ h1 {
}
.logo-fabrica {
font-size: 25px;
font-size: 30px;
font-weight: 500;
}
.logo-node {
font-size: 25px;
font-size: 30px;
font-weight: 800;
color: #267A7A;
}
Expand Down
Loading

0 comments on commit f7472ee

Please sign in to comment.