Update image path to use a helper method

This commit is contained in:
Luis Cielak 2018-10-02 09:52:12 -04:00 committed by luisgov
parent af9f576677
commit e451c914ab
4 changed files with 4 additions and 7 deletions

View File

@ -4,7 +4,7 @@
.home-container {
max-width: 70rem;
max-width: 90rem;
margin-left: auto;
margin-right: auto;
margin-bottom: 8rem;

View File

@ -18,7 +18,7 @@
<div class="usa-banner-header">
<div class="usa-grid usa-banner-inner">
<img src="static/img/us_flag.png" alt="U.S. flag">
<img src="{{url_for('static', filename='img/us_flag.png')}}" alt="U.S. flag">
<p>An official website of the United States government</p>
<button class="usa-accordion-button usa-banner-button" aria-expanded="false" aria-controls="gov-banner">
<span class="usa-banner-button-text">Heres how you know</span>
@ -26,6 +26,7 @@
</div>
</div>
<header class="topbar topbar--public">
<nav class="topbar__navigation">
<a href="{{ url_for('atst.home') }}" class="topbar__link topbar__link--home">

View File

@ -3,8 +3,6 @@
{% block content %}
<section class="home-layout">
<div class="row">
<div class="col">
<div class="home-container">
<section>
@ -55,9 +53,7 @@
</section>
</div>
</div>

View File

@ -13,7 +13,7 @@
<div class='login-banner'>
<h1 class="login-banner__heading">Access the JEDI Cloud</h1>
<img class="login-banner__logo" src="/static/img/ccpo-logo.svg" alt="Cloud Computing Program Office Logo">
<img class="login-banner__logo" src="{{url_for('static', filename='img/ccpo-logo.svg')}}" alt="Cloud Computing Program Office Logo">
<a class="usa-button usa-button-big login-banner__button" href='{{ redirect_url }}'><span>Sign in with CAC</span></a>