Skip to content

Commit 3585344

Browse files
author
Tien Do Nam
committed
feat: redesign
1 parent e7b80ed commit 3585344

63 files changed

Lines changed: 4994 additions & 3800 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/app.vue

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
<template>
32
<NuxtLayout>
43
<NuxtPage />
@@ -15,25 +14,3 @@ useHead({
1514
]
1615
})
1716
</script>
18-
19-
<style>
20-
.page-enter-active,
21-
.page-leave-active {
22-
transition: all 0.2s;
23-
}
24-
25-
.page-enter-from {
26-
opacity: 0;
27-
transform: translate(20px, 0);
28-
}
29-
30-
.page-leave-to {
31-
opacity: 0;
32-
transform: translate(-20px, 0);
33-
}
34-
35-
body {
36-
/* disable horizontal scrolling */
37-
overflow-x: hidden;
38-
}
39-
</style>

app/assets/css/fonts.css

Lines changed: 49 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,72 @@
1-
/* Geist Font - Self-hosted for better accessibility */
2-
/* Original: https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap */
1+
/* Inter Font - Self-hosted for better accessibility */
2+
/* Original: https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap */
3+
4+
/* cyrillic-ext */
5+
@font-face {
6+
font-family: 'Inter';
7+
font-style: normal;
8+
font-weight: 100 900;
9+
font-display: swap;
10+
src: url(/fonts/inter-cyrillic-ext.woff2) format('woff2');
11+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
12+
}
313

414
/* cyrillic */
515
@font-face {
6-
font-family: 'Geist';
16+
font-family: 'Inter';
717
font-style: normal;
818
font-weight: 100 900;
919
font-display: swap;
10-
src: url(/fonts/geist-cyrillic.woff2) format('woff2');
20+
src: url(/fonts/inter-cyrillic.woff2) format('woff2');
1121
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
1222
}
1323

24+
/* greek-ext */
25+
@font-face {
26+
font-family: 'Inter';
27+
font-style: normal;
28+
font-weight: 100 900;
29+
font-display: swap;
30+
src: url(/fonts/inter-greek-ext.woff2) format('woff2');
31+
unicode-range: U+1F00-1FFF;
32+
}
33+
34+
/* greek */
35+
@font-face {
36+
font-family: 'Inter';
37+
font-style: normal;
38+
font-weight: 100 900;
39+
font-display: swap;
40+
src: url(/fonts/inter-greek.woff2) format('woff2');
41+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
42+
}
43+
44+
/* vietnamese */
45+
@font-face {
46+
font-family: 'Inter';
47+
font-style: normal;
48+
font-weight: 100 900;
49+
font-display: swap;
50+
src: url(/fonts/inter-vietnamese.woff2) format('woff2');
51+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
52+
}
53+
1454
/* latin-ext */
1555
@font-face {
16-
font-family: 'Geist';
56+
font-family: 'Inter';
1757
font-style: normal;
1858
font-weight: 100 900;
1959
font-display: swap;
20-
src: url(/fonts/geist-latin-ext.woff2) format('woff2');
60+
src: url(/fonts/inter-latin-ext.woff2) format('woff2');
2161
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
2262
}
2363

2464
/* latin */
2565
@font-face {
26-
font-family: 'Geist';
66+
font-family: 'Inter';
2767
font-style: normal;
2868
font-weight: 100 900;
2969
font-display: swap;
30-
src: url(/fonts/geist-latin.woff2) format('woff2');
70+
src: url(/fonts/inter-latin.woff2) format('woff2');
3171
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
32-
}
72+
}

0 commit comments

Comments
 (0)