Skip to content

Commit

Permalink
added Inter font and intro image
Browse files Browse the repository at this point in the history
  • Loading branch information
dannycoates committed Feb 14, 2019
1 parent 4d8f27e commit 2a8a8ab
Show file tree
Hide file tree
Showing 44 changed files with 146 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/ui/intro.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = function intro(state) {
<p class="max-w-sm font-light leading-normal">
${state.translate('uploadPageExplainer')}
</p>
<img class="my-6" src="${assets.get('illustration_download.svg')}" />
<img class="-mb-12" src="${assets.get('intro.png')}" />
</div>
</send-intro>
`;
Expand Down
Binary file added assets/intro.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 added public/Inter-Black.woff
Binary file not shown.
Binary file added public/Inter-Black.woff2
Binary file not shown.
Binary file added public/Inter-BlackItalic.woff
Binary file not shown.
Binary file added public/Inter-BlackItalic.woff2
Binary file not shown.
Binary file added public/Inter-Bold.woff
Binary file not shown.
Binary file added public/Inter-Bold.woff2
Binary file not shown.
Binary file added public/Inter-BoldItalic.woff
Binary file not shown.
Binary file added public/Inter-BoldItalic.woff2
Binary file not shown.
Binary file added public/Inter-ExtraBold.woff
Binary file not shown.
Binary file added public/Inter-ExtraBold.woff2
Binary file not shown.
Binary file added public/Inter-ExtraBoldItalic.woff
Binary file not shown.
Binary file added public/Inter-ExtraBoldItalic.woff2
Binary file not shown.
Binary file added public/Inter-ExtraLight-BETA.woff
Binary file not shown.
Binary file added public/Inter-ExtraLight-BETA.woff2
Binary file not shown.
Binary file added public/Inter-ExtraLightItalic-BETA.woff
Binary file not shown.
Binary file added public/Inter-ExtraLightItalic-BETA.woff2
Binary file not shown.
Binary file added public/Inter-Italic.woff
Binary file not shown.
Binary file added public/Inter-Italic.woff2
Binary file not shown.
Binary file added public/Inter-Light-BETA.woff
Binary file not shown.
Binary file added public/Inter-Light-BETA.woff2
Binary file not shown.
Binary file added public/Inter-LightItalic-BETA.woff
Binary file not shown.
Binary file added public/Inter-LightItalic-BETA.woff2
Binary file not shown.
Binary file added public/Inter-Medium.woff
Binary file not shown.
Binary file added public/Inter-Medium.woff2
Binary file not shown.
Binary file added public/Inter-MediumItalic.woff
Binary file not shown.
Binary file added public/Inter-MediumItalic.woff2
Binary file not shown.
Binary file added public/Inter-Regular.woff
Binary file not shown.
Binary file added public/Inter-Regular.woff2
Binary file not shown.
Binary file added public/Inter-SemiBold.woff
Binary file not shown.
Binary file added public/Inter-SemiBold.woff2
Binary file not shown.
Binary file added public/Inter-SemiBoldItalic.woff
Binary file not shown.
Binary file added public/Inter-SemiBoldItalic.woff2
Binary file not shown.
Binary file added public/Inter-Thin-BETA.woff
Binary file not shown.
Binary file added public/Inter-Thin-BETA.woff2
Binary file not shown.
Binary file added public/Inter-ThinItalic-BETA.woff
Binary file not shown.
Binary file added public/Inter-ThinItalic-BETA.woff2
Binary file not shown.
Binary file added public/Inter-italic.var.woff2
Binary file not shown.
Binary file added public/Inter-upright.var.woff2
Binary file not shown.
Binary file added public/Inter.var.woff2
Binary file not shown.
143 changes: 143 additions & 0 deletions public/inter.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 100;
src: url('Inter-Thin.woff2') format('woff2'),
url('Inter-Thin.woff') format('woff');
}

@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 100;
src: url('Inter-ThinItalic.woff2') format('woff2'),
url('Inter-ThinItalic.woff') format('woff');
}

@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 200;
src: url('Inter-ExtraLight.woff2') format('woff2'),
url('Inter-ExtraLight.woff') format('woff');
}

@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 200;
src: url('Inter-ExtraLightItalic.woff2') format('woff2'),
url('Inter-ExtraLightItalic.woff') format('woff');
}

@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 300;
src: url('Inter-Light.woff2') format('woff2'),
url('Inter-Light.woff') format('woff');
}

@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 300;
src: url('Inter-LightItalic.woff2') format('woff2'),
url('Inter-LightItalic.woff') format('woff');
}

@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
src: url('Inter-Regular.woff2') format('woff2'),
url('Inter-Regular.woff') format('woff');
}

@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 400;
src: url('Inter-Italic.woff2') format('woff2'),
url('Inter-Italic.woff') format('woff');
}

@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 500;
src: url('Inter-Medium.woff2') format('woff2'),
url('Inter-Medium.woff') format('woff');
}

@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 500;
src: url('Inter-MediumItalic.woff2') format('woff2'),
url('Inter-MediumItalic.woff') format('woff');
}

@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 600;
src: url('Inter-SemiBold.woff2') format('woff2'),
url('Inter-SemiBold.woff') format('woff');
}

@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 600;
src: url('Inter-SemiBoldItalic.woff2') format('woff2'),
url('Inter-SemiBoldItalic.woff') format('woff');
}

@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 700;
src: url('Inter-Bold.woff2') format('woff2'),
url('Inter-Bold.woff') format('woff');
}

@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 700;
src: url('Inter-BoldItalic.woff2') format('woff2'),
url('Inter-BoldItalic.woff') format('woff');
}

@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 800;
src: url('Inter-ExtraBold.woff2') format('woff2'),
url('Inter-ExtraBold.woff') format('woff');
}

@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 800;
src: url('Inter-ExtraBoldItalic.woff2') format('woff2'),
url('Inter-ExtraBoldItalic.woff') format('woff');
}

@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 900;
src: url('Inter-Black.woff2') format('woff2'),
url('Inter-Black.woff') format('woff');
}

@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 900;
src: url('Inter-BlackItalic.woff2') format('woff2'),
url('Inter-BlackItalic.woff') format('woff');
}
2 changes: 1 addition & 1 deletion server/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = function(state, body = '') {
<link rel="manifest" href="/app.webmanifest" />
<title>${state.title}</title>
<link rel="stylesheet" type="text/css" href="/inter.css" />
<link
rel="stylesheet"
type="text/css"
Expand Down
1 change: 1 addition & 0 deletions tailwind.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ module.exports = {

fonts: {
sans: [
'Inter',
'system-ui',
'BlinkMacSystemFont',
'-apple-system',
Expand Down

0 comments on commit 2a8a8ab

Please sign in to comment.