Skip to content

Commit

Permalink
Merge pull request #33 from i-dot-ai/tidy-up
Browse files Browse the repository at this point in the history
Tidy up and content updates
  • Loading branch information
252afh authored Jul 5, 2024
2 parents 1292e99 + f4f93ea commit 6c4b67b
Show file tree
Hide file tree
Showing 17 changed files with 373 additions and 896 deletions.
805 changes: 274 additions & 531 deletions public/css/style.css

Large diffs are not rendered by default.

Binary file added public/img/nhs2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/img/pmaispeech.jpg
Binary file not shown.
Binary file removed public/img/pmaispeech_optimised.jpg
Binary file not shown.
Binary file removed public/img/redbox1.png
Binary file not shown.
Binary file removed public/img/redbox3.png
Binary file not shown.
Binary file added public/img/redbox4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion public/scss/Readme.txt

This file was deleted.

6 changes: 3 additions & 3 deletions src/_data/projects.js

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

108 changes: 0 additions & 108 deletions src/_includes/project-types.njk
Original file line number Diff line number Diff line change
Expand Up @@ -8,114 +8,6 @@
{heading: 'Condor', subHeading: 'Databases, APIs, development environment', icon: 'condor.png', content: '<h3>Condor</h3><p>To enable widespread AI adoption and leverage data at scale, it is essential to have the right data infrastructure in government.</p><p>In i.AI we take this seriously. Project rAPId is an open-source end-to-end solution, enabling departments to discover, manage and share high-impact data internally and across government. Work is currently going beyond rAPId to offer open-source, cutting edge cloud infrastructure (Project Condor) that will allow departments to create the infrastructure that suits their data, analytical and AI needs.</p><p>So that is how we view different AI projects in government. The list is not necessarily exhaustive, but provides a helpful framework through which we can filter the many and varied proposals that come our way.</p>'}
] %}

<style>
.iai-project-types {
margin-top: 2rem;
}
.iai-project-types__container-left {
flex-shrink: 0;
padding: 0 1rem;
}
.iai-project-types__type-container {
align-items: center;
display: flex;
margin-top: 1rem;
width: 100%;
}
.iai-project-types__icon-container {
background-color: white;
border: 0.25rem solid var(--iai-pink);
border-radius: 100%;
flex-shrink: 0;
padding: 0.75rem;
position: relative;
z-index: 10;
}
.iai-project-types__icon {
display: block;
height: 3rem;
width: 3rem;
}
.iai-project-types__btn {
background-color: white;
border: 0.25rem solid var(--iai-pink);
border-radius: 1rem;
color: var(--iai-pink);
font-size: 1rem;
font-weight: bold;
margin-left: -2rem;
max-width: 28rem;
padding: 0.5rem 2.5rem 0.5rem 3.5rem;
width: calc(100% + 2rem);
}
.iai-project-types__btn:focus-visible {
outline: 2px solid blue;
outline-offset: 2px;
}
.iai-project-types__btn:hover, .iai-project-types__btn[aria-expanded="true"] {
background-color: var(--iai-pink);
color: white;
}
.iai-project-types__sub-head {
display: block;
font-size: 0.75rem;
font-weight: 400;
margin-top: 0.25rem;
}
.iai-project-types__content--mobile {
font-size: 0.875rem;
margin-bottom: 1.5rem;
margin-top: 0.5rem;
}
.iai-project-types__content--desktop {
display: none;
margin-top: 1rem;
}
.iai-project-types__content h3 {
display: none;
font-weight: bold;
margin-top: 1.5rem;
}
.iai-project-types__content p {
margin-top: 1rem;
}
.iai-project-types__no-content {
display: none;
margin-top: 2rem;
}
.iai-project-types__credit {
color: #757575;
display: block;
font-size: 0.625rem;
margin-top: 1rem;
}
@media (min-width: 1020px) {
.iai-project-types.js-initialised {
display: flex;
gap: 2rem;
}
.iai-project-types__btn {
font-size: 1.125rem;
}
.iai-project-types__sub-head {
font-size: 1rem;
}
.iai-project-types.js-initialised .iai-project-types__content--mobile {
display: none;
}
.iai-project-types.js-initialised .iai-project-types__content--desktop {
display: block;
}
.iai-project-types.js-initialised .iai-project-types__content h3 {
display: block;
}
.iai-project-types__no-content {
display: block;
}
}
</style>

<script>
/**
* Wrap around a <button> element to make it toggleable
Expand Down
170 changes: 0 additions & 170 deletions src/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ layout: base.njk
templateEngineOverride: njk
---

{#
<div class="w-screen py-[10px] bg-[#FB3640] text-center text-white align-center">
<a href="/partners" class="font-semi-bold text-[18px] hover:text-slate-100">We are on the hunt for partners</a>
</div>
#}

<section id="heroBanner" class="bg-[#000] w-100 bg-[url('/img/code_stock_image.png')] bg-cover">

Expand Down Expand Up @@ -76,40 +71,6 @@ templateEngineOverride: njk
</section>



<style>
.iai-homepage-quote {
padding: 0 5rem;
}
.iai-homepage-quote p {
font-size: 16px;
line-height: 1.4;
}
.iai-homepage-quote footer {
font-size: 12px;
}
.iai-quote-carousel__btn {
background-color: black;
border-radius: 100%;
height: 2.75rem;
opacity: 0.6;
padding: 0.75rem;
top: calc(50% - 1.25rem);
width: 2.75rem;
}
.iai-quote-carousel__btn:focus-visible {
outline: 2px solid blue;
}
@media (min-width: 768px) {
.iai-homepage-quote p {
font-size: 30px;
}
.iai-homepage-quote footer {
font-size: 20px;
}
}
</style>

<div class="container flex w-90 my-5 md:w-75 gap-5">
<div class="flex gap-3 align-center justify-center text-center w-full js-carousel-container">

Expand Down Expand Up @@ -214,134 +175,3 @@ templateEngineOverride: njk
</div>
</div>
</section>


{#
<section class="features pb-2">
<div class="container">
<div class="w-100 flex justify-center">
<div class="flex flex-col section-title lg:w-3/4">
<h2 class="text-[33px] font-semibold">Learn More about AI in Government</h2>
<p class='text-[18px] text-slate-800 font-light self-center lg:w-3/4'>Due to radical steps we are taking today, the UK will once more be at the forefront of a new industrial
revolution. This means transforming public services for the better, leading the world in a coordinated
approach to AI safety and ensuring the UK economy is set up to reap its full potential.</p>
</div>
</div>
</div>
</section>
<section class="features">
<div class="container">
<div class="row mt-18" data-aos="fade-up">
<div class="col-md-5 mt-[10px]">
<img src="/img/pmaispeech_optimised.jpg" class="img-fluid" alt="UK Prime Minister Rishi Sunak speaking at UK AI Safety Summit">
</div>
<div class="col-md-7">
<h3 class="text-2xl font-semibold">
AI Safety
</h3>
<p class="mt-3 text-[18px] text-slate-800 font-light">
The UK hosted the world's first ever global AI Safety Summit to make sure governments, industry, researchers and civil society work
together to seize the benefits of AI whilst mitigating the most serious risks.
</p>
<p class="mt-2 text-[18px] text-slate-800 font-light">
Our new team will work in close partnership with the Department for Science, Innovation and Technology (DSIT) to ensure the AI Safety Institute enables us to move at pace to
capture the benefits of the recent technological revolution whilst doing so responsibly. You can check out out the <a class="link" href="https://www.youtube.com/watch?v=dcj3FxcA__g" target="_blank" rel=”noopener noreferrer nofollow”>AI Safety Summit wrap up (opens in new tab)</a>.
</p>
<ul class="mt-3 text-slate-700 font-light">
<li>
<i class="bi bi-check"></i>
<a class="link"
href="https://www.gov.uk/government/publications/ai-safety-institute-overview">AI Safety Institute</a>
</li>
<li>
<i class="bi bi-check"></i>
<a class="link"
href="https://www.gov.uk/government/publications/ai-regulation-a-pro-innovation-approach">AI
Regulation: A Pro Innovation Approach</a>
</li>
<li>
<i class="bi bi-check"></i>
<a class="link"
href="https://www.gov.uk/government/publications/ai-safety-summit-2023-the-bletchley-declaration/the-bletchley-declaration-by-countries-attending-the-ai-safety-summit-1-2-november-2023">The
Bletchley Declaration</a>
</li>
<li>
<i class="bi bi-check"></i>
<a class="link" href="https://www.gov.uk/government/topical-events/ai-safety-summit-2023">Updates from the AI Safety Summit</a>
</li>
</ul>
</div>
</div>
<div class="row" data-aos="fade-up">
<div class="col-md-5 order-1 order-md-2 mt-[10px]">
<img src="/img/aiforgood.png" class="img-fluid img-fluid-drop" alt="">
</div>
<div class="col-md-7 order-2 order-md-1">
<h3 class="text-2xl font-semibold">AI for the Public Good</h3>
<p class="mt-3 text-[18px] text-slate-800 font-light">
The UK's Science and Technology Framework has laid out how the UK is finding and attracting the next
generation of AI leaders from around the world, strengthening AI governance domestically and
internationally, as well as using AI to innovate within the public sector.
</p>
<ul class="mt-3 text-slate-700 font-light">
<li>
<i class="bi bi-check"></i>
<a class="link"
href="https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/1140217/uk-science-technology-framework.pdf">Science
and Technology Framework</a>
</li>
</ul>
<p class="mt-3 text-[18px] text-slate-800 font-light">
The UK's Advanced Research and Invention Agency (ARIA) launched with a mission to create transformational
research programs that have the potential to generate new technological capabilities for the benefit of
humanity. With a focus on high-risk, high-reward scientific endeavours, ARIA aims to be a global super
lab, allocating its £800 million budget to support frontier science and technology.
</p>
<ul class="mt-3 text-slate-700 font-light">
<li>
<i class="bi bi-check"></i>
<a class="link" href="https://www.aria.org.uk/">Aria</a>
</li>
</ul>
</div>
</div>
<div class="row" data-aos="fade-up">
<div class="col-md-5 mt-[10px]">
<img src="/img/DSIT.png" class="img-fluid img-fluid-drop" alt="New world leading approach to AI in the UK">
</div>
<div class="col-md-7">
<h3 class="text-2xl font-semibold">Government Departments</h3>
<p class="mt-3 text-[18px] text-slate-800 font-light">
The Department for Science, Innovation and Technology (DSIT) is the lead department for AI policy and is responsible for helping to encourage,
develop and manage the UK's scientific, research, and technological outputs, as well as overseeing implementation of the National AI Strategy which puts innovation at the heart of our approach and the UK's wider regulatory approach to AI.
</p>
<ul class="mt-3 text-slate-700 font-light">
<li>
<i class="bi bi-check"></i>
<a class="link"
href="https://www.gov.uk/government/organisations/department-for-science-innovation-and-technology">Department for
Science, Innovation and Technology</a>
</li>
</ul>
<p class="mt-3 text-[18px] text-slate-800 font-light">The Cabinet Office is responsible for implementation and adoption of AI for the public good across Government and the public sector, including through the work of i.AI.</p>
<p class="mt-3 text-[18px] text-slate-800 font-light">
The Central Digital and Data Office (CDDO) leads the digital, data and technology function for government. CDDO works with DSIT in setting AI policy and strategy including standards for government use. </p>
<ul class="mt-3 text-slate-700 font-light">
<li>
<i class="bi bi-check"></i>
<a class="link"
href="https://www.gov.uk/government/organisations/central-digital-and-data-office">Cabinet Office:
Central Digital and Data Office (CDDO) </a>
</li>
</ul>
</div>
</div>
</div>
</section>
#}
10 changes: 9 additions & 1 deletion src/projects/consultations.njk → src/projects/consult.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@ layout: base.njk
templateEngineOverride: njk
ogTitle: Consult
ogImage: https://ai.gov.uk/img/consultation4.png
ogUrl: https://ai.gov.uk/projects/consultations
ogUrl: https://ai.gov.uk/projects/consult
pagination:
data: pages
alias: url
size: 1
pages:
- consult
- consultations
permalink: /projects/{{ url }}.html
---


Expand Down
4 changes: 2 additions & 2 deletions src/projects/nhs-collaboration.njk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: i.AI and NHS England Collaboration Charter
layout: base.njk
templateEngineOverride: njk
ogTitle: i.AI and NHS England Collaboration Charter
ogImage: https://ai.gov.uk/img/nhs1.jpg
ogImage: https://ai.gov.uk/img/nhs2.png
ogUrl: https://ai.gov.uk/projects/nhs-collaboration
---

Expand All @@ -23,7 +23,7 @@ ogUrl: https://ai.gov.uk/projects/nhs-collaboration
{{ textImageBlock ({
text: content,
image: {
src: "/img/nhs1.jpg",
src: "/img/nhs2.png",
alt: ""
},
side: "left"
Expand Down
Loading

0 comments on commit 6c4b67b

Please sign in to comment.