File tree Expand file tree Collapse file tree 22 files changed +118
-108
lines changed Expand file tree Collapse file tree 22 files changed +118
-108
lines changed Original file line number Diff line number Diff line change 1
1
import { defineConfig } from 'astro/config' ;
2
- import Unfonts from 'unplugin-fonts/astro'
3
2
4
3
// https://astro.build/config
5
- export default defineConfig ( {
6
- integrations : [
7
- Unfonts ( {
8
- google : {
9
- families : [
10
- 'Cabin' ,
11
- {
12
- name : 'Open Sans' ,
13
- styles : 'wght@300;400' ,
14
- } ,
15
- ] ,
16
- } ,
17
- } )
18
- ]
19
- } ) ;
4
+ export default defineConfig ( { } ) ;
Original file line number Diff line number Diff line change 36
36
"simplebar" : " 6.2.5"
37
37
},
38
38
"devDependencies" : {
39
+ "@fontsource-variable/cabin" : " ^5.0.9" ,
40
+ "@fontsource-variable/open-sans" : " ^5.0.13" ,
39
41
"autoprefixer" : " 10.4.15" ,
40
42
"npm-run-all" : " 4.1.5" ,
41
43
"unplugin-fonts" : " ^1.0.3"
Original file line number Diff line number Diff line change 65
65
</div >
66
66
</div >
67
67
<!-- Copyright -->
68
- <p class =" k-copyright" >© 2018-2021 | Krypton. All Rights Reserved</p >
68
+ <p class =" k-copyright" >© 2018-2023 | Krypton. All Rights Reserved</p >
69
69
<br />
70
70
<!-- Made by -->
71
71
<p class =" coded-by" >
Original file line number Diff line number Diff line change 45
45
<div class =" navbar-end" >
46
46
<!-- Menu item -->
47
47
<div class =" navbar-item is-nav-link" >
48
- <a class =" is-centered-responsive" href =" token" >Token</a >
48
+ <a class =" is-centered-responsive" href =" / token" >Token</a >
49
49
</div >
50
50
<!-- Menu item -->
51
51
<div class =" navbar-item is-nav-link" >
52
- <a class =" is-centered-responsive" href =" ico" >Ico</a >
52
+ <a class =" is-centered-responsive" href =" / ico" >Ico</a >
53
53
</div >
54
54
<!-- Menu item -->
55
55
<div class =" navbar-item is-nav-link" >
56
- <a class =" is-centered-responsive" href =" roadmap" >Roadmap</a >
56
+ <a class =" is-centered-responsive" href =" / roadmap" >Roadmap</a >
57
57
</div >
58
58
<!-- Menu item -->
59
59
<div class =" navbar-item is-nav-link" >
60
- <a class =" is-centered-responsive" href =" blog" >Media</a >
60
+ <a class =" is-centered-responsive" href =" / blog" >Media</a >
61
61
</div >
62
62
<!-- Menu item -->
63
63
<div class =" navbar-item is-nav-link" >
64
- <a class =" is-centered-responsive" href =" #" target = " _blank " >
64
+ <a class =" is-centered-responsive" href =" #" >
65
65
<img class =" telegram" src =" /img/logo/telegram.svg" alt =" " />
66
66
Telegram
67
67
</a >
Original file line number Diff line number Diff line change 47
47
<div class =" navbar-end" >
48
48
<!-- Menu item -->
49
49
<div class =" navbar-item is-nav-link" >
50
- <a class =" is-centered-responsive" href =" token" >Token</a >
50
+ <a class =" is-centered-responsive" href =" / token" >Token</a >
51
51
</div >
52
52
<!-- Menu item -->
53
53
<div class =" navbar-item is-nav-link" >
54
- <a class =" is-centered-responsive" href =" ico" >Ico</a >
54
+ <a class =" is-centered-responsive" href =" / ico" >Ico</a >
55
55
</div >
56
56
<!-- Menu item -->
57
57
<div class =" navbar-item is-nav-link" >
58
- <a class =" is-centered-responsive" href =" roadmap" >Roadmap</a >
58
+ <a class =" is-centered-responsive" href =" / roadmap" >Roadmap</a >
59
59
</div >
60
60
<!-- Menu item -->
61
61
<div class =" navbar-item is-nav-link" >
62
- <a class =" is-centered-responsive" href =" blog" >Media</a >
62
+ <a class =" is-centered-responsive" href =" / blog" >Media</a >
63
63
</div >
64
64
<!-- Menu item -->
65
65
<div class =" navbar-item is-nav-link" >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export function initTabs() {
8
8
9
9
setupCountdown ( ) {
10
10
// Set the date we're counting down to
11
- var countDownDate = new Date ( "Oct 24, 2021 07:00:00" ) . getTime ( ) ;
11
+ var countDownDate = new Date ( ) . getTime ( ) + ( 1000 * 60 * 60 * 24 * 7 ) ; // 7 days from now
12
12
13
13
// Update the count down every 1 second
14
14
var x = setInterval ( function ( ) {
Original file line number Diff line number Diff line change 1
1
---
2
2
import { ViewTransitions } from ' astro:transitions' ;
3
- import Unfont from ' unplugin-fonts/astro/component.astro' ;
4
3
import Footer from ' ../components/Footer.astro'
5
4
import BackToTop from ' ../components/BackToTop.astro'
5
+
6
+ import ' @fontsource-variable/cabin/index.css' ;
7
+ import ' @fontsource-variable/open-sans/index.css' ;
8
+
6
9
import ' simplebar/dist/simplebar.min.css'
7
10
import ' ../styles/main.scss'
8
11
const {title} = Astro .props
@@ -12,7 +15,6 @@ const {title} = Astro.props
12
15
<html dir =" ltr" lang =" en" >
13
16
<head >
14
17
<meta charset =" UTF-8" />
15
- <Unfont />
16
18
<meta name =" viewport" content =" width=device-width, initial-scale=1.0" />
17
19
<meta http-equiv =" X-UA-Compatible" content =" ie=edge" />
18
20
<title >Krypton { ' - ' + title } </title >
Original file line number Diff line number Diff line change 1
1
---
2
2
import { ViewTransitions } from ' astro:transitions' ;
3
- import Unfont from ' unplugin-fonts/astro/component.astro' ;
4
3
import BackToTop from ' ../components/BackToTop.astro'
4
+
5
+ import ' @fontsource-variable/cabin/index.css' ;
6
+ import ' @fontsource-variable/open-sans/index.css' ;
7
+
5
8
import ' simplebar/dist/simplebar.min.css'
6
9
import ' plyr/dist/plyr.css'
7
10
import ' ../styles/main.scss'
@@ -12,7 +15,6 @@ const {title} = Astro.props
12
15
<html dir =" ltr" lang =" en" >
13
16
<head >
14
17
<meta charset =" UTF-8" />
15
- <Unfont />
16
18
<meta name =" viewport" content =" width=device-width, initial-scale=1.0" />
17
19
<meta http-equiv =" X-UA-Compatible" content =" ie=edge" />
18
20
<title >Krypton { ' - ' + title } </title >
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ const title = "Blog";
51
51
<div class =" content-wrapper" >
52
52
<!-- Post -->
53
53
<div class =" blog-post" >
54
- <a href =" blog-single" >
54
+ <a href =" / blog-single" >
55
55
<!-- Featured image -->
56
56
<div class =" featured-image" >
57
57
<img src =" /img/media/post4.svg" alt =" " />
@@ -95,7 +95,7 @@ const title = "Blog";
95
95
96
96
<!-- Post -->
97
97
<div class =" blog-post" >
98
- <a href =" blog-single" >
98
+ <a href =" / blog-single" >
99
99
<!-- Featured image -->
100
100
<div class =" featured-image" >
101
101
<img src =" /img/media/post1.svg" alt =" " />
@@ -139,7 +139,7 @@ const title = "Blog";
139
139
140
140
<!-- Post -->
141
141
<div class =" blog-post" >
142
- <a href =" blog-single" >
142
+ <a href =" / blog-single" >
143
143
<!-- Featured image -->
144
144
<div class =" featured-image" >
145
145
<img src =" /img/media/post5.svg" alt =" " />
@@ -183,7 +183,7 @@ const title = "Blog";
183
183
184
184
<!-- Post -->
185
185
<div class =" blog-post" >
186
- <a href =" blog-single" >
186
+ <a href =" / blog-single" >
187
187
<!-- Featured image -->
188
188
<div class =" featured-image" >
189
189
<img src =" /img/media/post2.svg" alt =" " />
@@ -227,7 +227,7 @@ const title = "Blog";
227
227
228
228
<!-- Post -->
229
229
<div class =" blog-post" >
230
- <a href =" blog-single" >
230
+ <a href =" / blog-single" >
231
231
<!-- Featured image -->
232
232
<div class =" featured-image" >
233
233
<img src =" /img/media/post3.svg" alt =" " />
You can’t perform that action at this time.
0 commit comments