Merge pull request #70 from Pigges/add-branding

Added branding page
This commit is contained in:
Ralph 2022-12-19 14:41:23 -05:00 committed by GitHub
commit a5799492d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 152 additions and 0 deletions

View file

@ -0,0 +1,55 @@
<template>
<div class="color-card">
<div class="color" :style="cssVars">
<span>{{ color }}</span>
</div>
<p>{{ text }}</p>
</div>
</template>
<style scoped>
.color-card {
display: flex;
flex-direction: column;
align-items: center;
}
.color {
display: flex;
align-items: center;
justify-content: center;
text-shadow: 1px 1px 1px #111;
width: 150px;
height: 150px;
border-radius: 10%;
outline: 1px solid #fff;
background-color: var(--color);
transition: .2s;
}
.color span {
visibility: hidden;
}
.color:hover {
transform: scale(1.05);
}
.color:hover span {
visibility: visible;
}
</style>
<script>
export default {
props: ['color', 'text'],
computed: {
cssVars () {
return{
'--color': this.color,
}
}
}
};
</script>

View file

@ -88,6 +88,7 @@ const config = {
search: false,
nav: [
// TODO update?
{ text: 'Branding', link: '/branding/'},
{ text: 'Projects', link: '/projects/' },
{ text: 'Verify', link: '/verify/' },
{ text: 'Governance', link: '/governance/' },

Binary file not shown.

96
docs/branding/README.md Normal file
View file

@ -0,0 +1,96 @@
---
title: Branding Assets
---
<center>
<h1>Branding Assets</h1>
Download official LBRY Foundation branding assets✏📏🖌
</center>
<div class="assets">
<h2>Foundation Branding</h2>
<img src="/logo-vertical.svg" width="200px">
<br/>
<a class="download-assets" href="/branding/assets.zip">Download assets</a>
</div>
### Logo
<center>
<img src="/logo-horizontal.svg" width="200px">
</center>
### Colors
<br/>
<div style="display:flex; flex-wrap:wrap;gap:1rem;justify-content:center;">
<Color color="#27E4EB" text="Brand Color" />
<Color color="#072A46" text="Background Color" />
<Color color="#051D31" text="Secondary Background" />
<Color color="#041523" text="Tertiary Background" />
<Color color="#FAFAFA" text="Header Text Color" />
<Color color="#DDDDDD" text="Body Text Color" />
</div>
### Fonts & Typography
<br/>
<div class="fonts">
<div class="card">
<h1>H1 - Roboto 48px</h1>
<h2>H2 - Roboto 40px</h2>
<h3>H3 - Roboto 36px</h3>
<h4>H4 - Roboto 30px</h4>
<h5>H5 - Roboto 28px</h5>
<h6>H6 - Roboto 24px</h6>
</div>
<div class="card">
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
</div>
</div>
<center><br/>Fonts: Roboto</center>
<style>
.assets {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.assets h2 {
width: 100%;
}
.fonts {
display: flex;
flex-wrap: wrap;
gap: 2rem;
align-items: center;
justify-content: center;
width: 100%;
}
.fonts h2 {
border: none;
}
.fonts .card {
max-width: 40%;
padding: 1rem;
border-radius: 5%;
background-color: var(--secondaryBG);
transition: .2s
}
.fonts .card:hover, img:hover {
transform: scale(1.05);
}
img {
transition: .2s
}
@media screen and (max-width:720px) {
.fonts .card {
max-width: 80%;
}
}
</style>