Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 24 additions & 36 deletions src/_includes/bio.njk
Original file line number Diff line number Diff line change
@@ -1,39 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% set seoBioDescription = bio
and (bio
| replace('\r', ' ')
| replace('\n', ' ')
| replace('\t', ' ')
| replace('"', "'")
| trim
| truncate(160))
or "" %}
{% set seo = {
title: name + " | " + role + " | NextCommunity",
description: (seoBioDescription or ("Explore " + name + "'s developer profile, skills, and social links on NextCommunity.")),
keywords: "developer profile, " + name + ", " + role + ", github profile, software developer portfolio",
type: "profile",
image: site.defaultImage,
person: {
name: name,
role: role,
github: github,
linkedin: linkedin
}
} %}
{% include "seo-meta.njk" %}
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="/assets/css/style.css">
</head>
<body class="min-h-screen scroll-smooth bg-[var(--bg-page)] text-[var(--text-main)] transition-colors duration-300">

{% include "github-ribbon.njk" %}

{% include "header.njk" %}
{% set seoBioDescription = bio
and (bio
| replace('\r', ' ')
| replace('\n', ' ')
| replace('\t', ' ')
| replace('"', "'")
| trim
| truncate(160))
or "" %}
{% set seo = {
title: name + " | " + role + " | NextCommunity",
description: (seoBioDescription or ("Explore " + name + "'s developer profile, skills, and social links on NextCommunity.")),
keywords: "developer profile, " + name + ", " + role + ", github profile, software developer portfolio",
type: "profile",
image: site.defaultImage,
person: {
name: name,
role: role,
github: github,
linkedin: linkedin
}
} %}
{% set useTailwindCdn = true %}
{% include "page-header.njk" %}

<main class="max-w-5xl mx-auto px-4 py-12">
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
Expand Down
18 changes: 18 additions & 0 deletions src/_includes/page-header.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% include "seo-meta.njk" %}
{% if useTailwindCdn %}
<script src="https://cdn.tailwindcss.com"></script>
{% else %}
<link rel="stylesheet" href="/assets/css/tailwind.css">
{% endif %}
<link rel="stylesheet" href="/assets/css/style.css">
</head>
<body class="min-h-screen scroll-smooth bg-[var(--bg-page)] text-[var(--text-main)] transition-colors duration-300">

{% include "github-ribbon.njk" %}

{% include "header.njk" %}
30 changes: 9 additions & 21 deletions src/games.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,15 @@
layout: false
permalink: /games/
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% set seo = {
title: "Developer Arcade | Coding Games, XP, and Achievements",
description: "Play coding mini-games, earn XP, and unlock achievements in the NextCommunity Developer Arcade.",
keywords: "developer games, coding arcade, programming mini games, developer xp, gamified coding",
type: "website",
image: "/assets/img/next.jpeg"
} %}
{% include "seo-meta.njk" %}
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="/assets/css/style.css">
</head>
<body class="min-h-screen scroll-smooth bg-[var(--bg-page)] text-[var(--text-main)] transition-colors duration-300">

{% include "github-ribbon.njk" %}

{% include "header.njk" %}
{% set seo = {
title: "Developer Arcade | Coding Games, XP, and Achievements",
description: "Play coding mini-games, earn XP, and unlock achievements in the NextCommunity Developer Arcade.",
keywords: "developer games, coding arcade, programming mini games, developer xp, gamified coding",
type: "website",
image: "/assets/img/next.jpeg"
} %}
{% set useTailwindCdn = true %}
{% include "page-header.njk" %}

<main class="max-w-5xl mx-auto px-4 py-12">

Expand Down
29 changes: 8 additions & 21 deletions src/index.njk
Original file line number Diff line number Diff line change
@@ -1,27 +1,14 @@
---
layout: false
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% set seo = {
title: "NextCommunity Developer Directory | Discover Open-Source Talent",
description: "Explore developer profiles from around the world, discover skills, and connect with open-source contributors in the NextCommunity directory.",
keywords: "developer directory, open source developers, software engineers, github developers, developer community, global tech talent",
type: "website",
image: "/assets/img/next.jpeg"
} %}
{% include "seo-meta.njk" %}
<link rel="stylesheet" href="/assets/css/tailwind.css">
<link rel="stylesheet" href="/assets/css/style.css">
</head>
<body class="min-h-screen scroll-smooth bg-[var(--bg-page)] text-[var(--text-main)] transition-colors duration-300">

{% include "github-ribbon.njk" %}

{% include "header.njk" %}
{% set seo = {
title: "NextCommunity Developer Directory | Discover Open-Source Talent",
description: "Explore developer profiles from around the world, discover skills, and connect with open-source contributors in the NextCommunity directory.",
keywords: "developer directory, open source developers, software engineers, github developers, developer community, global tech talent",
type: "website",
image: "/assets/img/next.jpeg"
} %}
{% include "page-header.njk" %}

<main class="max-w-7xl mx-auto px-4 py-12">
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
Expand Down
Loading