Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: swap in Footer component from @frequency-chain/style-guide #43

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
with:
node-version: 20
cache: 'npm'

- name: Install Dependencies
run: npm ci

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
cache: npm

- name: Install dependencies
run: npm install
run: npm ci

- name: Build
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
cache: npm

- name: Install dependencies
run: npm install
run: npm ci

- name: Build
env:
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 20.10.0
nodejs 20.18.0
6 changes: 3 additions & 3 deletions package-lock.json

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

11 changes: 0 additions & 11 deletions src/components/Footer.svelte

This file was deleted.

2 changes: 1 addition & 1 deletion src/routes/(home)/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
import Footer from '../../components/Footer.svelte';
import { Footer } from '@frequency-chain/style-guide';
import GetNotified from '../../components/GetNotified/GetNotified.svelte';
import SideTag from '../../components/SideTag.svelte';
</script>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/docs/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import Header from '../../components/Header/Header.svelte';
import Footer from '../../components/Footer.svelte';
import { Footer } from '@frequency-chain/style-guide';
const logoHex = '#5E69FF';
const navColor = 'navy';
Expand Down
2 changes: 1 addition & 1 deletion src/routes/privacy/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import Header from '../../components/Header/Header.svelte';
import Footer from '../../components/Footer.svelte';
import { Footer } from '@frequency-chain/style-guide';
const logoHex = '#5E69FF';
const navColor = 'navy';
Expand Down
62 changes: 32 additions & 30 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,39 @@ import frequencyConfig from '@frequency-chain/style-guide/tailwind.config';
import { MAX_PAGE_WIDTH } from './src/lib/consts';

export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
content: ['./src/**/*.{html,js,svelte,ts}', './node_modules/@frequency-chain/style-guide/**/*.{html,js,svelte,ts}'],
theme: {
fontFamily: {
title: ['Newake', 'sans-serif'],
sans: ['Poppins', 'sans-serif'],
},
colors: {
darkIndigo: '#445BC3',
tealBright: '#00B6AF',
},
width: {
page: `${MAX_PAGE_WIDTH}px`,
full: '100%',
},
maxWidth: {
page: `${MAX_PAGE_WIDTH}px`,
full: '100%',
},
minWidth: {
page: `${MAX_PAGE_WIDTH}px`,
full: '100%',
},
screens: {
sm: '0px',
md: '900px',
lg: '1300px',
xl: `${MAX_PAGE_WIDTH}px`,
'vertical-lg': { raw: '(max-height: 700px) and (min-width: 1300px)' },
'vertical-md': { raw: '(max-height: 700px) and (min-width: 900px)' },
vertical: { raw: '(max-height: 700px) or (min-width: 0px)' },
horizontal: { raw: '(min-height: 700px) and (min-width: 1300px)' },
extend: {
fontFamily: {
title: ['Newake', 'sans-serif'],
sans: ['Poppins', 'sans-serif'],
},
colors: {
darkIndigo: '#445BC3',
tealBright: '#00B6AF',
},
width: {
page: `${MAX_PAGE_WIDTH}px`,
full: '100%',
},
maxWidth: {
page: `${MAX_PAGE_WIDTH}px`,
full: '100%',
},
minWidth: {
page: `${MAX_PAGE_WIDTH}px`,
full: '100%',
},
screens: {
sm: '0px',
md: '900px',
lg: '1300px',
xl: `${MAX_PAGE_WIDTH}px`,
'vertical-lg': { raw: '(max-height: 700px) and (min-width: 1300px)' },
'vertical-md': { raw: '(max-height: 700px) and (min-width: 900px)' },
vertical: { raw: '(max-height: 700px) or (min-width: 0px)' },
horizontal: { raw: '(min-height: 700px) and (min-width: 1300px)' },
},
},
},
safelist: ['after:bg-navy', 'after:bg-cream', 'invalid:border-red'],
Expand Down
Loading