-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(landing): add initial files * ci: add new process for landing dev * ci: run landing on port 4200 and on host * ci: update biome version * chore(landing): start chaning names of website * chore(landing): add link to docs * ci(landing): make project private * feat(landing): display logo in header * refactor: change location of icon file * refactor: move icon to separate project * ci: add explicit project deps * chore(landing): change favicon to new path * feat: change landing section * chore(landing): playing with types * ci: add action for landing page * chore(landing): run linter on files * build(backend): bump version * fix(backend): more title types in imdb * refactor(frontend): imports and server only components * fix(backend): add new imdb title type * ci: change step name
- Loading branch information
Showing
66 changed files
with
4,779 additions
and
180 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,3 +49,5 @@ docs/site | |
node_modules | ||
.cache | ||
remix-routes.d.ts | ||
.astro | ||
dist |
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
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 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
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
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
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,3 +1,6 @@ | ||
dependsOn: | ||
- 'assets' | ||
|
||
fileGroups: | ||
remix: | ||
- app/**/* | ||
|
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,13 @@ | ||
import sitemap from "@astrojs/sitemap"; | ||
import tailwind from "@astrojs/tailwind"; | ||
import { defineConfig } from "astro/config"; | ||
|
||
import robotsTxt from "astro-robots-txt"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
site: import.meta.env.DEV | ||
? "http://localhost:3000" | ||
: "https://luna-landing-rust.vercel.app/", | ||
integrations: [tailwind(), sitemap(), robotsTxt()], | ||
}); |
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,28 @@ | ||
dependsOn: | ||
- 'assets' | ||
|
||
fileGroups: | ||
astro: | ||
- src/**/* | ||
- public/**/* | ||
- astro.config.* | ||
- tailwind.config.* | ||
|
||
tasks: | ||
dev: | ||
command: 'astro dev --port 4200 --host' | ||
local: true | ||
|
||
check: | ||
command: 'astro check' | ||
inputs: | ||
- '@group(astro)' | ||
|
||
build: | ||
command: 'astro build' | ||
deps: | ||
- ~:check | ||
inputs: | ||
- '@group(astro)' | ||
outputs: | ||
- dist |
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,17 @@ | ||
{ | ||
"name": "@ryot/landing", | ||
"type": "module", | ||
"private": true, | ||
"devDependencies": { | ||
"tailwind-scrollbar": "3.1.0" | ||
}, | ||
"dependencies": { | ||
"@astrojs/check": "0.5.10", | ||
"@astrojs/sitemap": "3.1.4", | ||
"@astrojs/tailwind": "5.1.0", | ||
"@fontsource-variable/rubik": "5.0.22", | ||
"astro": "4.7.0", | ||
"astro-robots-txt": "1.0.0", | ||
"tailwindcss": "3.4.3" | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
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,21 @@ | ||
--- | ||
import type { HTMLTag, Polymorphic } from "astro/types"; | ||
type actionTypes = "button" | "text" | "icon" | "default"; | ||
type Props<Tag extends HTMLTag> = Polymorphic<{ as: Tag }>; | ||
const { as: Tag, class: className, type, ...props } = Astro.props; | ||
const defaultStyles = { | ||
button: | ||
"px-3 py-1 text-sm md:text-base md:px-6 md:py-2 rounded-lg text-center font-semibold hover:scale-110 hover:opacity-85 transition inline-block", | ||
text: "hover:opacity-50 hover:scale-105", | ||
icon: "text-white hover:opacity-50 hover:scale-105", | ||
default: "", | ||
}; | ||
const baseClass = defaultStyles[type as actionTypes] ?? ""; | ||
--- | ||
|
||
<Tag class:list={[baseClass, className]} {...props}><slot /></Tag> |
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,4 @@ | ||
<div | ||
class="absolute top-0 z-[-2] h-screen w-full bg-white bg-[radial-gradient(100%_50%_at_50%_0%,rgba(0,163,255,0.13)_0,rgba(0,163,255,0)_50%,rgba(0,163,255,0)_100%)]" | ||
> | ||
</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,5 @@ | ||
<article | ||
class="flex flex-col border max-w-xs xl:max-w-sm rounded-lg shadow px-5 py-5 gap-y-10" | ||
> | ||
<slot /> | ||
</article> |
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,54 @@ | ||
--- | ||
import type { Icon } from "@/config/landing.interface"; | ||
import CheckIcon from "@/icons/commons/CheckIcon.astro"; | ||
import ConfigIcon from "@/icons/commons/ConfigIcon.astro"; | ||
import DevIcon from "@/icons/commons/DevIcon.astro"; | ||
import FileIcon from "@/icons/commons/FileIcon.astro"; | ||
import PlanetIcon from "@/icons/commons/PlanetIcon.astro"; | ||
import FacebookIcon from "@/icons/socials/FacebookIcon.astro"; | ||
import GithubIcon from "@/icons/socials/GithubIcon.astro"; | ||
import InstagramIcon from "@/icons/socials/InstagramIcon.astro"; | ||
import TwitterIcon from "@/icons/socials/TwitterIcon.astro"; | ||
import NetlifyIcon from "@/icons/techs/NetlifyIcon.astro"; | ||
import ReactIcon from "@/icons/techs/ReactIcon.astro"; | ||
import SolidIcon from "@/icons/techs/SolidIcon.astro"; | ||
import SvelteIcon from "@/icons/techs/SvelteIcon.astro"; | ||
import VercelIcon from "@/icons/techs/VercelIcon.astro"; | ||
import VueIcon from "@/icons/techs/VueIcon.astro"; | ||
interface Props { | ||
icon: Icon; | ||
class?: string; | ||
} | ||
const { icon, class: className } = Astro.props; | ||
const icons = [ | ||
ConfigIcon, | ||
DevIcon, | ||
FileIcon, | ||
PlanetIcon, | ||
CheckIcon, | ||
FacebookIcon, | ||
GithubIcon, | ||
InstagramIcon, | ||
TwitterIcon, | ||
ReactIcon, | ||
SvelteIcon, | ||
VueIcon, | ||
NetlifyIcon, | ||
SolidIcon, | ||
VercelIcon, | ||
]; | ||
const figures: Record<string, (_props: Record<string, unknown>) => unknown> = | ||
{}; | ||
icons.map((item) => { | ||
figures[item.name] = item; | ||
}); | ||
const Figure = figures[icon]; | ||
--- | ||
|
||
{Figure ? <Figure class:list={[className]} /> : <p>Icon not found</p>} |
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,5 @@ | ||
<div | ||
class="bg-primary h-10 md:h-12 md:p-3 md:w-12 p-2 rounded-full text-white w-10 flex justify-center items-center" | ||
> | ||
<slot /> | ||
</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,11 @@ | ||
--- | ||
interface Props { | ||
class?: string; | ||
} | ||
const baseClass = "text-2xl text-center md:text-5xl font-semibold"; | ||
const { class: className = baseClass } = Astro.props; | ||
--- | ||
|
||
<h2 class={className}><slot /></h2> |
Oops, something went wrong.