Skip to content

Commit 97426df

Browse files
committed
Refactor: Crear nuevo tema Jekyll conforme a estándares
- Unificar layouts (layout_en, layout, default) en un solo layout default.html - Eliminar layout_es.html y referencias obsoletas - Actualizar todas las páginas para usar layout: default - Refactorizar _config.yml con configuración estándar de Jekyll - Mantener colores de Coderic (orange-500, stone-800, etc.) - Conservar navegación unificada (portal.html) funcional - Asegurar compatibilidad con Tailwind CSS v4 - Mantener estructura de tema Jekyll estándar - Mejorar organización del código y configuración
1 parent 9cde110 commit 97426df

File tree

19 files changed

+142
-450
lines changed

19 files changed

+142
-450
lines changed

404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: layout_en
2+
layout: default
33
navigation: portal.html
44
title: Error 404
55
permalink: /404.html

_config.yml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,29 @@
1-
url: "https://new.coderic.org" # Maybe https://coderic.org
2-
baseurl: "" # Changed as project /blog
1+
url: "https://coderic.org"
2+
baseurl: ""
33
title: "Coderic"
44
network: ""
5+
description: "Corporation Oriented to the Strategic Development of Commercial Information Resources"
56
permalink: pretty
7+
8+
# Theme configuration
9+
theme: null
10+
11+
# Plugins
612
plugins:
7-
- jekyll-sitemap
8-
- jekyll-seo-tag
9-
- jekyll-feed
10-
- jekyll-github-metadata
13+
- jekyll-sitemap
14+
- jekyll-seo-tag
15+
- jekyll-feed
16+
- jekyll-github-metadata
17+
18+
# Sass configuration
19+
sass:
20+
style: compressed
21+
sourcemap: never
22+
23+
# Exclude files from processing
24+
exclude:
25+
- Gemfile
26+
- Gemfile.lock
27+
- README.md
28+
- LICENSE
29+
- coderic.org.gemspec

_layouts/default.html

Lines changed: 103 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,104 +1,164 @@
11
<!doctype html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<meta charset="utf-8">
5-
<title>{{ site.title }} - {{ page.title }}</title>
6-
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
<title>{{ site.title }}{% if page.title %} - {{ page.title }}{% endif %}</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
7+
<meta name="color-scheme" content="light">
78
<meta name="google-adsense-account" content="ca-pub-6690628925445882">
8-
<link rel="shortcut icon" href="https://coderic.org/favicon.ico" type="image/x-icon">
9-
<link rel="icon" type="image/svg-xml" href="https://coderic.org/favicon.svg">
9+
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
10+
<link rel="icon" type="image/svg-xml" href="/favicon.svg">
1011
<link rel="preconnect" href="https://fonts.gstatic.com">
11-
<link href="https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500&amp;display=swap" rel="stylesheet">
12-
<meta name="theme-color" content="#1976d2">
13-
<link rel="alternate" href="https://coderic.org/es/" hreflang="es">
12+
<link href="https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500;600;700&display=swap" rel="stylesheet">
13+
<meta name="theme-color" content="#f97316">
1414
<link rel="alternate" href="https://coderic.org/" hreflang="x-default">
1515
<meta name="author" content="Coderic">
1616
<meta name="title" content="Coderic">
17-
<meta name="description"
18-
content="Corporation Oriented to the Development of Engineering of Resources Information Commercial">
19-
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
20-
{% for localized_page in localized_pages %}
21-
{% unless localized_page.locale == page.locale %}
22-
<link rel="alternate" hreflang="{{ localized_page.lang }}" href="{{ site.url }}{{ site.baseurl }}{{ localized_page.url }}">
23-
{% endunless %}
24-
{% endfor %}
17+
<meta name="description" content="Corporation Oriented to the Strategic Development of Commercial Information Resources">
2518
<script src="https://unpkg.com/@tailwindcss/browser@4"></script>
19+
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
2620
<script type="application/ld+json">
2721
{
2822
"@context": "https://schema.org",
2923
"@type": "Corporation",
3024
"name": "Coderic",
3125
"url": "https://coderic.org/",
32-
"logo": "https://coderic.org/favicon.svg",
26+
"logo": "https://coderic.org/assets/img/coderic-isotipo.svg",
3327
"contactPoint": [
3428
{
3529
"@type": "ContactPoint",
3630
"contactType": "technical support",
3731
"email": "[email protected]",
38-
"availableLanguage": [
39-
"es",
40-
"en"
41-
]
32+
"availableLanguage": ["en"]
4233
},
4334
{
4435
"@type": "ContactPoint",
4536
"contactType": "billing support",
4637
"email": "[email protected]",
47-
"availableLanguage": [
48-
"es",
49-
"en"
50-
]
38+
"availableLanguage": ["en"]
5139
},
5240
{
5341
"@type": "ContactPoint",
5442
"contactType": "bill payment",
5543
"email": "[email protected]",
56-
"availableLanguage": [
57-
"es",
58-
"en"
59-
]
44+
"availableLanguage": ["en"]
6045
},
6146
{
6247
"@type": "ContactPoint",
6348
"contactType": "sales",
6449
"email": "[email protected]",
65-
"availableLanguage": [
66-
"es",
67-
"en"
68-
]
50+
"availableLanguage": ["en"]
6951
}
7052
],
7153
"sameAs": [
7254
"https://coderic.co",
7355
"https://coderic.cloud",
7456
"https://coderic.net",
75-
"https://coderic.org",
76-
"https://x.com/Coderic",
77-
"https://x.com/Coderic",
7857
"https://x.com/Coderic",
7958
"https://linkedin.com/company/coderic/",
8059
"https://github.com/Coderic"
8160
]
8261
}
83-
</script>
62+
</script>
8463
<!-- Google tag (gtag.js) -->
8564
<script async src="https://www.googletagmanager.com/gtag/js?id=G-91ST27VW59"></script>
8665
<script>
8766
window.dataLayer = window.dataLayer || [];
8867
function gtag() { dataLayer.push(arguments); }
8968
gtag('js', new Date());
90-
9169
gtag('config', 'G-91ST27VW59');
9270
</script>
9371
</head>
94-
9572
<body>
96-
<div class="App">
97-
<div>
73+
<a href="#main-content" class="skip-to-main">Skip to main content</a>
74+
<div class="min-h-screen flex flex-col bg-white">
75+
<!-- Header -->
76+
<header class="border-t-4 border-b-8 border-orange-500 bg-white">
77+
<div class="max-w-7xl mx-auto container-padding">
78+
<div class="flex flex-col sm:flex-row items-center justify-between gap-4 py-4 sm:py-6">
79+
<a href="/" class="flex items-center gap-3 focus:outline-none focus:ring-2 focus:ring-orange-500 rounded"
80+
itemscope itemtype="https://schema.org/Corporation" aria-label="Coderic home">
81+
<img src="/assets/img/coderic-isotipo.svg" itemprop="logo" alt="Coderic logo" class="h-16 sm:h-20 md:h-24" loading="eager">
82+
<svg class="h-16 sm:h-20 md:h-24" viewBox="0 0 300 50" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
83+
<defs>
84+
<linearGradient id="metal" x1="0" x2="0" y1="0" y2="1">
85+
<stop offset="0%" stop-color="hsl(0,0%,58%)" />
86+
<stop offset="47%" stop-color="hsl(0,0%,80%)" />
87+
<stop offset="53%" stop-color="hsl(0,0%,38%)" />
88+
<stop offset="100%" stop-color="hsl(0,0%,58%)" />
89+
</linearGradient>
90+
</defs>
91+
<text style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Red Hat Display';letter-spacing:-2px;fill:url(#metal);"
92+
x="0" y="37.590412"
93+
class="text-[24px] sm:text-[28px] md:text-[32px] lg:text-[36px]">CODERIC {{ site.network }}</text>
94+
</svg>
95+
</a>
96+
<div class="hidden sm:block flex-1 bg-no-repeat bg-cover bg-center min-h-[80px] rounded-lg"
97+
style="background-image: url('/assets/img/hexagons.jpg'); background-color: rgba(255, 255, 255, 0.9);">
98+
</div>
99+
</div>
100+
</div>
101+
</header>
102+
103+
<!-- Main Navigation -->
104+
{% if page.navigation %}
105+
{% include {{ page.navigation }} %}
106+
{% endif %}
107+
108+
<!-- Main Content -->
109+
<main id="main-content" role="main" class="flex-1" tabindex="-1">
98110
{{ content }}
99-
</div>
111+
</main>
112+
113+
<!-- Footer -->
114+
<footer class="bg-stone-800 text-stone-300 border-t-4 border-orange-500">
115+
<div class="max-w-7xl mx-auto container-padding py-8">
116+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8 mb-6">
117+
<nav aria-label="Documentation">
118+
<h3 class="text-white font-semibold mb-3">Resources</h3>
119+
<ul class="space-y-2">
120+
<li>
121+
<a href="https://coderic.org/docs/" class="hover:text-white focus:outline-none focus:ring-2 focus:ring-orange-500 rounded px-1"
122+
aria-label="View documentation">Documentation</a>
123+
</li>
124+
</ul>
125+
</nav>
126+
<nav aria-label="Legal and policies">
127+
<h3 class="text-white font-semibold mb-3">Legal</h3>
128+
<ul class="space-y-2">
129+
<li>
130+
<a href="https://coderic.org/privacy" class="hover:text-white focus:outline-none focus:ring-2 focus:ring-orange-500 rounded px-1"
131+
aria-label="Privacy policy">Privacy</a>
132+
</li>
133+
<li>
134+
<a href="https://coderic.org/legal" class="hover:text-white focus:outline-none focus:ring-2 focus:ring-orange-500 rounded px-1"
135+
aria-label="Legal information">Legal</a>
136+
</li>
137+
<li>
138+
<a href="https://coderic.org/tos" class="hover:text-white focus:outline-none focus:ring-2 focus:ring-orange-500 rounded px-1"
139+
aria-label="Terms and conditions">Terms and Conditions</a>
140+
</li>
141+
</ul>
142+
</nav>
143+
</div>
144+
<div class="border-t border-stone-700 pt-6 text-center text-sm">
145+
<p class="mb-2">Corporation Oriented to the Strategic Development of Commercial Information Resources</p>
146+
<p>
147+
Coderic <sup>©</sup> · Since September 30, 2004
148+
</p>
149+
</div>
150+
</div>
151+
</footer>
100152
</div>
101-
<noscript>Please enable JavaScript to continue using this application.</noscript>
153+
154+
<noscript>
155+
<div class="bg-yellow-100 border-l-4 border-yellow-500 text-yellow-700 p-4 m-4" role="alert">
156+
<p>Please enable JavaScript to continue using this application.</p>
157+
</div>
158+
</noscript>
159+
160+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6690628925445882"
161+
crossorigin="anonymous"></script>
102162
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
103163
<script src="https://cdn.auth0.com/js/auth0/9.28.0/auth0.min.js"></script>
104164
<script type="text/javascript" src="/js/auth.js"></script>

_layouts/layout.html

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)