Browse Source

site provi: page mention legal + footer

master
charly 3 years ago
parent
commit
e577d2661d
7 changed files with 145 additions and 28 deletions
  1. +13
    -3
      public/assets/sass/_home.scss
  2. +39
    -0
      public/assets/sass/_legal_mention.scss
  3. +1
    -0
      public/assets/sass/screen.scss
  4. +68
    -17
      public/assets/stylesheets/screen.css
  5. +2
    -1
      templates/frontend/base.html.twig
  6. +3
    -5
      templates/frontend/home.html.twig
  7. +19
    -2
      templates/page/page.html.twig

+ 13
- 3
public/assets/sass/_home.scss View File

#home {
#app_home {
padding-bottom: 30px; padding-bottom: 30px;
padding-top: 30px; padding-top: 30px;


} }


footer { footer {
.legal-mention {
text-align: right;
margin-top: 50px;
font-family: dinregular;
color: #568a73;
text-align: center;

a {
color: #568a73;
font-family: dinbold;

&:hover {
text-decoration: underline;
}
} }
} }
} }

+ 39
- 0
public/assets/sass/_legal_mention.scss View File

#app_legal_mention {
margin-top: 30px;

.logo-acc {
text-align: center;
}

.title {
h1 {
color: #568a73;
font-size: 45px;
margin-top: 80px;
margin-bottom: 30px;
font-family: dinbold;
}
}

.description {
font-family: dinregular;
font-size: 17px;
text-align: justify;
}

footer {
margin-top: 50px;
font-family: dinregular;
color: #568a73;
text-align: center;

a {
color: #568a73;
font-family: dinbold;

&:hover {
text-decoration: underline;
}
}
}
}

+ 1
- 0
public/assets/sass/screen.scss View File



@import "_base.scss"; @import "_base.scss";
@import "_home.scss"; @import "_home.scss";
@import "_legal_mention.scss";
@import "_responsive.scss"; @import "_responsive.scss";


@font-face { @font-face {

+ 68
- 17
public/assets/stylesheets/screen.css View File

} }


/* line 1, ../sass/_home.scss */ /* line 1, ../sass/_home.scss */
#home {
#app_home {
padding-bottom: 30px; padding-bottom: 30px;
padding-top: 30px; padding-top: 30px;
} }
/* line 6, ../sass/_home.scss */ /* line 6, ../sass/_home.scss */
#home header .logo-aac {
#app_home header .logo-aac {
width: 80%; width: 80%;
} }
/* line 10, ../sass/_home.scss */ /* line 10, ../sass/_home.scss */
#home header .personnages-acc {
#app_home header .personnages-acc {
width: 26%; width: 26%;
position: absolute; position: absolute;
bottom: 0; bottom: 0;
} }
/* line 16, ../sass/_home.scss */ /* line 16, ../sass/_home.scss */
#home header h1 {
#app_home header h1 {
color: #aab769; color: #aab769;
font-size: 32px; font-size: 32px;
font-family: dinbold; font-family: dinbold;
width: 100%; width: 100%;
} }
/* line 24, ../sass/_home.scss */ /* line 24, ../sass/_home.scss */
#home header h1 .main-title {
#app_home header h1 .main-title {
margin-left: 26%; margin-left: 26%;
display: inline-block; display: inline-block;
width: 70%; width: 70%;
} }
/* line 30, ../sass/_home.scss */ /* line 30, ../sass/_home.scss */
#home header h1 .aac {
#app_home header h1 .aac {
color: #dc5b2f; color: #dc5b2f;
} }
/* line 36, ../sass/_home.scss */ /* line 36, ../sass/_home.scss */
#home h2 {
#app_home h2 {
color: #568a73; color: #568a73;
font-size: 30px; font-size: 30px;
margin-top: 80px; margin-top: 80px;
font-family: dinbold; font-family: dinbold;
} }
/* line 45, ../sass/_home.scss */ /* line 45, ../sass/_home.scss */
#home ul li {
#app_home ul li {
margin-top: 25px; margin-top: 25px;
} }
/* line 48, ../sass/_home.scss */ /* line 48, ../sass/_home.scss */
#home ul li button {
#app_home ul li button {
width: 70%; width: 70%;
font-size: 18px; font-size: 18px;
font-family: dinbold; font-family: dinbold;
border-radius: 15px / 15px; border-radius: 15px / 15px;
} }
/* line 54, ../sass/_home.scss */ /* line 54, ../sass/_home.scss */
#home ul li button a {
#app_home ul li button a {
color: #FFF; color: #FFF;
} }
/* line 59, ../sass/_home.scss */ /* line 59, ../sass/_home.scss */
#home ul li .yellow {
#app_home ul li .yellow {
background-color: #ffe680; background-color: #ffe680;
} }
/* line 63, ../sass/_home.scss */ /* line 63, ../sass/_home.scss */
#home ul li .green {
#app_home ul li .green {
background-color: #aab769; background-color: #aab769;
} }
/* line 67, ../sass/_home.scss */ /* line 67, ../sass/_home.scss */
#home ul li .orange {
#app_home ul li .orange {
background-color: #dc5b2f; background-color: #dc5b2f;
} }
/* line 73, ../sass/_home.scss */ /* line 73, ../sass/_home.scss */
#home .logo-coop {
#app_home .logo-coop {
width: 60%; width: 60%;
margin-top: 50px; margin-top: 50px;
} }
/* line 79, ../sass/_home.scss */
#home footer .legal-mention {
text-align: right;
/* line 78, ../sass/_home.scss */
#app_home footer {
margin-top: 50px;
font-family: dinregular;
color: #568a73;
text-align: center;
}
/* line 84, ../sass/_home.scss */
#app_home footer a {
color: #568a73;
font-family: dinbold;
}
/* line 88, ../sass/_home.scss */
#app_home footer a:hover {
text-decoration: underline;
}

/* line 1, ../sass/_legal_mention.scss */
#app_legal_mention {
margin-top: 30px;
}
/* line 4, ../sass/_legal_mention.scss */
#app_legal_mention .logo-acc {
text-align: center;
}
/* line 9, ../sass/_legal_mention.scss */
#app_legal_mention .title h1 {
color: #568a73;
font-size: 45px;
margin-top: 80px;
margin-bottom: 30px;
font-family: dinbold;
}
/* line 18, ../sass/_legal_mention.scss */
#app_legal_mention .description {
font-family: dinregular;
font-size: 17px;
text-align: justify;
}
/* line 24, ../sass/_legal_mention.scss */
#app_legal_mention footer {
margin-top: 50px;
font-family: dinregular;
color: #568a73;
text-align: center;
}
/* line 30, ../sass/_legal_mention.scss */
#app_legal_mention footer a {
color: #568a73;
font-family: dinbold;
}
/* line 34, ../sass/_legal_mention.scss */
#app_legal_mention footer a:hover {
text-decoration: underline;
} }


/* line 1, ../sass/_responsive.scss */ /* line 1, ../sass/_responsive.scss */

+ 2
- 1
templates/frontend/base.html.twig View File

<link rel="stylesheet" href="{{ asset('assets/stylesheets/screen.css') }}"> <link rel="stylesheet" href="{{ asset('assets/stylesheets/screen.css') }}">
{% block stylesheets %}{% endblock %} {% block stylesheets %}{% endblock %}
</head> </head>
<body>
{% set current_path = app.request.get('_route') %}
<body id="{{ current_path }}">
{% block body %}{% endblock %} {% block body %}{% endblock %}
<script src="{{ asset('assets/js/jquery-3.1.1.min.js') }}"></script> <script src="{{ asset('assets/js/jquery-3.1.1.min.js') }}"></script>
<script src="{{ asset('assets/semantic/semantic.min.js') }}"></script> <script src="{{ asset('assets/semantic/semantic.min.js') }}"></script>

+ 3
- 5
templates/frontend/home.html.twig View File

{% import 'frontend/macro.html.twig' as macro %} {% import 'frontend/macro.html.twig' as macro %}


{% block body %} {% block body %}
<div id="home" class="ui container">
<div class="ui container">
<header class="ui stackable grid"> <header class="ui stackable grid">
<div class="five wide column bloc-logo"> <div class="five wide column bloc-logo">
<img class="logo-aac" src="{{ asset('assets/img/Logo-Aux-Actes-Citoyens.jpg') }}" <img class="logo-aac" src="{{ asset('assets/img/Logo-Aux-Actes-Citoyens.jpg') }}"
</div> </div>
<footer> <footer>
<div class="ui grid"> <div class="ui grid">
<div class="legal-mention column eight wide column">
<div class="column sixteen wide">
<a href="{{ path('app_legal_mention') }}" title="Mentions légales">Mentions légales</a> <a href="{{ path('app_legal_mention') }}" title="Mentions légales">Mentions légales</a>
</div>
<div class="column eight wide column">
création <a href="https://www.laclic.fr/" title="La Clic !" target="_blank">LA CLIC !</a>
- création <a href="https://www.laclic.fr/" title="La Clic !" target="_blank">LA CLIC !</a>
</div> </div>
</div> </div>
</footer> </footer>

+ 19
- 2
templates/page/page.html.twig View File



{% block body %} {% block body %}
<div class="ui container"> <div class="ui container">
<h1>{{ page.title }}</h1>
<p>{{ page.description|raw }}</p>
<div class="logo-acc">
<a href="{{ path('app_home') }}" title="Accueil">
<img src="{{ 'assets/img/Logo-Aux-Actes-Citoyens.jpg' }}" alt="Logo le panier de daphne">
</a>
</div>
<div class="title">
<h1>{{ page.title }}</h1>
</div>
<div class="description">
{{ page.description|raw }}
</div>
<footer>
<div class="ui grid">
<div class="column sixteen wide">
<a href="{{ path('app_legal_mention') }}" title="Mentions légales">Mentions légales</a>
- création <a href="https://www.laclic.fr/" title="La Clic !" target="_blank">LA CLIC !</a>
</div>
</div>
</footer>
</div> </div>
{% endblock %} {% endblock %}

Loading…
Cancel
Save