generated from LucJosin/astro-init
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Features - Add Container component - Add Description component - Add TextEffect component - Add LinkBox component - Add more responsivity to layout - Add title to links components - Add astro-rename to hash class names Changes - Fix Header on top - Update 404 page location to match spring boot requirements - Update dependencies - Update package name - Update settings and tsconfig - Update README - Update yarn.lock - Move css to global file - Make BackgroundEffect responsive - Make Footer fixed - Remove sdks page - Remove main from 404 and index pages - Remove style from Link component - Replace Button with Link component - Replace a tag with Link component - Rename border color css variable - Rename nav class names - Rename nav class names *Bump version to 1.3.0* *Upgrade to yarn 4.X*
- Loading branch information
Showing
27 changed files
with
8,334 additions
and
5,197 deletions.
There are no files selected for viewing
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
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 @@ | ||
nodeLinker: node-modules |
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
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,24 +1,26 @@ | ||
{ | ||
"name": "@hawapi/root", | ||
"version": "1.2.0", | ||
"name": "@hawapi/website", | ||
"packageManager": "yarn@4.0.1", | ||
"version": "1.3.0", | ||
"private": true, | ||
"scripts": { | ||
"dev": "astro dev", | ||
"build": "astro build", | ||
"clean": "rm -rf ./build" | ||
}, | ||
"devDependencies": { | ||
"@astrojs/sitemap": "^3.0.0", | ||
"@typescript-eslint/eslint-plugin": "^6.7.2", | ||
"@typescript-eslint/parser": "^6.7.2", | ||
"astro": "^3.1.1", | ||
"astro-compress": "^2.0.12", | ||
"@astrojs/sitemap": "^3.0.3", | ||
"@typescript-eslint/eslint-plugin": "^6.9.1", | ||
"@typescript-eslint/parser": "^6.9.1", | ||
"astro": "^3.4.2", | ||
"astro-compress": "^2.2.0", | ||
"astro-icon": "^0.8.1", | ||
"eslint": "^8.49.0", | ||
"astro-rename": "^1.1.1", | ||
"eslint": "^8.52.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-astro": "^0.29.0", | ||
"eslint-plugin-astro": "^0.29.1", | ||
"prettier": "^3.0.3", | ||
"prettier-plugin-astro": "^0.12.0", | ||
"prettier-plugin-astro": "^0.12.1", | ||
"svgo": "2.8.0" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,19 @@ | ||
--- | ||
interface Props { | ||
value?: string; | ||
margin?: string; | ||
} | ||
const { value, margin = '1rem' } = Astro.props; | ||
--- | ||
|
||
<p class="description-container"> | ||
{value ?? <slot />} | ||
</p> | ||
|
||
<style define:vars={{ margin }}> | ||
.description-container { | ||
text-align: center; | ||
margin: var(--margin); | ||
} | ||
</style> |
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,30 @@ | ||
--- | ||
interface Props { | ||
name?: string; | ||
title: string; | ||
href: string; | ||
isLocal?: boolean; | ||
active?: boolean; | ||
id?: string; | ||
classes?: string[]; | ||
} | ||
const { name, title, href, isLocal, id, classes } = Astro.props as Props; | ||
--- | ||
|
||
<a | ||
class:list={['link-item', classes]} | ||
href={href} | ||
rel={isLocal ? undefined : 'noopener noreferrer'} | ||
target={isLocal ? undefined : '_blank'} | ||
id={id} | ||
title={title} | ||
> | ||
{name ?? <slot />} | ||
</a> | ||
|
||
<style> | ||
.link-item { | ||
display: initial; | ||
} | ||
</style> |
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,50 @@ | ||
--- | ||
interface Props { | ||
name: string; | ||
title: string; | ||
href: string; | ||
isLocal?: boolean; | ||
active?: boolean; | ||
id?: string; | ||
} | ||
const { name, title, href, isLocal, active, id } = Astro.props as Props; | ||
--- | ||
|
||
<a | ||
class:list={['link-box', active ? 'active' : undefined]} | ||
href={href} | ||
rel={isLocal ? undefined : 'noopener noreferrer'} | ||
target={isLocal ? undefined : '_blank'} | ||
id={id} | ||
title={title} | ||
> | ||
{name} | ||
</a> | ||
|
||
<style> | ||
.link-box { | ||
display: flex; | ||
height: 2.5rem; | ||
width: 8rem; | ||
border-radius: var(--border-radius); | ||
align-items: center; | ||
justify-content: center; | ||
transition: all 0.5s; | ||
cursor: pointer; | ||
border: 1px solid rgb(179, 2, 2); | ||
color: white; | ||
} | ||
|
||
.link-box:hover { | ||
background-color: var(--secondary-color); | ||
} | ||
|
||
.active { | ||
background-color: var(--secondary-color); | ||
} | ||
|
||
.active:hover { | ||
background-color: rgb(151, 0, 0); | ||
} | ||
</style> |
Oops, something went wrong.