Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New big footer #119

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/assets/fonts/Cascadia.ttf
Binary file not shown.
Binary file added src/assets/images/marketplace-hero-4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ export default {
z-index: 10

&__logo
cursor: pointer
display: flex
flex-shrink: 0
align-items: center
margin-left: -15px

&__container
align-items: center
Expand Down
10 changes: 9 additions & 1 deletion src/layouts/Default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<script>
import NotificationBanner from "../components/NotificationBanner";
import Header from "../components/Header";
import Footer from "../components/Footer";
import Footer from "./partials/Footer";
import Navbar from "./partials/Navbar";
import Notifications from "../../data/notification.json";

Expand Down Expand Up @@ -166,6 +166,11 @@ export default {
<style lang="sass">
@import url('https://rsms.me/inter/inter.css')

@font-face
font-family: 'Cascadia Code'
font-weight: 400
src: url("../assets/fonts/Cascadia.ttf") format("ttf")

*
padding: 0
margin: 0
Expand Down Expand Up @@ -207,4 +212,7 @@ h6, .h6

.active--exact
color: #00ADB5

.font-mono
font-family: "Cascadia Code", sans-serif;
</style>
200 changes: 200 additions & 0 deletions src/layouts/partials/Footer.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
<template>
<footer class="footer">
<div class="footer__top">
<container>
<div class="footer__top-row">
<div class="footer__top-nav">
<g-link class="header__logo" to="/">
<logo color="fff" />
</g-link>
<g-link to="/about">About</g-link>
<g-link to="/blog">Blog</g-link>
</div>
<div class="footer__top-github">
<github-star :show-count="true" />
</div>
</div>
<div class="footer__nav">
<div class="footer__nav-col">
<h5>Product</h5>
<ul>
<li><g-link to="/features">Git graphical interface</g-link></li>
<li><g-link to="/marketplace">Extension marketplace</g-link></li>
</ul>
</div>
<div class="footer__nav-col">
<h5>Resources</h5>
<ul>
<li><g-link to="/docs/installing-thermal/">How to install Thermal</g-link></li>
<li><g-link to="/docs/introduction">How to use Thermal</g-link></li>
<li><g-link to="/download">Mac/Win/Linx</g-link></li>
</ul>
</div>
<div class="footer__nav-col">
<h5>Contribute</h5>
<ul>
<li><a href="https://github.com/gitthermal/thermal/wiki">Core concepts</a></li>
<li><a href="https://github.com/gitthermal/thermal/wiki">API documentation</a></li>
<li><a href="https://www.github.com/gitthermal/thermal">Source code</a></li>
</ul>
</div>
<div class="footer__nav-col">
<h5>Support</h5>
<ul>
<li><g-link to="/docs/faq">FAQ</g-link></li>
<li><a href="https://discordapp.com/invite/KT3nAR5/">Discord</a></li>
</ul>
</div>
</div>
</container>
</div>
<div class="footer__bottom">
<container>
<div class="footer__bottom-content">
<h5>One place to manage Git repositories</h5>
<div class="footer__bottom-nav">
<a href="https://github.com/gitthermal/thermal/blob/master/LICENCE">LICENSE</a>
<a href="https://www.codecarrot.net/">Created by CodeCarrot Labs © {{ new Date().getFullYear() }}</a>
</div>
</div>
</container>
</div>
</footer>
</template>

<script>
import Container from "../Container";
import Logo from "../../components/Logo";
import GithubStar from "../../components/GithubStar";

export default {
name: "Footer",
components: {
Container,
Logo,
GithubStar
}
};
</script>

<style lang='sass'>
.footer
background-color: #222831

&__top

&-row
display: flex
justify-content: space-between
align-items: center
padding: 2.5rem 0 1.8rem
border-bottom: 1px solid hsla(0,0%,100%,.11)

&-nav
display: flex
justify-content: start
align-items: center

a
margin: 0 18px
color: #fff

&:first-child
margin-left: 0

&-github
margin-top: 3px

&__nav
margin-top: 2rem
margin-bottom: 2.5rem
display: grid
justify-content: start
grid-gap: 40px
grid-template-columns: 1fr 1fr 1fr 1fr

h5
color: white
margin-bottom: 10px

ul
list-style: none

li
display: block
padding: .5rem 0
letter-spacing: .2px

a
color: lighten(#222831, 45%)

&__bottom
background-color: darken(#222831, 3%)

&-content
display: flex
justify-content: space-between
align-items: center
padding: 1.5rem 0

h5
margin: 0
color: #fff
line-height: 1.5em
font-weight: 600

&-nav
display: flex

a
margin: 0 10px
color: lighten(#222831, 26%)
font-size: .875rem

@media screen and (max-width: 768px)
.footer
margin-bottom: 57px

&__top
&-nav
flex-wrap: wrap
justify-content: center
flex-grow: 1

a
margin: 0 .5rem

&:first-child
justify-content: center
flex: 1 1 100%
margin:
right: 0
bottom: .875rem

&-github
display: none

&__nav
grid-gap: 2vw
grid-template-columns: 1fr 1fr

&__bottom
&-content
flex-wrap: wrap
justify-content: center

h5
margin-bottom: 1rem

&-nav
flex-wrap: wrap
justify-content: center

@media screen and (max-width: 576px)
.footer__nav
grid-gap: 2vw
grid-template-columns: 1fr

&-col
margin-bottom: 1rem
</style>
62 changes: 62 additions & 0 deletions src/pages/Marketplace.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<template>
<layout>
<div class="marketplace">
<container>
<div class="marketplace__hero">
<p class="marketplace__hero-subtitle font-mono">
Marketplace
</p>
<h1 class="marketplace__hero-title">Extend your Git workflow with extensions</h1>
<p class="marketplace__hero-subtitle">
What do you think about it? We would love to hear from you. Please share your
idea/suggestions/feedback.
</p>
</div>
<div style="text-align: center">
<primary-button
class="marketplace__hero-button"
text="Share feedback"
link="https://airtable.com/shr9faoSgdaNQEO0j"
:external="true"
/>
</div>
<g-image class="marketplace__hero-image" src="~/assets/images/marketplace-hero-4x.png" />
</container>
</div>
</layout>
</template>

<script>
import Container from "../layouts/Container";
import PrimaryButton from "../components/Button/PrimaryButton";

export default {
name: "Marketplace",
components: {
Container,
PrimaryButton
}
};
</script>

<style lang='sass'>
.marketplace
margin-top: 5rem
margin-bottom: 5rem

.marketplace__hero
text-align: center
max-width: 700px
width: 100%
margin-left: auto
margin-right: auto

&-subtitle
color: #6a737d;

&-title, &-subtitle
margin-bottom: 1rem

&-image
width: 100%
</style>