Skip to content

Commit

Permalink
Update home_page.html
Browse files Browse the repository at this point in the history
  • Loading branch information
a1exch3ung authored Nov 10, 2024
1 parent e091a15 commit 5ba9f67
Showing 1 changed file with 59 additions and 37 deletions.
96 changes: 59 additions & 37 deletions _layouts/home_page.html
Original file line number Diff line number Diff line change
@@ -1,39 +1,61 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
{% include head.html %}
<body class="site{% if site.animated %} animated fade-in-down{% endif %}">
<script>
document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');
</script>
<div class="site-wrap">
<a class="nhsuk-skip-link" href="#maincontent">Skip to main content</a>
{% include header.html %}
<section class="nhsuk-hero nhsuk-hero--image nhsuk-hero--image-description" style="background-image: url('assets/img/bluex.png');">
<div class="nhsuk-hero__overlay">
<div class="nhsuk-width-container">
<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-two-thirds">
<div class="nhsuk-hero-content">
<h1 class="nhsuk-u-margin-bottom-3">{{ site.description}}</h1>
<p class="nhsuk-body-l nhsuk-u-margin-bottom-0">We are here to connect and empower the data and analytics community, providing a safe space for professionals to collaborate in a radical way across the health system.</p>
<span class="nhsuk-hero__arrow" aria-hidden="true"></span>
</div>
</div>
</div>
</div>
</div>
</section>
<div class="nhsuk-width-container">
<main class="nhsuk-main-wrapper" id="maincontent">
<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-full">
<main class="nhsuk-main-wrapper" id="maincontent">
{{ content }}
</main>
</div>
</div>
</main>
</div>
{% include footer.html %}
</body>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ page.title | default: "AnalystX" }}</title>
<link rel="stylesheet" href="https://design-system.digital.nhs.uk/cdn/v0.176.0/stylesheets/nhsd-frontend.css">
<style>
.container {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
padding: 20px;
}
.column {
border: 1px solid #ccc;
padding: 10px;
text-align: center;
background-color: #f4f4f4;
}
.column img {
max-width: 100%;
height: auto;
}
</style>
</head>
<body>
<header>
<h1>{{ site.title }}</h1>
<nav>
{% for link in site.nav_links %}
<a href="{{ link.url }}">{{ link.title }}</a>
{% endfor %}
</nav>
</header>

<main class="container">
<div class="column">
<img src="/path/to/image1.jpg" alt="Description of image 1">
<p>Caption for image 1</p>
</div>
<div class="column">
<img src="/path/to/image2.jpg" alt="Description of image 2">
<p>Caption for image 2</p>
</div>
<div class="column">
<img src="/path/to/image3.jpg" alt="Description of image 3">
<p>Caption for image 3</p>
</div>
<div class="column">
<img src="/path/to/image4.jpg" alt="Description of image 4">
<p>Caption for image 4</p>
</div>
</main>

<footer>
<p>&copy; {{ site.time | date: "%Y" }} NHS AnalystX. All rights reserved.</p>
</footer>

<script src="https://design-system.digital.nhs.uk/cdn/v0.176.0/scripts/nhsd-frontend.js"></script>
</body>
</html>

0 comments on commit 5ba9f67

Please sign in to comment.