Skip to content

Commit

Permalink
deploy: test 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya-Jyoti committed Apr 8, 2024
1 parent 598b894 commit 1bc3bad
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
6 changes: 5 additions & 1 deletion src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import Footer from "@components/Footer.astro";
<html lang="en">
<head>
<meta charset="utf-8" />
<link href="favicon.ico" rel="icon" type="image/x-icon" />
<link
href="/Introduce-Yourself/__favicon.ico"
rel="icon"
type="image/x-icon"
/>
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />

Expand Down
11 changes: 6 additions & 5 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ console.log(author);
<section class="md:px-4 py-4">
<div class="w-full flex flex-col gap-4">
<img
src="/Introduce-Yourself/public/about.jpg"
src="/Introduce-Yourself/__about.jpg"
alt="about"
class="border-2 border-foreground md:h-32 h-20"
/>
Expand Down Expand Up @@ -136,9 +136,9 @@ console.log(author);
</div>

{author?.data.image ?
<img src=`/Introduce-Yourself/public/introductions/${author?.id.split("/")[0]}/image.jpg` alt="user" class="w-[10rem] h-[10rem] md:flex hidden"
<img src=`/Introduce-Yourself/${author?.id.split("/")[0]}.jpg` alt="user" class="w-[10rem] h-[10rem] md:flex hidden"
/> :
<img src=`/Introduce-Yourself/public/default_user.png` alt="user" class="w-[10rem] h-[10rem] md:flex hidden" />
<img src=`/Introduce-Yourself/public/__default_user.png` alt="user" class="w-[10rem] h-[10rem] md:flex hidden" />
}
</div>

Expand Down Expand Up @@ -172,9 +172,10 @@ console.log(author);
</div>

{introduction?.data.image ?
<img src=`/Introduce-Yourself/public/introductions/${introduction?.id.split("/")[0]}/image.jpg` alt="user" class="w-[10rem] h-[10rem] md:flex hidden"

<img src=`/Introduce-Yourself/${introduction?.id.split("/")[0]}.jpg` alt="user" class="w-[10rem] h-[10rem] md:flex hidden"
/> :
<img src=`/Introduce-Yourself/public/default_user.png` alt="user" class="w-[10rem] h-[10rem] md:flex hidden" />
<img src=`/Introduce-Yourself/public/__default_user.png` alt="user" class="w-[10rem] h-[10rem] md:flex hidden" />

}
</div>
Expand Down

0 comments on commit 1bc3bad

Please sign in to comment.