Skip to content

Commit

Permalink
index commit
Browse files Browse the repository at this point in the history
  • Loading branch information
juanandres-montero committed Mar 27, 2024
1 parent cf60b4b commit 5029d9a
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# These are supported funding model platforms

github: eliancodes
github: juanandres-montero
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Bug report
about: Create a report to help improve Brutal
title: ''
labels: bug
assignees: ElianCodes
assignees: juanandres-montero

---

Expand Down
2 changes: 1 addition & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineConfig({
// used to generate images
site:
process.env.VERCEL_ENV === 'production'
? 'https://brutal.elian.codes/'
? 'https://juanandres-montero.github.io/opcr'
: process.env.VERCEL_URL
? `https://${process.env.VERCEL_URL}/`
: 'https://localhost:3000/',
Expand Down
9 changes: 4 additions & 5 deletions public/humans.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
## Brutal Theme ##
## OPCR ##
All Content by Juan Andrés Montero

All development & Content by Elian Van Cutsem

- email: hello@elian.codes
- website: www.elian.codes
- email: juanandres-montero@outlook.com
- website: https://juanandres-montero.github.io/
4 changes: 2 additions & 2 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
User-agent: *
Disallow:
Host: https://brutal.elian.codes/
Sitemap: https://brutal.elian.codes/sitemap-index.xml
Host: https://juanandres-montero.github.io/opcr/
Sitemap: https://juanandres-montero.github.io/opcr/sitemap-index.xml
8 changes: 4 additions & 4 deletions src/components/blog/BlogContent.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ const { content } = Astro.props;
---

<article class='prose-slate w-sm md:w-prose md:prose poppins'>
<a href='/blog/' title='Back to blog'>&larr; Back to blog</a>
<a href='/blog/' title='Back to blog'>&larr; Volver a la página principal</a>
<p class='text-slate text-sm md:text-base'>
Published on {content.pubDate} by {content.author}
Fecha de publicación {content.pubDate} por {content.author}
</p>
<slot />
<p class='text-slate'>Written by {content.author}</p>
<a href='/blog/' title='Back to blog'>&larr; Back to blog</a>
<p class='text-slate'>Escrito por {content.author}</p>
<a href='/blog/' title='Back to blog'>&larr; Volver a la página principal</a>
</article>
4 changes: 2 additions & 2 deletions src/components/blog/BlogSummaryCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ const { post } = Astro.props;
description={post.data.description}
>
<div class='flex justify-end my-4'>
<Button href={`/blog/${post.slug}/`}>Read post &rarr;</Button>
<Button href={`/blog/${post.slug}/`}>Leer más &rarr;</Button>
</div>

<div class='hidden sm:inline-block'>
<p class='poppins mt-2'>tags:</p>
<p class='poppins mt-2'>etiquetas:</p>
<div class='flex justify-between items-center'>
<ul class='flex gap-4 mt-2'>
{
Expand Down
6 changes: 3 additions & 3 deletions src/components/generic/RecentBlogPosts.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ const posts = await getCollection('blog').then((posts) =>
<Card>
<div class='flex justify-between items-start'>
<h2 class='text-2xl md:text-4xl lg:text-6xl mb-8 dm-serif'>
Recent Blogposts
Obras más recientes
</h2>
<div class='hidden md:block'>
<Button href='/blog/'>Go to blog &rarr;</Button>
<Button href='/blog/'>Ver todo &rarr;</Button>
</div>
<div class='block md:hidden'>
<Button href='/blog/'>to blog</Button>
<Button href='/blog/'>todo</Button>
</div>
</div>
<BlogList posts={posts} />
Expand Down
6 changes: 3 additions & 3 deletions src/components/layout/BaseFooter.astro
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ const { backToTop = false } = Astro.props;
<footer class='bg-black text-white p-6'>
<h2 class='hidden'>Footer</h2>
<p class='outfit'>
Brutal theme for Astro - by <a
href='https://www.elian.codes/'
Obras públicas de Costa Rica - por <a
href='https://juanandres-montero.github.io/'
target='_blank'
class='text-blue'>ElianCodes</a
class='text-blue'>Juan Andrés Montero</a
>
</p>
</footer>
Expand Down
6 changes: 3 additions & 3 deletions src/components/layout/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ const { title, description, ogImage } = Astro.props;

<link
rel='alternate'
href='https://brutal.elian.codes/blog.xml'
href='https://juanandres-montero.github.io/opcr/blog.xml'
type='application/rss+xml'
/>

<meta name='title' content={`Brutal Theme | ${title}`} />
<meta name='title' content={`OPCR | ${title}`} />
<meta name='description' content={description} />

<meta property='og:type' content='website' />
Expand All @@ -47,7 +47,7 @@ const { title, description, ogImage } = Astro.props;
<link rel='canonical' href={canonicalURL} />
<link rel='icon' type='image/svg' href='/favicon.svg' />

<title>Brutal Theme | {title}</title>
<title>OPCR | {title}</title>

<ViewTransitions />

Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/BaseNavigation.astro
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const { pageTitle } = Astro.props;
<header class='border-b-4 border-black flex justify-between p-6 items-center'>
{pageTitle && <h1 class='hidden'>{pageTitle}</h1>}
<a href='/' title='Back to Home'>
<p class='righteous md:text-5xl'>Brutal</p>
<p class='righteous md:text-5xl'>OPCR</p>
</a>
<nav class='hidden md:inline-block'>
<h2 class='hidden'>Navigation</h2>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/blog/tags/[tag].astro
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const { tag, blogposts } = Astro.props;
>
<main class='p-6 bg-purple grid gap-4'>
<div>
<Button href='/blog/'>&larr; Back to blog</Button>
<Button href='/blog/'>&larr; Volver a la página principal</Button>
</div>
<BlogList posts={blogposts} />
</main>
Expand Down

0 comments on commit 5029d9a

Please sign in to comment.