Skip to content

Commit

Permalink
Merge pull request #75 from atelierdesmedias/improve-logo
Browse files Browse the repository at this point in the history
Replace logo
  • Loading branch information
MartinDelille authored Mar 7, 2023
2 parents fa93f07 + af17d9a commit 5067b40
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 119 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ gem 'mini_magick', '~> 4.11.0'
gem 'octokit', '~> 6.0'
gem 'rake', '~> 13.0.6'
gem 'rbnacl', '~> 7.1.1'
gem 'rubocop', '~> 1.45.1'
gem 'rubocop', '~> 1.48'
gem 'stringex', '~> 2.8.5'

group :jekyll_plugins do
Expand Down
3 changes: 2 additions & 1 deletion _formulas/adherent.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: Adhésion
verb: Devenir
name: adhérent
price: 15
period: an
---
Expand Down
3 changes: 2 additions & 1 deletion _formulas/fixe.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: Formule fixe
verb: Devenir
name: fixe
price: "178,50"
period: mois
---
Expand Down
3 changes: 2 additions & 1 deletion _formulas/nomade.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: Formule nomade
verb: Devenir
name: nomade
price: 102
period: mois
---
Expand Down
3 changes: 2 additions & 1 deletion _includes/formulas.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<section class="formulas">
{% for formula in site.formulas %}
<div class="formula {{ formula.slug }}">
<h2>{{ formula.name }}</h2>
<h3>{{ formula.verb }} <div>{{ formula.name }}</div>
</h3>
{{ formula.content }}
<div class="tarif"><span>{{ formula.price }} €</span>TTC/{{ formula.period }}</div>
{% if formula.slug != "adherent" %}
Expand Down
5 changes: 2 additions & 3 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
<!-- Fonts -->
<link rel="preconnect" href="//fonts.googleapis.com">
<link rel="preconnect" href="//fonts.gstatic.com" crossorigin>
<link href="//fonts.googleapis.com/css2?family=Lato:wght@100;300;400;600&display=swap" rel="stylesheet">
<link href="//fonts.googleapis.com/css2?family=Lato:wght@100;300;400;600&family=Sofia&display=swap" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" rel="stylesheet">

<link rel="icon" href="{{ "/assets/logo.svg" | relative_url }}">
<link rel="icon" href="{{ "/assets/logo_without_baseline.svg" | relative_url }}">
</head>
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<input type="checkbox" id="nav-toggle" class="nav-toggle"/>
<nav>
<a class="logo" href="{{ "/" | relative_url }}">
<img src="{{ "/assets/logo.svg" | relative_url }}" alt="{{ site.title }}" />
<img src="{{ "/assets/logo_without_baseline.svg" | relative_url }}" alt="{{ site.title }}" />
</a>
{% for item in site.data.navigation.menu %}
<a class="nav-{% if page.title == item.title %}active{% else %}link{% endif %}"
Expand Down
2 changes: 1 addition & 1 deletion _includes/video.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
<!-- Ogg/Vorbis for older Firefox and Opera versions -->
<source type="video/ogg" src="{{ "/assets/clip.ogg" | relative_url }}" />
</video>
<a class="button" href="/nous-rejoindre">Nous rejoindre</a>
<img src="{{ "/assets/logo.svg" | relative_url }}" alt="{{ site.title }}" />
</section>
23 changes: 18 additions & 5 deletions _sass/_formulas.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,26 @@
.formula {
width: 100%;
padding: 2em;
color: white;

p {
h3,
p,
.tarif,
small {
color: white;
}

h3 {
margin-bottom: 1em;

font-family: lato, sans-serif;
font-size: 1.5rem;
font-weight: 100;

div {
margin-left: 10px;
font-family: Sofia, cursive;
font-size: 2.5rem;
}
}

ul {
Expand Down Expand Up @@ -55,17 +67,18 @@
}

.adherent {
border-radius: 0 0 0 60px;
background-color: #4d4d4d;

li {
color: white;
}
}

.fixe {
border-radius: 0 0 60px;
background-color: #cbd301;
}

.nomade {
border-radius: 0 60px 0 0;
background-color: #84cbd5;
}

Expand Down
14 changes: 6 additions & 8 deletions _sass/_home.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.big-video {
position: relative;
height: 75vh;
height: 100vh;
overflow: hidden;

video {
Expand All @@ -9,17 +9,15 @@
object-fit: cover;
}

a {
img {
position: absolute;
right: 30%;
bottom: 30%;
top: 50%;
left: 50%;

border-color: white;

color: white;
transform: translate(-50%, -50%);
}

@media screen and (min-width: 800px) {
height: calc(75vh - 80px);
height: calc(100vh - 80px);
}
}
8 changes: 6 additions & 2 deletions _sass/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@ html {
font-family: Lato, sans-serif;
font-size: 16px;
font-weight: 400;
letter-spacing: .03em;
}

h1,
h2,
h3,
h4 {
font-weight: 600;
text-transform: uppercase;
}

h2 {
font-family: Sofia, sans-serif;
font-size: 2.5rem;
font-weight: 400;
}

p {
padding-top: 1em;
color: #333;
Expand Down
95 changes: 1 addition & 94 deletions assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/logo_without_baseline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5067b40

Please sign in to comment.