Skip to content

Commit 46d9b3d

Browse files
authored
swap header and footer logos to new ones. git rid of old footer (#229)
## Goal The goal of this PR is to update the header and footer to match the new branding and use the SG. Closes #222
1 parent a3d7c62 commit 46d9b3d

File tree

7 files changed

+4
-156
lines changed

7 files changed

+4
-156
lines changed

src/components/Footer.svelte

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/components/Header.svelte

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
<script lang="ts">
22
import { isLoggedIn } from '$lib/stores';
3-
import FrequencyLogo from './icons/FrequencyLogo.svelte';
43
import ConnectionStatus from './ConnectionStatus.svelte';
5-
import { Button } from '@frequency-chain/style-guide';
4+
import { Button, Assets } from '@frequency-chain/style-guide';
65
</script>
76

87
<header class="mb-8 flex items-start justify-between gap-3">
98
<div>
10-
<div class="w-[180px] max-w-[180px] pb-1 pl-3 md:min-w-40">
11-
<FrequencyLogo />
12-
</div>
9+
<Assets.FrequencyLogo class="w-[180px] max-w-[180px] pb-1 pl-3 md:min-w-40" />
1310
<p class="md:text-normal pl-3 text-sm font-semibold lg:tracking-wider">Provider Dashboard</p>
1411
</div>
1512
<ConnectionStatus />

src/components/icons/DiscordLogo.svelte

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/components/icons/FrequencyLogo.svelte

Lines changed: 0 additions & 45 deletions
This file was deleted.

src/components/icons/XLogo.svelte

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/routes/+layout.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
import { logInPromise, dotApi, storeChainInfo } from '$lib/stores';
55
import { getToken } from '$lib/polkadotApi';
66
import { getBlockNumber, getEpoch } from '$lib/connections';
7-
import Footer from '$components/Footer.svelte';
7+
import { Footer } from '@frequency-chain/style-guide';
8+
89
interface Props {
910
children?: import('svelte').Snippet;
1011
}

src/style/app.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,6 @@
6262
a {
6363
@apply hover:text-teal underline transition duration-[0.3s];
6464
}
65-
66-
footer a {
67-
@apply text-black;
68-
}
69-
70-
footer svg {
71-
@apply hover:text-teal bg-white text-black transition duration-[0.3s];
72-
}
7365
}
7466
@utility break-anywhere {
7567
overflow-wrap: anywhere;

0 commit comments

Comments
 (0)