-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
THC 857 create index page template, THC 855 Create footer (#295)
- Loading branch information
1 parent
2cab458
commit 1305ba7
Showing
76 changed files
with
1,145 additions
and
545 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
import "./category-card.css"; | ||
interface TopCategoryProps { | ||
category: { | ||
title: string; | ||
icon: string; | ||
iconAlt: string; | ||
link: string; | ||
}; | ||
} | ||
const { category } = Astro.props as TopCategoryProps; | ||
--- | ||
|
||
<div | ||
class="category flex w-full h-full max-w-[234px] min-h-[235px] border-4 border-[#F4F6F9] rounded-lg cursor-pointer hover:shadow-lg" | ||
> | ||
<a | ||
class="flex flex-col w-full hover:text-link-active no-underline" | ||
href={category.link} | ||
> | ||
<div class="flex justify-center items-center min-h-[150px]"> | ||
<div class="flex justify-center items-center h-[111px] w-[111px]"> | ||
<img src={category.icon} alt={category.iconAlt} /> | ||
</div> | ||
</div> | ||
<div | ||
class="flex justify-center items-center grow max-h-[89px] text-heading-3 bg-[#F4F6F9] font-semibold" | ||
> | ||
{category.title} | ||
</div> | ||
</a> | ||
</div> |
2 changes: 1 addition & 1 deletion
2
src/components/PageContent/article.css → src/components/Cards/category-card.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.article-categories a { | ||
div .category a { | ||
color: black; | ||
text-decoration: none; | ||
&:hover { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
14 changes: 14 additions & 0 deletions
14
src/components/Layout/Footer/ContactSupportBlock/ContactSupportButton/index.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
import { HELP_CENTER_LINK } from "src/consts"; | ||
import type { IWithLanguage } from "src/types/WithLanguage"; | ||
const { language, contentLevel } = Astro.props as IWithLanguage; | ||
--- | ||
|
||
<a | ||
href={`${HELP_CENTER_LINK}${language}/support`} | ||
class="footer-link flex items-center justify-center px-3 min-h-[39px] text-white bg-link-active rounded-[7.5px] border-2 border-white cursor-pointer min-w-[206px] text-[17px] font-medium hover:bg-[#324ed9]" | ||
> | ||
{contentLevel ? "Contact Us" : "Contact Support"} | ||
</a> |
15 changes: 15 additions & 0 deletions
15
src/components/Layout/Footer/ContactSupportBlock/index.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
import ContactSupportButton from "./ContactSupportButton/index.astro"; | ||
import type { ContactSupportBlockProps } from "./types"; | ||
const { language } = Astro.props as ContactSupportBlockProps; | ||
--- | ||
|
||
<div | ||
class="sm:h-20 xs:py-4 sm:py-0 bg-blue-light rounded-lg flex xs:flex-col sm:flex-row justify-center items-center" | ||
> | ||
Can't find what you're looking for?<ContactSupportButton | ||
language={language} | ||
/> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export interface ContactSupportBlockProps { | ||
language: string; | ||
} |
Oops, something went wrong.