Skip to content

Commit

Permalink
Most of the changes for #541 EXCEPT converting form switching into aj…
Browse files Browse the repository at this point in the history
…ax without page reload
  • Loading branch information
sfisher committed Nov 6, 2024
1 parent 460974a commit 3ace00a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 15 deletions.
6 changes: 3 additions & 3 deletions dev/includes/home-banner.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<div class="home-banner" style="background-image: url('images/homeHero_01.jpg')">
<div class="home-banner__lead">
<p class="home-banner__lead-text">Create and manage long-term globally unique IDs for data and other sources using EZID</p>
<a href="" class="home-banner__lead-button">Learn More</a>
<a href="" class="home-banner__lead-button">Learn more about EZID</a>
</div>
</div>

<h3>Using Alternative Image</h3>

<div class="home-banner" style="background-image: url('images/homeHero_02.jpg')">
<div class="home-banner__lead">
<p class="home-banner__lead-text">Create and manage long-term globally unique IDs for data and other sources using EZID</p>
<a href="" class="home-banner__lead-button">Learn More</a>
<p class="home-banner__lead-text">Create and manage long-term globally unique IDs for data and other sources</p>
<a href="" class="home-banner__lead-button">Learn more about EZID</a>
</div>
</div>
6 changes: 3 additions & 3 deletions dev/layout_home.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ <h2>Home Layout With Login Modal</h2>
<!-- Home Banner -->
<div class="home-banner" style="background-image: url('images/homeHero_01.jpg')">
<div class="home-banner__lead">
<p class="home-banner__lead-text">Create and manage long-term globally unique IDs for data and other sources using EZID</p>
<a href="" class="home-banner__lead-button">Learn More</a>
<p class="home-banner__lead-text">Create and manage long-term globally unique IDs for data and other sources</p>
<a href="" class="home-banner__lead-button">Learn more about EZID</a>
</div>
</div>

<div class="home__identifier-container">

<div class="home__identifier-lead-box">
<h2 class="home__identifier-lead-heading">See how easy it is:</h2>
<p class="home__identifier-lead-note"><b>NOTE:</b> This is just a demo. To create a real identifier, you must have an account.</p>
<p class="home__identifier-lead-note">NOTE: This is just a demo. To create a real identifier, you must have an account.</p>
</div>

<div class="home__identifier-form">
Expand Down
4 changes: 2 additions & 2 deletions dev/legacy-scss/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ $text-link-color: rgb(176, 189, 202); // muted blue #B0BDCA
$text-link-over-beige: rgb(0, 86, 149); // #005695 blue link over beige backgrounds

$design-primary-color: rgb(0, 119, 138); // Teal Blue #00778b
$design-primary-gradient-top: rgb(22, 139, 153); // Lighter Teal Blue #168b99 was #17A2AC
$design-primary-gradient-bottom: rgb(5, 106, 123); // Slightly darker Teal Blue #056a7b
$design-primary-gradient-top: rgb(6, 80, 89); // Lighter Teal Blue #168b99 was #17A2AC
$design-primary-gradient-bottom: rgb(1, 64, 71); // Slightly darker Teal Blue #056a7b

// Brown colors
$design-secondary-gradient-top: rgb(198, 176, 130); // #C6B082 Used for subnav
Expand Down
8 changes: 4 additions & 4 deletions static_src/stylesheets/main2.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ <h1 style="display: none;">EZID: {% trans "Identifiers made easy" %}</h1>
<div class="home-banner">
<div class="home-banner__lead-container">
<div class="home-banner__lead">
<p class="home-banner__lead-text">{% trans "Create and manage long-term globally unique IDs for data and other sources using EZID" %}</p>
<a href="{% url "ui_home.learn" %}" class="home-banner__lead-button">{% trans "Learn More" %}</a>
<p class="home-banner__lead-text">{% trans "Create and manage long-term globally unique IDs for data and other sources" %}</p>
<a href="{% url "ui_home.learn" %}" class="home-banner__lead-button">{% trans "Learn more about EZID" %}</a>
</div>
</div>
</div>
Expand Down Expand Up @@ -68,7 +68,10 @@ <h1 style="display: none;">EZID: {% trans "Identifiers made easy" %}</h1>

<div class="fieldset-stacked fieldset__top-border home__fieldset" role="group" aria-labelledby="fieldset__2">

<div id="fieldset__2" aria-label="{% trans "Step 2 - Describe the identified object" %}" class="fieldset-stacked__legend-number-2">{% trans "Describe the identified object" %}</div>
<div id="fieldset__2" aria-label="{% trans "Step 2 - Describe the identified object" %}"
class="fieldset-stacked__legend-number-2">
{% trans "Describe the identified object" %}
</div>

<div class="row">
{{ form.non_field_errors }}
Expand Down

0 comments on commit 3ace00a

Please sign in to comment.