Skip to content

Commit 0480ae9

Browse files
authored
Merge pull request #69 from 7th-heaven-co/HEAVB-17, HEAVB-18, HEAVB-19, HEAVB-23
feat: HEAVB-17, HEAVB-18, HEAVB-19, HEAVB-23
2 parents 0e270ee + c6668a7 commit 0480ae9

File tree

11 files changed

+134
-21
lines changed

11 files changed

+134
-21
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "1.3.0",
55
"scripts": {
66
"sass": "sass src/styles/global.scss public/styles/global.css --no-source-map",
7-
"dev-sass": "npx sass --watch src/styles/global.scss:public/styles/global.css",
7+
"dev:sass": "npx sass --watch src/styles/global.scss:public/styles/global.css",
88
"dev": "astro dev --remote",
99
"build": "npm run sass && astro build --remote",
1010
"preview": "wrangler pages dev ./dist",
@@ -21,7 +21,8 @@
2121
"semantic-release": "semantic-release --extends ./release.config.cjs",
2222
"commit": "git commit --no-edit",
2323
"verify-map": "node scripts/verify-components-map.js",
24-
"fetch:all": "git fetch --all --prune"
24+
"fetch:all": "git fetch --all --prune",
25+
"merge:dev": "git merge dev"
2526
},
2627
"dependencies": {
2728
"@astrojs/cloudflare": "^12.2.4",

src/pages/404.astro

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
import '../styles/global.scss';
3+
import { PROFILE, SITE_DESCRIPTION, SITE_TITLE } from 'astro:env/client';
4+
import BaseHead from '../components/BaseHead.astro';
5+
import Footer from '../components/Footer.astro';
6+
import Header from '../components/Header.astro';
7+
import PgBgHome from '../components/PgBgHome.astro';
8+
import PgLoader from '../components/PgLoader.astro';
9+
import PgLoaderRadical from '../components/PgLoaderRadical.astro';
10+
---
11+
12+
<!doctype html>
13+
<html lang="en">
14+
<head>
15+
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
16+
<script is:inline type="module">
17+
import { init } from "/scripts/fade/index.js";
18+
init();
19+
</script>
20+
</head>
21+
<body id="error-404">
22+
<!-- Loader overlay -->
23+
<PgLoader />
24+
25+
<!-- Bg -->
26+
<PgBgHome />
27+
<PgLoaderRadical />
28+
29+
<!-- Home Page -->
30+
<div class="content">
31+
<Header />
32+
<div class="error-404-info">
33+
<div class="container aurora-text">
34+
<h2 class="">404</h2>
35+
<h3>Page: <span class="">Not Found</span></h3>
36+
</div>
37+
</div>
38+
<Footer />
39+
</div>
40+
</body>
41+
</html>

src/styles/_variables.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ $preload-base: #e5e9f0ff;
2424
$preload-lines: #d3cbe71a;
2525

2626
/* Font Sizes */
27+
$title-l: 172px;
28+
$title-m: 148px;
29+
$title-sm: 120px;
30+
$title-s: 96px;
31+
$title-xs: 84px;
2732
$heading-xxl: 72px;
2833
$heading-xl: 64px;
2934
$heading-l: 56px;

src/styles/blog/blog-post.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
width: 100%;
2121
max-width: 1120px;
2222
height: fit-content;
23-
text-align: justify;
23+
text-align: left;
2424
@media (max-width: $media-xs) {
2525
margin-top: 0em;
2626
}
@@ -92,6 +92,7 @@
9292
padding-right: 1em;
9393

9494
font-size: $font-ml;
95+
text-align: left;
9596

9697
hr {
9798
margin-bottom: 2em;

src/styles/general/errors.scss

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
@use '../_variables' as *;
2+
3+
#error-404 {
4+
margin: 0px;
5+
padding: 0px;
6+
}
7+
8+
#error-404 > .content > .error-404-info {
9+
10+
height: 80vh;
11+
width: 100%;
12+
display: flex;
13+
flex-direction: column;
14+
justify-content: center;
15+
align-items: center;
16+
17+
.container {
18+
height: fit-content;
19+
width: fit-content;
20+
display: flex;
21+
flex-direction: column;
22+
justify-content: center;
23+
align-items: center;
24+
padding: 50px;
25+
26+
h2 {
27+
font-size: $title-l;
28+
}
29+
30+
h3 {
31+
font-style: italic;
32+
text-decoration-line: underline !important;
33+
text-decoration-color: $color-4 !important;
34+
text-decoration-thickness: 1px;
35+
text-decoration-style: double;
36+
}
37+
38+
@media (max-width: $media-sm) {
39+
40+
h2 {
41+
font-size: $title-m;
42+
}
43+
p {
44+
height: 150px;
45+
width: 150px;
46+
}
47+
}
48+
49+
@media (max-width: $media-xs) {
50+
51+
h2 {
52+
font-size: $title-s;
53+
}
54+
p {
55+
height: 100px;
56+
width: 100px;
57+
}
58+
}
59+
}
60+
}

src/styles/general/footer/_footer-links.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ footer {
1717

1818
#navigation {
1919
font-size: $font-l;
20+
2021
}
2122

2223
#contact-email {

src/styles/general/footer/_footer-policy.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ footer {
66
font-size: $font-sm !important;
77

88
ul {
9-
margin: 0;
9+
margin: 0px 2px;
1010
padding: 0;
1111
height: 100%;
1212
display: flex;
1313
flex-direction: row;
1414
justify-content: center;
1515
align-items: center;
1616
gap: 1em;
17+
flex-wrap: wrap;
18+
1719

1820
a {
1921
color: $color-2;
@@ -25,6 +27,7 @@ footer {
2527

2628
li {
2729
text-align: center;
30+
white-space: nowrap;
2831
}
2932
}
3033
}

src/styles/general/footer/_footer.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ footer {
7171
}
7272

7373
section:nth-child(1),section:nth-child(2),section:nth-child(3) {
74-
min-height: 14em;
75-
padding: 1em 4em;
74+
min-height: 300px;
75+
padding: 28px 36px;
7676
text-align: left;
7777
}
7878

src/styles/general/icons/icons.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@
202202
*/
203203
.pixelarticons--mood-sad {
204204
display: inline-block;
205-
width: 24px;
206-
height: 24px;
205+
width: 100%;
206+
height: 100%;
207207
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M5 3h14v2H5zm0 16H3V5h2zm14 0v2H5v-2zm0 0h2V5h-2zM10 8H8v2h2zm4 0h2v2h-2zm-5 8v-2h6v2h2v-2h-2v-2H9v2H7v2z'/%3E%3C/svg%3E");
208208
background-color: currentColor;
209209
-webkit-mask-image: var(--svg);

src/styles/global.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
@use './general/bg/preloader-radical.scss';
88
@use './general/effects.scss';
99
@use './general/font.scss';
10+
@use './general/errors.scss';
1011
@use './general/icons/icons.scss';
1112
@use './general/header/_header.scss';
1213
@use './general/footer/_footer.scss';

0 commit comments

Comments
 (0)