Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
teresalves committed Jul 28, 2024
0 parents commit 1f64ff7
Show file tree
Hide file tree
Showing 46 changed files with 664 additions and 0 deletions.
78 changes: 78 additions & 0 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Sample workflow for building and deploying a Hugo site to GitHub Pages
name: Deploy Hugo site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

# Default to bash
defaults:
run:
shell: bash

jobs:
# Build job
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.128.0
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Dart Sass
run: sudo snap install dart-sass
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
env:
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
HUGO_ENVIRONMENT: production
TZ: America/Los_Angeles
run: |
hugo \
--gc \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/docura"]
path = themes/docura
url = https://github.com/docura/docura.git
Empty file added .hugo_build.lock
Empty file.
5 changes: 5 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++
88 changes: 88 additions & 0 deletions hugo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
theme: docura

enableGitInfo: true

markup:
highlight:
noClasses: false
goldmark:
renderer:
unsafe: true

services:
googleAnalytics:
ID: G-xxxxxxxxxx

defaultContentLanguage: en
languages:
en:
languageName: English
languageCode: en-US
contentDir: content/en
title: Teresa Alves
description: Docs, thoughts and dogs
weight: 1

params:

author:
name: Teresa Alves
url: https://github.com/teresalves

themeColors:
light: '#ffffff'
dark: '#121212'

years:
start: ''
present: 2024

social:
github: ''
youtube: ''
facebook: ''
x: ''

ads:
googleAdSense: ''

donate:
buyMeACoffee: ''
githubSponsor: ''

algolia:
en:
container: '#site-header-search'
appId: ''
indexName: ''
apiKey: ''

home:

repository: 'teresalves/teresalves.github.io'

# repositories:
# - name: Website
# repo: org/site
# icon: "<i class='icon icon-book'></i>"
# description: The repository of the website
#
# - name: Code
# repo: org/project
# icon: "<i class='icon icon-book'></i>"
# description: The repository of the project

menu:
main:

- url: /
name: Home
identifier: home
pre: "<i class='icon icon-home'></i>"
weight: 1

- url: /docs
name: Documentation
identifier: docs
pre: "<i class='icon icon-book'></i>"
weight: 2
11 changes: 11 additions & 0 deletions public/categories/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on Teresa Alves</title>
<link>//localhost:1313/categories/</link>
<description>Recent content in Categories on Teresa Alves</description>
<generator>Hugo</generator>
<language>en-US</language>
<atom:link href="//localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>
Binary file added public/font/Inter-Italic.woff
Binary file not shown.
Binary file added public/font/Inter-Italic.woff2
Binary file not shown.
Binary file added public/font/Inter-Regular.woff
Binary file not shown.
Binary file added public/font/Inter-Regular.woff2
Binary file not shown.
Binary file added public/font/Inter-SemiBold.woff
Binary file not shown.
Binary file added public/font/Inter-SemiBold.woff2
Binary file not shown.
Binary file added public/img/icon/favicon.ico
Binary file not shown.
Binary file added public/img/icon/icon-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/icon/icon-180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/icon/icon-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/icon/icon-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/icon/icon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/img/icon/icon-vector.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/icon/maskable-icon-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/icon/maskable-icon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
195 changes: 195 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta name="generator" content="Hugo 0.129.0"><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Docs, thoughts and dogs">
<meta name="author" content="Teresa Alves">

<title>Teresa Alves · Docs, thoughts and dogs</title>

<link rel="canonical" href="//localhost:1313/">









<link rel="stylesheet" href="/scss/home.css" integrity="">
<link rel="preload" href="/scss/base.css" as="style" onload="this.rel='stylesheet'" integrity="">



<link rel="stylesheet" href="/scss/theme/default.css" integrity="">



<link rel="preconnect" href="https://-dsn.algolia.net" crossorigin />

<link rel="stylesheet" href="/scss/component/docsearch.css" integrity=""/>

<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/img/icon/favicon.ico">
<link rel="icon" href="/img/icon/icon-16.png" sizes="16x16" type="image/png">
<link rel="icon" href="/img/icon/icon-32.png" sizes="32x32" type="image/png">
<link rel="apple-touch-icon" href="/img/icon/icon-180.png" sizes="180x180">
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#121212" media="(prefers-color-scheme: dark)">
<script async src="https://www.googletagmanager.com/gtag/js?id=G-xxxxxxxxxx"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-xxxxxxxxxx');
</script>


</head>
<body>
<header id="site-header">

<div id="site-header-brand">
<a href="/">Teresa Alves</a>
</div>


<div id="site-header-controls">

<div class="dropdown">
<button class="dropdown-btn" aria-haspopup="menu" aria-label="theme selector">
<i class="icon icon-brightness"></i>
<i class="icon icon-select"></i>
</button>
<ul role="menu" class="dropdown-menu">
<li role="menuitem"><button class="color-scheme" data-value="light"><i class="icon icon-light-mode"></i> Light</button></li>
<li role="menuitem"><button class="color-scheme" data-value="dark"><i class="icon icon-dark-mode"></i> Dark &nbsp;</button></li>
<li role="menuitem"><button class="color-scheme" data-value="night"><i class="icon icon-night-mode"></i> Night</button></li>
</ul>
</div>


<div class="dropdown">
<button class="dropdown-btn" aria-haspopup="menu" aria-label="language selector">
<i class="icon icon-translate"></i>
<i class="icon icon-select"></i>
</button>
<ul role="menu" class="dropdown-menu">

<li role="menuitem"><a href="#">English</a></li>

</ul>
</div>
</div>


<div id="site-header-menu">
<nav>
<ul>




<li><a href="/" class="active"><i class='icon icon-home'></i>Home</a></li>


<li><a href="/docs" ><i class='icon icon-book'></i>Documentation</a></li>

</ul>
</nav>
</div>


<div id="site-header-search"></div>
</header>

<div id="site-main-content-wrapper">
<main>
<section class="cover">
<h1>Teresa Alves</h1>
<h2>Docs, thoughts and dogs</h2>


<div class="github-buttons">
<a href="https://github.com/teresalves/teresalves.github.io" class="github-button" data-icon="octicon-star" data-show-count="true" aria-label="Star teresalves/teresalves.github.io on GitHub">Star</a>
<a href="https://github.com/teresalves/teresalves.github.io/fork" class="github-button" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork teresalves/teresalves.github.io on GitHub">Fork</a>

<script async defer src="https://buttons.github.io/buttons.js"></script>
</div>



</section>
</main>
</div>

<footer id="site-footer">

<div id="site-footer-copyright">
<a href="https://github.com/teresalves" target="_blank">
<i class="icon icon-copyright"></i> 2024 Teresa Alves
</a>
</div>


<div id="site-footer-social">









</div>


<div id="site-footer-fund">





</div>


<div id="site-footer-love">
Made with <i class="icon icon-love icon-colored"></i> &nbsp;from&nbsp;<a href="https://docura.github.io/" target="_blank">Docura</a>
</div>
</footer>







<script type="text/javascript" src="/js/base.min.js"></script>




<script src="/js/component/docsearch.min.js"></script>
<script type="application/javascript">
docsearch({
container: '#site-header-search',
appId: '',
indexName: '',
apiKey: '',
});
</script>


<script type="application/javascript">
if('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js?2024-07-27')
.catch(function(err) {console.error('ServiceWorker registration failed: ', err);});
}
</script>
</body>
</html>
Loading

0 comments on commit 1f64ff7

Please sign in to comment.