Skip to content

Commit

Permalink
Update Links
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagovallory committed Jan 17, 2024
1 parent cf9418a commit d8418c8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 23 deletions.
5 changes: 2 additions & 3 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
import ImgAsset from '../components/ImgAsset.astro';
const searchUrl = import.meta.env.SEARCH_URL;
---

<footer class="container-fluid">
Expand Down Expand Up @@ -60,7 +59,7 @@ const searchUrl = import.meta.env.SEARCH_URL;
<h4 class="body1 bold">Sobre</h4>
<ul class="nav flex-column">
<li class="nav-item">
<a href={searchUrl} class="nav-link text-black">Quero terapia</a>
<a href="/s" class="nav-link text-black">Quero terapia</a>
</li>
<li class="nav-item">
<a href="/therapist" class="nav-link text-black">Sou terapeuta</a>
Expand Down Expand Up @@ -250,7 +249,7 @@ const searchUrl = import.meta.env.SEARCH_URL;
<h4 class="body1 bold">Sobre</h4>
<ul class="nav flex-column">
<li class="nav-item">
<a href={searchUrl} class="nav-link text-black">Quero terapia</a>
<a href="/s" class="nav-link text-black">Quero terapia</a>
</li>
<li class="nav-item">
<a href="/therapist" class="nav-link text-black">Sou terapeuta</a>
Expand Down
9 changes: 3 additions & 6 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---
import ImgAsset from '../components/ImgAsset.astro';
const searchUrl = import.meta.env.SEARCH_URL;
const loginUrl = import.meta.env.LOGIN_URL;
const signupUrl = import.meta.env.SIGNUP_URL;
---

<header
Expand Down Expand Up @@ -80,7 +77,7 @@ const signupUrl = import.meta.env.SIGNUP_URL;

<ul class="desktop desktopFlex valign-center nav">
<li class="nav-item">
<a href={searchUrl} class="nav-link text-white">Quero Terapia</a>
<a href="/s" class="nav-link text-white">Quero Terapia</a>
</li>
<li class="nav-item">
<a href="/therapist" class="nav-link text-white">Sou Terapeuta</a>
Expand All @@ -92,8 +89,8 @@ const signupUrl = import.meta.env.SIGNUP_URL;

<div
class="desktop desktopFlex d-flex valign-center justify-content-end col-md-2 text-end">
<a href={loginUrl} class="btn btn-bold me-2 btn-outline-light">Login</a><a
href={signupUrl}
<a href="/login" class="btn btn-bold me-2 btn-outline-light">Login</a><a
href="/signup"
class="btn btn-bold btn-light">
Cadastre-se
</a>
Expand Down
1 change: 0 additions & 1 deletion src/pages/help.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import ImgAsset from '../components/ImgAsset.astro';
import '../styles/pages/index.scss';
const videoModalId = 'videomodal';
const signupUrl = import.meta.env.SIGNUP_URL;
---

<DefaultLayout id="help" title="Help">
Expand Down
10 changes: 3 additions & 7 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import '../styles/pages/index.scss';
import '../sharetribe/custom-style.css';
const videoModalId = 'videomodal';
const signupUrl = import.meta.env.SIGNUP_URL;
const searchUrl = import.meta.env.SEARCH_URL;
---

<DefaultLayout id="home" title="Home">
Expand Down Expand Up @@ -50,7 +48,7 @@ const searchUrl = import.meta.env.SEARCH_URL;
profissional através dos serviços customizados da Calligo.
</p>
<br />
<a href={signupUrl} class="btn btn-bold btn-primary">
<a href="/signup" class="btn btn-bold btn-primary">
Quero transformar!
</a>
</div>
Expand Down Expand Up @@ -86,9 +84,7 @@ const searchUrl = import.meta.env.SEARCH_URL;
profissional independente e ideal para te ouvir.
</p>
<br />
<a href={searchUrl} class="btn btn-bold btn-primary">
Quero evoluir!
</a>
<a href="/s" class="btn btn-bold btn-primary">Quero evoluir!</a>
</div>
</div>
</div>
Expand Down Expand Up @@ -362,7 +358,7 @@ const searchUrl = import.meta.env.SEARCH_URL;
Encontre aqui o Psicólogo que pode ajudar a transformar sua vida.
</p>
<div class="text-center">
<a href={searchUrl}>
<a href="/s">
<button class="btn btn-bold btn-light">Buscar</button>
</a>
</div>
Expand Down
8 changes: 2 additions & 6 deletions src/pages/therapist.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import Defaultlayout from '../layouts/DefaultLayout.astro';
import ImgAsset from '../components/ImgAsset.astro';
import '../styles/pages/index.scss';
const signupUrl = import.meta.env.SIGNUP_URL;
---

<Defaultlayout id="therapist" title="Therapist">
Expand Down Expand Up @@ -82,9 +80,7 @@ const signupUrl = import.meta.env.SIGNUP_URL;
mensalidade!
</p>
<br /><br class="desktop" />
<a href={signupUrl} class="btn btn-bold btn-primary">
Seja calligo!
</a>
<a href="/signup" class="btn btn-bold btn-primary">Seja calligo!</a>
</div>
</div>
</div>
Expand Down Expand Up @@ -201,7 +197,7 @@ const signupUrl = import.meta.env.SIGNUP_URL;
evidências.
</p>
<br />
<a href={signupUrl} class="btn btn-bold btn-primary">Seja calligo!</a>
<a href="/signup" class="btn btn-bold btn-primary">Seja calligo!</a>
</div>
<div class="col-md-4 col-xl-5 offset-md-1 offset-xl-0 desktop">
<ImgAsset file="ilustracao-2.png" class="for-whom-ilustration" />
Expand Down

0 comments on commit d8418c8

Please sign in to comment.