Skip to content

Commit 3840328

Browse files
committed
Merge branch 'redesign-2024' into redesign/more-misc-improvements
2 parents 30e0f5b + 4a4f08b commit 3840328

19 files changed

+38
-37
lines changed

cypress/support/component-index-phy.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
<link rel="preload" as="image" href="/assets/phy/line.svg">
1919
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, shrink-to-fit=no" />
2020
<meta name="theme-color" content="#000000" />
21-
<meta name="application-name" content="Isaac Physics" />
22-
<meta name="description" content="Isaac Physics is a project designed to offer support and activities in physics problem solving to teachers and students from GCSE level through to university." data-react-helmet="true" />
23-
<meta property="og:site_name" content="Isaac Physics" />
24-
<meta property="og:title" content="Isaac Physics" data-react-helmet="true" />
21+
<meta name="application-name" content="Isaac Science" />
22+
<meta name="description" content="Isaac Science is a project expanding out of Isaac Physics to provide resources to develop confidence in problem-solving not only physics (year 7 through to university) and maths (GCSE to university) but also in chemistry (GCSE to university) and biology (A level)." data-react-helmet="true" />
23+
<meta property="og:site_name" content="Isaac Science" />
24+
<meta property="og:title" content="Isaac Science" data-react-helmet="true" />
2525
<meta property="og:type" content="website" />
26-
<meta property="og:description" content="Isaac Physics is a project designed to offer support and activities in physics problem solving to teachers and students from GCSE level through to university." data-react-helmet="true" />
26+
<meta property="og:description" content="Isaac Science is a project expanding out of Isaac Physics to provide resources to develop confidence in problem-solving not only physics (year 7 through to university) and maths (GCSE to university) but also in chemistry (GCSE to university) and biology (A level)." data-react-helmet="true" />
2727
<meta property="og:image" content="https://cdn.isaacphysics.org/isaac/logos/isaacphysics-favicon-500px.png" />
2828
<meta property="fb:app_id" content="760382960667256" />
29-
<title>Isaac Physics</title>
29+
<title>Isaac Science</title>
3030
</head>
3131
<body data-bs-theme="neutral">
3232
<div data-cy-root id="root"></div>

public/index-phy.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@
1515
<link rel="preload" href="/assets/phy/fonts/exo2-medium-webfont.woff2" as="font" crossorigin="anonymous" />
1616
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, shrink-to-fit=no" />
1717
<meta name="theme-color" content="#000000" />
18-
<meta name="application-name" content="Isaac Physics" />
19-
<meta name="description" content="Isaac Physics is a project designed to offer support and activities in physics problem solving to teachers and students from GCSE level through to university." data-react-helmet="true" />
20-
<meta property="og:site_name" content="Isaac Physics" />
21-
<meta property="og:title" content="Isaac Physics" data-react-helmet="true" />
18+
<meta name="application-name" content="Isaac Science" />
19+
<meta name="description" content="Isaac Science is a project expanding out of Isaac Physics to provide resources to develop confidence in problem-solving not only physics (year 7 through to university) and maths (GCSE to university) but also in chemistry (GCSE to university) and biology (A level)." data-react-helmet="true" />
20+
<meta property="og:site_name" content="Isaac Science" />
21+
<meta property="og:title" content="Isaac Science" data-react-helmet="true" />
2222
<meta property="og:type" content="website" />
23-
<meta property="og:description" content="Isaac Physics is a project designed to offer support and activities in physics problem solving to teachers and students from GCSE level through to university." data-react-helmet="true" />
23+
<meta property="og:description" content="Isaac Science is a project expanding out of Isaac Physics to provide resources to develop confidence in problem-solving not only physics (year 7 through to university) and maths (GCSE to university) but also in chemistry (GCSE to university) and biology (A level)." data-react-helmet="true" />
2424
<meta property="og:image" content="https://cdn.isaacphysics.org/isaac/logos/isaacphysics-favicon-500px.png" />
2525
<meta property="fb:app_id" content="760382960667256" />
26-
<title>Isaac Physics</title>
26+
<title>Isaac Science</title>
2727
</head>
2828
<body>
2929
<div id="root" class="d-flex flex-column overflow-clip min-vh-100" data-bs-theme="neutral">
3030
<!-- root element's children are cleared on first react render -->
3131
<noscript>
3232
<div class="fixed-top bg-primary">
33-
<img src="/assets/phy/logo-strap.png" alt="Isaac Physics Logo" class="p-3" />
33+
<img src="/assets/phy/logo-strap.png" alt="Isaac Science Logo" class="p-3" />
3434
</div>
3535
<div class="py-5"></div>
3636
<div class="py-5"></div>
@@ -39,8 +39,8 @@
3939
<div class="col-10 offset-1 col-sm-8 offset-sm-2">
4040
<div class="card">
4141
<div class="card-body text-center">
42-
<h1>Isaac Physics</h1>
43-
<p class="pt-3">You need to enable JavaScript to access Isaac Physics.</p>
42+
<h1>Isaac Science</h1>
43+
<p class="pt-3">You need to enable JavaScript to access Isaac Science.</p>
4444
</div>
4545
</div>
4646
</div>

public/manifest-phy.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "Isaac Physics",
2+
"name": "Isaac Science",
33
"icons": [
44
{
55
"src": "assets/phy/favicon/favicon-32x32.png",

public/unsupported_browsers/unsupported-phy.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<html lang="en">
22
<head>
3-
<title>Isaac Physics</title>
3+
<title>Isaac Science</title>
44
<meta name="viewport" content="width=device-width, initial-scale=1">
55
<link rel='shortcut icon' href='data:image/x-icon;base64,AAABAAEADxAAAAEAIAAoBAAAFgAAACgAAAAPAAAAIAAAAAEAIAAAAAAAwAMAABILAAASCwAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0mU4ANJlOADSZTg80mU50NJlO2jSZToA0mU4UNJlOADSZTgAAAAAAAAAAAAAAAAAAAAAAAAAAADSZTgA0mU4DNJlOPDSZTrI0mU74NJlO/zSZTvo0mU66NJlORDSZTgQ0mU4AAAAAAAAAAAA0mU4ANJlOADSZThw0mU6INJlO6jSZTv80mU7/NJlO/zSZTv80mU7/NJlO7jOZTZI0mU4iNJlOADSZTgA0mU4ANZpPADSZTo43m1H/PJ1V/zaaUP86nFP/OJtR/zmcU/85nFL/NZpP/zydVf81mk+eL5ZKAjSZTgA0mU4AabR8ADqcU5x1uof/ebyK/4LBkv+LxZr/jMWb/4rEmf+JxJj/eLuK/3e6iP86nFOsHI05AzSZTgA0mU4AfL6NADydVZyHw5b/bbaA/5nMpv+Qx57/oM+s/5LIoP+fz6v/m82o/0GfWf8zmU2sM5lNAzSZTgA0mU4AfL2NADydVZyOxp3/nM6p/1KoaP9rtX7/msyn/2Kwdv+l0rD/lMmi/1Opaf81mU+sLJVHAzSZTgA0mU4AYrB2ADmcUpxos3z/bLV//1qscP9os3z/YK91/2CvdP9os3v/U6hp/2y1f/86nFOsHY06AzSZTgA0mU4AX69zADibUpxcrXH/OJtR/zOZTf8zmU3/MphN/zOZTf8ymE3/M5hN/zOYTf80mU6sNJlOAzSZTgA0mU4ANJlOADSZTmY0mU7rNJlO/zSZTv80mU7/NJlO/zSZTv80mU7/NJlO/zSZTu80mU51NJlOADSZTgAAAAAANJlOADSZTgM0mU47NJlOsTSZTvk0mU7/NJlO/zSZTv80mU76NJlOujSZTkM0mU4ENJlOAAAAAAAAAAAAAAAAADOVTAA0mU4ANJlOCzSZTmA0mU7UNJlO/jSZTts0mU5tNJlOEDSZTgA0mE0AAAAAAAAAAAAAAAAAAAAAADSZTgA0mU4BNJlOJzSZTks0mU5LL4lHfDCNSS3U//8ANJlOAAAAAAAAAAAAAAAAAAAAAAAAAAAANJlOADSZTgA0mU5INJlOvjSZTpc1nE+FDR4YTgUEDSsGBw4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANJlOADSZThY0mU7JNJlO4zSZTuQ1nE9nBQQNJQcLEIIHCxAbBwsQAAcKEAAAAAAAAAAAAAAAAAAAAAAANJlOADSZTiU0mU61NJlO4DSZTpA0mk8NUfR2AAcLEGoHCxCLBwwQAwcMEAAAAAAAAAAAAAAAAAD4PgAA4A4AAMAGAADAAgAAwAIAAMACAADAAgAAwAIAAMACAADAAgAAwAYAAPAeAADgPgAA4H4AAMA+AADBHgAA' />
66
<link href='https://fonts.googleapis.com/css?family=Exo+2' rel='stylesheet' type='text/css'>
@@ -62,7 +62,7 @@
6262
<div id="panel">
6363
<img id="logo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFwAAACICAMAAABdnnxTAAAB1FBMVEUAAADOzMzOzMzQz8/Ny8vRz8/W1dXT0dHMysre3d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+8jSJfs9wAECcf01JySPGR1fJ9yBUq1PiKPTl5DCX/LItmqeV9rkbCyFfELCxOhAsAtroOLXeAXVHdES03czwghHxd8+aXzTaQiauTqyMapsFyXTfVK+ZhquU6dDxuZ149cY58ZUET68vnkFQMu5qakDjvKckq8ASgKHdWMTtHPp9CMWW3fOPK3KWB7/xKmAFT4AzXsW5bUPTellds2y750Xlp1+004j/buY5rD2lsGCM1qPvR6RwpbhjGkBSVh6eam/aKAflfLIre/Zf/s/Ix/Sm+BeRROy1v9WG1XMiNKDqvO8giF2rX9FuYvffAK7mQvBpSdGYbICCP2lEMslgDQfmP9uykNWEoigLwjTw1akyicZ7nKVBECtUu3RRa+wOKSBdFLNRFF+4cwKL+7lrKo+19Jnl9xJ3fXgPh5CzOHZnI67PIX9984HFuJ0GRjAcm0kUrrsiiOxiTIoCW8+5NhJ4pMf4teu/NaXCk10O+Gf9yzupv8Yo+84XqOnyTyySw5N38seEE7/9XWRKT4Ue6JW3w43vbPtdOiX92kApt+CsZ9c9N5HYydF5YkblfTQBDqXmCI/ZC9L9teBT0VBU4pREjEbxJ40bAqzaOXykDVlIF6dCzuMph0xcmfuGmBnYSqn/Fc2O47pps/OI62FOqJMg2wtTpBrIMkLIMzjKOjfCwwPHbSK008NGa4bV1I7zdsfGLJoGbHj/RCIt7uo8z8aspwMW+EZ7eH/G3HkHx45I2yGaA3y1zKluH8yngwtEIbPxAAC1jFEsUv4oMQmgjZGkjsPEzaPxEtWkjCMfPqRHmpnj8HBvhWMYofrEGuCVT+l3Gaw+Nn0tSedoIK5+aALfF1a9G2NH4uUyukMCYGB04j46R0+Di4iw+AQqFmEVrg0aNAAAAAElFTkSuQmCC" alt="">
6464
<h1>Unsupported Browser</h1>
65-
<p id="message">Isaac Physics no longer supports Internet Explorer or older versions of Safari.<br>
65+
<p id="message">Isaac Science no longer supports Internet Explorer or older versions of Safari.<br>
6666
Microsoft recommends using <a href="https://www.microsoft.com/edge/">Edge</a> instead of Internet Explorer.<br>
6767
We also support other modern browsers, such as
6868
<a href="https://www.google.com/chrome/">Chrome</a>,

src/app/components/elements/modals/LoginOrSignUpModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const LoginOrSignUpBody = () => {
3939
return <Row id={"login-page"}>
4040
<Col lg={6} className={classNames("content-body", {"pattern-ada-dots": isAda})}>
4141
{siteSpecific(
42-
<img src={"/assets/phy/logo.svg"} alt={"Isaac Physics Logo"} />,
42+
<img src={"/assets/phy/logo.svg"} alt={"Isaac Science Logo"} />,
4343
<img src={"/assets/common/logos/ada_logo_3-stack_aqua.svg"} className={"mt-5 mb-4 pb-2 ms-3"} style={{width: "60%"}} alt={"Ada Computer Science Logo"} />
4444
)}
4545
<div className={"px-3 mb-4"}>

src/app/components/pages/Contact.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const Contact = () => {
101101
const isValidEmail = validateEmail(email);
102102

103103
const metaDescription = siteSpecific(
104-
"Contact the Isaac Physics team with questions, comments or feedback about our resources.",
104+
"Contact the Isaac team with questions, comments or feedback about our resources.",
105105
"Ask us a question about Ada Computer Science, the free online computer science programme for students and teachers. We are here to help!");
106106

107107
return <Container id="contact-page" className="pb-5">

src/app/components/pages/LogIn.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export const LogIn = () => {
218218
}
219219

220220
const metaDescription = siteSpecific(
221-
"Log in to Isaac Physics to learn and track your progress.",
221+
"Log in to Isaac to learn and track your progress.",
222222
"Log in to your Ada Computer Science account to access hundreds of computer science topics and questions.");
223223

224224
return <Container id="login-page" className="my-4 mb-5">

src/app/components/pages/News.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const News = () => {
2929
}, [page]);
3030

3131
const metaDescription = siteSpecific(
32-
"Get all the latest news about Isaac Physics.",
32+
"Get all the latest news about Isaac Science.",
3333
"Get all the latest news about Ada Computer Science, and read the stories of recent graduates who now have exciting careers in computer science.");
3434

3535
return <Container>

src/app/components/pages/Question.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export const Question = withRouter(({questionIdOverride, match, location, previe
161161
{isPhy && <EditContentButton doc={doc} />}
162162

163163
<Row className="question-content-container">
164-
<Col className={classNames("py-4 question-panel", {"mw-760": isAda})}>
164+
<Col className={classNames("py-4 question-panel", {"px-0 px-sm-2": isPhy}, {"mw-760": isAda})}>
165165

166166
<SupersededDeprecatedWarningBanner doc={doc} />
167167

src/app/components/pages/Support.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ export const SupportPageComponent = ({match: {params: {type, category}}}: RouteC
122122

123123
const metaDescriptionMap = siteSpecific(
124124
{
125-
"student": "Find answers to your questions about Isaac Physics in our FAQ for students.",
126-
"teacher": "Find answers to your questions about Isaac Physics in our FAQ for teachers.",
125+
"student": "Find answers to your questions about Isaac Science in our FAQ for students.",
126+
"teacher": "Find answers to your questions about Isaac Science in our FAQ for teachers.",
127127
},
128128
{
129129
"student": "Got a question about Ada Computer Science? Read our student FAQs. Get GCSE and A level support today!",

src/app/components/pages/TutorFeatures.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const TutorFeatures = () => {
2121
</Row>
2222
<Row className="mb-3">
2323
<Col md={isDisabled ? 6 : undefined}>
24-
<p className="subtitle">Isaac Physics provides you with a huge range of resources to support your tutoring of Physics, Maths and Chemistry.</p>
24+
<p className="subtitle">Isaac Science provides you with a huge range of resources to support your tutoring of Physics, Maths, Chemistry and Biology.</p>
2525
</Col>
2626
{isDisabled && <Col md={6} className="text-center text-md-end">
2727
<Button tag={Link} size="lg" color="secondary" to={isLoggedIn(user) ? "/tutor_account_request" : "/register"}>

src/app/components/site/phy/HeaderPhy.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export const HeaderPhy = () => {
3030
<Col className="d-flex justify-content-between py-3">
3131
<div className="header-logo align-content-center">
3232
<Link to="/">
33-
<img src="/assets/phy/logo.svg" alt="Isaac Physics" className="d-none d-sm-block d-print-block"/>
34-
<img src="/assets/phy/logo-small.svg" alt="Isaac Physics" className="d-block d-sm-none d-print-none"/>
33+
<img src="/assets/phy/logo.svg" alt="The Isaac Science logo; a green hexagon with the word &apos;Isaac&apos; overlaid in white text." className="d-none d-sm-block d-print-block"/>
34+
<img src="/assets/phy/logo-small.svg" alt="The Isaac Science logo; a green hexagon with the word &apos;Isaac&apos; overlaid in white text." className="d-block d-sm-none d-print-none"/>
3535
</Link>
3636
</div>
3737

@@ -69,7 +69,7 @@ export const HeaderPhy = () => {
6969
</div>
7070
}>
7171
<Link to="/">
72-
<img src="/assets/phy/logo-small.svg" alt="Isaac Physics" className="d-block"/>
72+
<img src="/assets/phy/logo-small.svg" alt="The Isaac Science logo; a green hexagon with the word &apos;Isaac&apos; overlaid in white text." className="d-block"/>
7373
</Link>
7474
</OffcanvasHeader>
7575
<OffcanvasBody>

src/app/services/passwordStrength.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ function calculatePasswordStrength(password: string, additionalTerms?: string[])
4444
"Ada Computer", "Ada CS", "AdaCS", "ACS",
4545
"Ada Lovelace", "AdaLovelace", "Charles Babbage", "CharlesBabbage", "Lovelace", "Babbage",
4646
"ComputerScience", "Computer Science", "Computer", "Science", "CompSci", "Computing",
47-
"Isaac Physics", "Isaac Chemistry", "Isaac Maths", "IsaacPhysics", "IsaacChemistry", "IsaacMaths",
48-
"Physics", "Chemistry", "Maths", "Biology", "Phy", "Phys", "Math", "Mathematics", "Physical",
49-
"isaacphysics.org", "isaacchemistry.org", "isaacmaths.org", "isaacbiology.org",
47+
"Isaac Science", "Isaac Physics", "Isaac Chemistry", "Isaac Maths", "Isaac Biology",
48+
"IsaacScience", "IsaacPhysics", "IsaacChemistry", "IsaacMaths", "IsaacBiology",
49+
"Science", "Physics", "Chemistry", "Maths", "Biology", "Phy", "Phys", "Math", "Mathematics", "Physical",
50+
"isaacscience.org", "isaacphysics.org", "isaacchemistry.org", "isaacmaths.org", "isaacbiology.org",
5051
"Quantum", "Relativity", "Pi", "Newton", "Apple", "Hexagon",
5152
"Cambridge", "University", "Raspberry Pi", "Raspberry",
5253
"A Level", "ALevel", "A-Level", "Homework", "Classroom", "School", "College", "Lesson", "Revision",

src/app/services/siteConstants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const isAda = SITE_SUBJECT === SITE.ADA;
1111
// Picks between two arguments based on whether the site is Physics or Ada
1212
export const siteSpecific = <P, C>(phy: P, ada: C): P | C => isPhy ? phy : ada;
1313

14-
export const SITE_TITLE = siteSpecific("Isaac Physics", "Ada Computer Science");
14+
export const SITE_TITLE = siteSpecific("Isaac Science", "Ada Computer Science");
1515
export const SITE_TITLE_SHORT = siteSpecific("Isaac", "Ada");
1616

1717
export const WEBMASTER_EMAIL = siteSpecific("webmaster@isaacphysics.org", "webmaster@adacomputerscience.org");

src/app/services/subject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {TAG_ID} from "./";
22

33
let id;
4-
if (["localhost:8000", "localhost:8004"].includes(document.location.host) || document.location.host.includes("isaacphysics")) {
4+
if (["localhost:8000", "localhost:8004"].includes(document.location.host) || document.location.host.includes("isaacphysics") || document.location.host.includes("isaacscience")) {
55
id = TAG_ID.physics;
66
} else if (document.location.host == "localhost:8001" || document.location.host.includes("isaacchemistry")) {
77
id = TAG_ID.chemistry;

0 commit comments

Comments
 (0)