diff --git a/content/projects/_schema.json b/content/projects/_schema.json
new file mode 100644
index 0000000..0669bef
--- /dev/null
+++ b/content/projects/_schema.json
@@ -0,0 +1,12 @@
+{
+ "urlname": "foobar",
+ "lang": "ignoreme",
+ "name": "foobar",
+ "shortDescription": "foobar",
+ "links": {
+ "website": "https://foo.bar",
+ "github": "https://foo.bar"
+ },
+ "image": "../images/test.jpg",
+ "featured": 0
+}
\ No newline at end of file
diff --git a/content/projects/else.de.json b/content/projects/else.de.json
index 0a5b1be..2994517 100644
--- a/content/projects/else.de.json
+++ b/content/projects/else.de.json
@@ -6,5 +6,6 @@
"links": {
"website": "https://schuelerzeitung-elsensee.de"
},
- "image": "../images/ELSE.png"
+ "image": "../images/ELSE.png",
+ "featured": 2
}
\ No newline at end of file
diff --git a/content/projects/else.en.json b/content/projects/else.en.json
index 7d64616..d62e539 100644
--- a/content/projects/else.en.json
+++ b/content/projects/else.en.json
@@ -6,5 +6,6 @@
"links": {
"website": "https://schuelerzeitung-elsensee.de"
},
- "image": "../images/ELSE.png"
+ "image": "../images/ELSE.png",
+ "featured": 2
}
\ No newline at end of file
diff --git a/content/projects/kevink-dev.de.json b/content/projects/kevink-dev.de.json
index 404e4bf..943bc00 100644
--- a/content/projects/kevink-dev.de.json
+++ b/content/projects/kevink-dev.de.json
@@ -8,5 +8,6 @@
"website": "https://kevink.dev",
"github": "https://github.com/Unkn0wnCat/KevinK.dev.js"
},
- "image": "../images/KevinK.dev.png"
+ "image": "../images/KevinK.dev.png",
+ "featured": 0
}
\ No newline at end of file
diff --git a/content/projects/kevink-dev.en.json b/content/projects/kevink-dev.en.json
index 9e5b1ac..abe5e32 100644
--- a/content/projects/kevink-dev.en.json
+++ b/content/projects/kevink-dev.en.json
@@ -8,5 +8,6 @@
"website": "https://kevink.dev",
"github": "https://github.com/Unkn0wnCat/KevinK.dev.js"
},
- "image": "../images/KevinK.dev.png"
+ "image": "../images/KevinK.dev.png",
+ "featured": 0
}
\ No newline at end of file
diff --git a/content/projects/kreig.de.json b/content/projects/kreig.de.json
index fe75388..576b3c4 100644
--- a/content/projects/kreig.de.json
+++ b/content/projects/kreig.de.json
@@ -7,5 +7,6 @@
"links": {
"website": "https://kreig.de"
},
- "image": "../images/KREIG.de.jpg"
+ "image": "../images/KREIG.de.jpg",
+ "featured": 1
}
\ No newline at end of file
diff --git a/content/projects/kreig.en.json b/content/projects/kreig.en.json
index 3b84251..b1030b4 100644
--- a/content/projects/kreig.en.json
+++ b/content/projects/kreig.en.json
@@ -7,5 +7,6 @@
"links": {
"website": "https://kreig.de"
},
- "image": "../images/KREIG.de.jpg"
+ "image": "../images/KREIG.de.jpg",
+ "featured": 1
}
\ No newline at end of file
diff --git a/gatsby-node.js b/gatsby-node.js
index 4f79f4a..8e52344 100644
--- a/gatsby-node.js
+++ b/gatsby-node.js
@@ -25,7 +25,7 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
result.data.allProjectsJson.nodes.forEach((node) => {
console.log("Creating Page: ", `/${node.lang}/projects/${node.urlname}`);
- createPage({
+ if(node.lang !== "ignoreme") createPage({
path: `/${node.lang}/projects/${node.urlname}`,
component: projectTemplate,
context: {
diff --git a/locales/de/translation.json b/locales/de/translation.json
index b90beb8..a27edd4 100644
--- a/locales/de/translation.json
+++ b/locales/de/translation.json
@@ -29,5 +29,7 @@
"donateThanksText": "Ich finde es schön, dass du meine Arbeit schön findest und das zeigst! Sende mir gerne eine E-Mail an <1>{{contactEmail}}1> wenn du mit mir über irgendwas reden möchtest!",
"donateThanks": "Danke für die Spende!",
"donateDescription": "Hey! Es sieht so aus als würdest du über eine Spende nachdenken. Das ist nett! Wenn du ein bestimmtes Projekt unterstützen willst, schreibe deine Wünsche gerne in den Spendenkommentar.",
- "donate": "Spenden"
+ "donate": "Spenden",
+ "featuredProjects": "Vorgestellte Projekte",
+ "seeMore": "Mehr erkunden"
}
diff --git a/locales/en/translation.json b/locales/en/translation.json
index acd5a0f..b56e204 100644
--- a/locales/en/translation.json
+++ b/locales/en/translation.json
@@ -29,5 +29,7 @@
"donate": "Donate",
"donateDescription": "Hey! It looks like you're thinking about donating to me. That's nice of you! If you want your donation to go towards a specific project, feel free to write your wishes into the donation comment.",
"donateThanks": "Thanks for donating!",
- "donateThanksText": "I really appreciate you appreciating my work and showing it! Feel free to mail me at <1>{{contactEmail}}1> if you have anything you want to talk about!"
+ "donateThanksText": "I really appreciate you appreciating my work and showing it! Feel free to mail me at <1>{{contactEmail}}1> if you have anything you want to talk about!",
+ "featuredProjects": "Featured Projects",
+ "seeMore": "See more"
}
diff --git a/src/_mixins.scss b/src/_mixins.scss
index 860163f..539e820 100644
--- a/src/_mixins.scss
+++ b/src/_mixins.scss
@@ -8,8 +8,6 @@
}
@mixin cardGeneric {
- max-width: 300px;
- width: 100%;
border-radius: 5px;
overflow: hidden;
box-shadow: -1px 11px 33px -10px rgba(127,127,127,0.3);
@@ -21,7 +19,7 @@
&:hover, &:active, &:focus {
transform: scale(1.05);
- box-shadow: -1px 11px 33px -10px rgba(127,127,127,0.4);
+ box-shadow: -1px 11px 33px -10px rgba(127,127,127,0.2), -1px 11px 33px -10px rgba($accentColor, .75);
}
}
@@ -32,6 +30,12 @@
background: $accentColor;
color: white;
text-decoration: none;
+ box-shadow: 0 0 33px -10px rgba($accentColor, .5);
+ transition: box-shadow .25s;
+
+ &:hover, &:active, &:hover {
+ box-shadow: 0 0 33px -10px rgba($accentColor, .9);
+ }
}
@mixin button {
@@ -40,7 +44,7 @@
}
@mixin homeBanner {
- background: #10141e;
+ background: lighten($background, 1);
cursor: pointer;
display: block;
text-decoration: none;
@@ -62,7 +66,7 @@
margin-left: auto;
margin-right: auto;
- > i {
+ > i, > i::before {
line-height: 50px !important;
}
}
diff --git a/src/_variables.scss b/src/_variables.scss
index 051ee50..fdf04de 100644
--- a/src/_variables.scss
+++ b/src/_variables.scss
@@ -1,6 +1,7 @@
-$layoutWidth: 900px;
+$layoutWidth: 1200px;
$accentColor: #e5502b;
-$background: #0d0d0d;
+$background: #070707;
$textColor: white;
+$layoutPadding: 20px;
$mainFont: 'Anonymous Pro', monospace;
\ No newline at end of file
diff --git a/src/layouts/default.js b/src/layouts/default.js
index 6c239b1..f5f3fae 100644
--- a/src/layouts/default.js
+++ b/src/layouts/default.js
@@ -12,7 +12,7 @@ class Layout extends React.Component {
return (
<>