Skip to content

Commit 771672f

Browse files
authored
Merge pull request #217 from openscript-ch/200-rebrand-quassel-to-lemon
200 rebrand quassel to lemon
2 parents d15034c + e220f2a commit 771672f

File tree

15 files changed

+109
-59
lines changed

15 files changed

+109
-59
lines changed

.changeset/loud-parents-press.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"@quassel/frontend": patch
3+
"@quassel/backend": patch
4+
"@quassel/mockup": patch
5+
"@quassel/ui": patch
6+
---
7+
8+
Rebrand quassel to LEMON

apps/backend/db/seeds/DatabaseSeeder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ export class DatabaseSeeder extends Seeder {
1818
{
1919
role: UserRole.ADMIN,
2020
email: "admin@example.com",
21-
password: await getPasswordHash("Quassel*1234"),
21+
password: await getPasswordHash("Lemon*1234"),
2222
},
2323
{
2424
role: UserRole.ASSISTANT,
2525
email: "assistant@example.com",
26-
password: await getPasswordHash("Quassel*1234"),
26+
password: await getPasswordHash("Lemon*1234"),
2727
},
2828
];
2929

apps/frontend/index.html

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,36 @@
11
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>Quassel</title>
7-
<link rel="icon" href="/favicon.ico" />
8-
<style>
9-
html {
10-
height: 100%;
11-
}
123

13-
body {
14-
margin: 0;
15-
padding: 0;
16-
min-height: 100%;
17-
}
4+
<head>
5+
<meta charset="UTF-8" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Lemon</title>
8+
<link rel="icon" href="/favicon.ico" />
9+
<style>
10+
html {
11+
height: 100%;
12+
}
1813

19-
#root {
20-
min-height: 100%;
21-
}
22-
</style>
23-
<script type="text/javascript">
24-
window.env = {
25-
apiUrl: '//REPLACE_WITH_API_URL'
26-
};
27-
</script>
28-
</head>
29-
<body>
30-
<div id="root"></div>
31-
<script type="module" src="/src/main.tsx"></script>
32-
</body>
33-
</html>
14+
body {
15+
margin: 0;
16+
padding: 0;
17+
min-height: 100%;
18+
}
19+
20+
#root {
21+
min-height: 100%;
22+
}
23+
</style>
24+
<script type="text/javascript">
25+
window.env = {
26+
apiUrl: '//REPLACE_WITH_API_URL'
27+
};
28+
</script>
29+
</head>
30+
31+
<body>
32+
<div id="root"></div>
33+
<script type="module" src="/src/main.tsx"></script>
34+
</body>
35+
36+
</html>

apps/frontend/src/routes/__root.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import {
1515
IconCalendarWeek,
1616
IconMapSearch,
1717
Divider,
18+
FooterLogos,
1819
} from "@quassel/ui";
1920
import { createRootRouteWithContext, Link, Outlet, useNavigate } from "@tanstack/react-router";
2021
import { version } from "../../package.json";
@@ -48,7 +49,7 @@ function Root() {
4849
return (
4950
<>
5051
<AppShell
51-
header={{ height: 118 }}
52+
header={{ height: 104 }}
5253
footer={{ height: 84 }}
5354
navbar={{ width: 300, breakpoint: "sm", collapsed: { desktop: !layoutStore.admin } }}
5455
padding="xl"
@@ -62,7 +63,7 @@ function Root() {
6263
{sessionStore.email && (
6364
<Group>
6465
<Text>{sessionStore.email}</Text>
65-
<Button leftSection={<IconLogout />} onClick={handleSignOut}>
66+
<Button variant="outline" leftSection={<IconLogout />} onClick={handleSignOut}>
6667
Sign out
6768
</Button>
6869
</Group>
@@ -90,10 +91,16 @@ function Root() {
9091
<NavLink component={Link} to="/administration/users" leftSection={<IconUsers />} label="Users" />
9192
</AppShell.Navbar>
9293
)}
94+
9395
<AppShell.Main>
9496
<Outlet />
9597
</AppShell.Main>
96-
<AppShell.Footer>Version {version}</AppShell.Footer>
98+
<AppShell.Footer>
99+
<Group justify="space-between">
100+
<FooterLogos />
101+
Version {version}
102+
</Group>
103+
</AppShell.Footer>
97104
</AppShell>
98105
</>
99106
);

apps/frontend/src/sections/HeroSection.module.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,11 @@
1515
font-size: rem(44px);
1616
line-height: 1.2;
1717
font-weight: 900;
18-
19-
}
20-
21-
.control {
2218
}
2319

2420
.highlight {
2521
position: relative;
26-
background-color: var(--mantine-color-blue-light);
22+
background-color: var(--mantine-primary-color-light);
2723
border-radius: var(--mantine-radius-sm);
2824
padding: rem(4px) rem(12px);
2925
}

apps/frontend/src/sections/HeroSection.svg

Lines changed: 1 addition & 1 deletion
Loading

apps/frontend/src/sections/HeroSection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { useStore } from "@nanostores/react";
66
import { Link } from "@tanstack/react-router";
77

88
const messages = i18n("heroSection", {
9-
title: "Quassel",
9+
title: "LEMON",
1010
subtitle: "Gather language exposure",
1111
toFormAction: "Questionnaire",
1212
toAdminAction: "Administration",
@@ -22,7 +22,7 @@ export function HeroSection() {
2222
<span className={classes.highlight}>{t.title}</span>
2323
</Title>
2424
<Text c="dimmed" mt="md">
25-
{t.subtitle}
25+
<b>L</b>anguage <b>E</b>xposure questionnaire for <b>M</b>ultilinguals <b>On</b>line
2626
</Text>
2727

2828
<Group mt={30}>
@@ -34,7 +34,7 @@ export function HeroSection() {
3434
</Button>
3535
</Group>
3636
</div>
37-
<img src={image} alt="Quassel family" className={classes.image} />
37+
<img src={image} alt="Lemon family" className={classes.image} />
3838
</div>
3939
</Container>
4040
);
180 KB
Loading

libs/ui/src/assets/Logo.svg

Lines changed: 12 additions & 0 deletions
Loading
File renamed without changes.

0 commit comments

Comments
 (0)