-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
968dcc0
commit 3a7bfa0
Showing
13 changed files
with
157 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
sponsors: | ||
name: Sponsors | ||
rank: Rank | ||
thanks: This event wouldn't be possible without the help of our sponsors. | ||
spam: Would you like to sponsor us? Contact us below! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
sponsors: | ||
name: Patrocinadores | ||
rank: Plan | ||
thanks: La Hackers Week no sería posible sin la ayuda de nuestros patrocinadores. | ||
spam: ¿Te gustaría patrocinarnos? ¡Contáctanos! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{{ $disableImageOptimization := .Site.Params.disableImageOptimization | default false }} | ||
<article class="{{ if not .Site.Params.homepage.showRecent }} | ||
h-full | ||
{{ end }} flex flex-col items-center justify-center text-center"> | ||
<header class="relative px-1 py-1 flex flex-col items-center mb-3"> | ||
{{ with .Site.Params.Author.image }} | ||
{{ $authorImage := "" }} | ||
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }} | ||
{{ $authorImage = resources.GetRemote . }} | ||
{{ else }} | ||
{{ $authorImage = resources.Get . }} | ||
{{ end }} | ||
{{ if $authorImage }} | ||
{{ if not $disableImageOptimization }} | ||
{{ $authorImage = $authorImage.Fill (print "288x288 q" ( $.Site.Params.Author.imagequality | default "96" )) }} | ||
{{ end }} | ||
<img class="mb-2 rounded-full h-36 w-36" width="144" height="144" alt="{{ $.Site.Params.Author.name | default " Author" }}" | ||
src="{{ $authorImage.RelPermalink }}" /> | ||
{{ end }} | ||
{{ end }} | ||
<h1 class="text-4xl font-extrabold"> | ||
{{ .Site.Params.Author.name | default .Site.Title }} | ||
</h1> | ||
{{ with .Site.Params.Author.headline }} | ||
<h2 class="text-xl text-neutral-500 dark:text-neutral-400"> | ||
{{ . | markdownify }} | ||
</h2> | ||
{{ end }} | ||
<div class="mt-1 text-2xl"> | ||
{{ partialCached "author-links.html" . }} | ||
</div> | ||
</header> | ||
<section class="prose dark:prose-invert">{{ .Content }}</section> | ||
</article> | ||
<section> | ||
{{ partial "recent-articles/main.html" . }} | ||
</section> | ||
{{ if and (isset .Site.Params.Sponsors "enabled") (eq .Site.Params.Sponsors.Enabled true) }} | ||
<section> | ||
{{ partial "sponsors/main.html" . }} | ||
</section> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{{ $disableImageOptimization := .Page.Site.Params.disableImageOptimization | default false }} | ||
{{ $image := resources.Get .context.image }} | ||
|
||
<a href="{{ .context.url }}"> | ||
<img width="{{ .size }}" height="{{ .size }}" class="nozoom" src="{{ $image.RelPermalink }}" /> | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{{ $imageSize := .imageSize }} | ||
<h3 class="mt-8 text-{{ .textSize }} font-extrabold mb-10"> | ||
<span>{{ .emoji }}</span> | ||
<span>{{ i18n "sponsors.rank" }}</span> | ||
<span>{{ .name }}</span> | ||
</h3> | ||
|
||
<section class="grid gap-10 grid-flow-col auto-cols-max justify-center"> | ||
{{ range .members }} | ||
{{ partial "sponsors/item.html" (dict "context" . "size" $imageSize) }} | ||
{{ end }} | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<h2 class="mt-8 text-2xl font-extrabold mb-4">{{ i18n "sponsors.name" }}</h2> | ||
<p>{{ i18n "sponsors.thanks" }}</p> | ||
|
||
{{ if and (isset .Site.Params.Sponsors "spam") (eq .Site.Params.Sponsors.Spam true) }} | ||
<p class="mt-4 mb-4">{{ i18n "sponsors.spam" }}</p> | ||
<a href="{{ .Site.Params.Sponsors.SpamPath }}" class="!rounded-md bg-primary-600 px-4 py-2 !text-neutral !no-underline hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700" role="button"> | ||
C4P | ||
</a> | ||
{{ end }} | ||
|
||
{{ range .Site.Params.Sponsors.Ranks }} | ||
{{ partial "sponsors/list.html" . }} | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "hackersweekweb", | ||
"scripts": { | ||
"server": "hugo server -b http://localhost -p 8000", | ||
"dev": "NODE_ENV=development ./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit -w", | ||
"build": "NODE_ENV=production ./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit" | ||
} | ||
} |