Skip to content

Commit fc9b2b2

Browse files
committed
added some files
1 parent 0fe58fe commit fc9b2b2

File tree

19 files changed

+281
-0
lines changed

19 files changed

+281
-0
lines changed

.hugo_build.lock

Whitespace-only changes.

archetypes/default.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
date: '{{ .Date }}'
3+
draft: true
4+
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
5+
---

hugo.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
baseURL: https://golang-ve.github.io
2+
languageCode: es-ve
3+
title: Golang Venezuela
4+
theme: coming-soon
5+
6+
params:
7+
title: "Golang Venezuela"
8+
description: "Falta poco para el lanzamiento de nuestra nueva web"
9+
favicon: ""
10+
message: "COMING SOON!"
11+
release: "March 3, 2025"
12+
background: ""
13+
14+
socialIcons:
15+
- name: "github"
16+
url: "https://github.com/Golang-Venezuela"
17+
18+
params:
19+
github:
20+
enable: true
21+
username: "Golang-Venezuela"

public/bg.mp4

1.59 MB
Binary file not shown.

public/categories/index.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
2+
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
3+
<channel>
4+
<title>Categories on Golang Venezuela</title>
5+
<link>https://golang-ve.github.io/categories/</link>
6+
<description>Recent content in Categories on Golang Venezuela</description>
7+
<generator>Hugo</generator>
8+
<language>es-ve</language>
9+
<atom:link href="https://golang-ve.github.io/categories/index.xml" rel="self" type="application/rss+xml" />
10+
</channel>
11+
</rss>

public/css/styles.css

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
}
5+
6+
.bgimg {
7+
/* Full-screen */
8+
height: 100vh; /* Use viewport height for full-screen height */
9+
/* Center the background image */
10+
background-position: center;
11+
/* Scale and zoom in the image */
12+
background-size: cover;
13+
/* Add position: relative to enable absolutely positioned elements inside the image (place text) */
14+
position: relative;
15+
/* Add a white text color to all elements inside the .bgimg container */
16+
color: white;
17+
/* Add a font */
18+
font-family: "Courier New", Courier, monospace;
19+
/* Set the font-size to 25 pixels */
20+
font-size: 25px;
21+
}
22+
23+
.bgimg video {
24+
width: 100%;
25+
height: 100%; /* Make the video fill the entire .bgimg container */
26+
object-fit: cover; /* Make the video cover the container without stretching */
27+
display: block; /* Remove any extra spacing */
28+
position: absolute; /* Position the video absolutely within the .bgimg container */
29+
}
30+
31+
32+
/* Position text in the top-left corner */
33+
.topleft {
34+
position: absolute;
35+
top: 16px;
36+
left: 16px;
37+
}
38+
39+
/* Position text in the bottom-left corner */
40+
.bottomleft {
41+
position: absolute;
42+
bottom: 16px;
43+
left: 16px;
44+
}
45+
46+
/* Position text in the middle */
47+
.middle {
48+
position: absolute;
49+
top: 50%;
50+
left: 50%;
51+
transform: translate(-50%, -50%);
52+
text-align: center;
53+
}
54+
#demo{
55+
font-size:30px;
56+
padding: 10px;
57+
}
58+
@media screen AND (max-width:600px) {
59+
.middle h1{
60+
font-size: 20px;
61+
}
62+
#demo{
63+
font-size: 20px;
64+
}
65+
}
66+
67+
/* Style the <hr> element */
68+
hr {
69+
margin: auto;
70+
width: 40%;
71+
}
72+
73+
/* right side */
74+
.social-icons {
75+
text-align: center;
76+
filter: brightness(0) invert(1);
77+
}
78+
79+
.social-icons .social-icons-list {
80+
display: inline-block;
81+
list-style-type: none;
82+
padding: 0;
83+
text-align: center;
84+
}
85+
86+
.social-icons-list .social-icon {
87+
box-sizing: border-box;
88+
display: inline-block;
89+
height: 24px;
90+
margin: 0 6px;
91+
width: 24px;
92+
}
93+
94+
.social-icon a svg path {
95+
transition: fill 0.15s ease;
96+
}
97+
98+
.topright {
99+
position: absolute;
100+
top: 16px;
101+
right: 15px;
102+
}
103+
104+
.topright a{
105+
text-decoration: none;
106+
color: #0e0e10;
107+
}
108+
109+
/* left side */
110+
.left{
111+
right: 0;
112+
bottom: 10px;
113+
position: absolute;
114+
}

public/favicon.ico

15 KB
Binary file not shown.

public/index.html

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta name="generator" content="Hugo 0.143.1">
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Golang Venezuela</title>
8+
<link rel="canonical" href="https://golang-ve.github.io/">
9+
10+
<link rel="icon" type="image/x-icon" href="/favicon.ico">
11+
12+
<link rel="stylesheet" href="/css/styles.css">
13+
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
14+
</head>
15+
<div class="bgimg">
16+
<video autoplay muted loop poster="poster.jpg">
17+
18+
<source src="bg.mp4" type="video/mp4">
19+
20+
</video>
21+
22+
<div class="topleft">
23+
24+
<p>Golang Venezuela</p>
25+
26+
</div>
27+
<div class="middle">
28+
29+
<h1>COMING SOON!</h1>
30+
31+
<hr>
32+
<p id="demo"></p>
33+
<div id="countdown" data-release="March 3, 2025"></div>
34+
</div>
35+
<div class="bottomleft">
36+
<p>
37+
Falta poco para el lanzamiento de nuestra nueva web</p>
38+
</div>
39+
</div>
40+
<div class="left">
41+
42+
<section class="social-icons">
43+
<ul class="social-icons-list">
44+
45+
<li class="social-icon">
46+
47+
<a href="https://github.com/Golang-Venezuela"
48+
>
49+
<img src="https://golang-ve.github.io//svg/icons/github.svg" alt="test" />
50+
</a>
51+
</li>
52+
53+
</ul>
54+
</section>
55+
56+
</div>
57+
<script src="/js/script.js"></script>
58+
59+
</html>

public/index.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
2+
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
3+
<channel>
4+
<title>Golang Venezuela</title>
5+
<link>https://golang-ve.github.io/</link>
6+
<description>Recent content on Golang Venezuela</description>
7+
<generator>Hugo</generator>
8+
<language>es-ve</language>
9+
<atom:link href="https://golang-ve.github.io/index.xml" rel="self" type="application/rss+xml" />
10+
</channel>
11+
</rss>

public/js/script.js

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// Get the release date from the data attribute
2+
var releaseDateStr = document.getElementById("countdown").getAttribute("data-release");
3+
4+
// Create a JavaScript Date object using the release date string
5+
var countDownDate = new Date(releaseDateStr);
6+
7+
// Update the count down every 1 second
8+
var x = setInterval(function() {
9+
10+
// Get todays date and time
11+
var now = new Date().getTime();
12+
13+
// Find the distance between now an the count down date
14+
var distance = countDownDate - now;
15+
16+
// Time calculations for days, hours, minutes and seconds
17+
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
18+
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
19+
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
20+
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
21+
22+
// Display the result in an element with id="demo"
23+
document.getElementById("demo").innerHTML = days + "d " + hours + "h "
24+
+ minutes + "m " + seconds + "s ";
25+
26+
// If the count down is finished, write some text
27+
if (distance < 0) {
28+
clearInterval(x);
29+
document.getElementById("demo").innerHTML = "EXPIRED";
30+
}
31+
}, 1000);

0 commit comments

Comments
 (0)