Skip to content

Commit

Permalink
Fix the string on Home
Browse files Browse the repository at this point in the history
  • Loading branch information
Camilotk committed Oct 7, 2024
1 parent ef3e720 commit 47d7a5c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: Deploy OCaml BR to GitHub Pages
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build-and-deploy:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/checkout@v3

Expand All @@ -24,8 +24,7 @@ jobs:
node-version: '18'

- name: Install dependencies
run: |
npm run install-opam-npm
run: npm run install-opam-npm

- name: Build project
run: |
Expand All @@ -34,7 +33,6 @@ jobs:
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
2 changes: 1 addition & 1 deletion src/Home.mlx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module Home = struct
<img src="/img/ocamlbr.png" alt="OCaml BR Logo" className="mb-6 max-w-xs" />
<h1 className="text-4xl font-bold mb-4">(React.string "OCaml Brasil")</h1>
<p className="text-xl mb-4">(React.string {js|Bem-vindo à Comunidade Brasileira de OCaml! Aqui, programadores apaixonados por OCaml se reúnem para compartilhar conhecimento, construir projetos inovadores e promover o uso dessa poderosa linguagem de programação no Brasil.|js})</p>
<button className="bg-orange-500 hover:bg-orange-600 text-white px-6 py-2 rounded transition duration-300">(React.string "Aprenda OCaml")</button>
<a href="https://ocamlbr.github.io/ocamlnomicon/" className="bg-orange-500 hover:bg-orange-600 text-white px-6 py-2 rounded transition duration-300">(React.string "Aprenda OCaml")</a>
</section>

<section className="mb-12">
Expand Down

0 comments on commit 47d7a5c

Please sign in to comment.