Skip to content

Commit

Permalink
feat: hello world!
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexogamer committed Mar 5, 2024
1 parent 11d18b5 commit 1e38070
Show file tree
Hide file tree
Showing 13 changed files with 3,760 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# build output
dist/

# generated types
.astro/

# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# environment variables
.env
.env.production

# macOS-specific files
.DS_Store
4 changes: 4 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}
11 changes: 11 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Upryzing's Landing Page (upryzing.app)

This repository houses the source code for Upryzing's landing page ([upryzing.app](https://upryzing.app)), built with [Astro](https://astro.build/).

# Development

Clone the repository locally, then install the required dependencies and run the app:

```bash
git clone https://github.com/upryzing/upryzing.app
cd upryzing.app
yarn install
yarn dev
```
4 changes: 4 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { defineConfig } from 'astro/config';

// https://astro.build/config
export default defineConfig({});
17 changes: 17 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "@upryzing/landing-page",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro check && astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"astro": "^4.4.11",
"@astrojs/check": "^0.5.6",
"typescript": "^5.3.3"
}
}
Binary file added public/favicon.ico
Binary file not shown.
Empty file added src/components/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions src/env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="astro/client" />
44 changes: 44 additions & 0 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
interface Props {
title: string;
}
const { title } = Astro.props;
---

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="description" content="Your conversations, your way. Connect with Upryzing." />
<meta name="viewport" content="width=device-width" />
<link rel="icon" href="/favicon.ico" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
</head>
<body>
<slot />
</body>
</html>
<style is:global>
:root {
--accent: #dca3ff;
--background: #141314;
}
html {
font-family: 'Inter', system-ui, sans-serif;
background: var(--background);
background-size: 224px;
}
code {
font-family:
Menlo,
Monaco,
Lucida Console,
Liberation Mono,
DejaVu Sans Mono,
Bitstream Vera Sans Mono,
Courier New,
monospace;
}
</style>
31 changes: 31 additions & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
import Layout from '../layouts/Layout.astro';
---

<Layout title="Upryzing">
<main>
<h1>Upryzing</h1>
<p>
Your conversations, your way.
</p>
</main>
</Layout>

<style>
main {
margin: 3rem;
padding: 1rem;
width: 800px;
max-width: calc(100% - 2rem);
color: white;
font-size: 20px;
line-height: 1.6;
}
h1 {
color: var(--accent);
font-size: 4rem;
font-weight: 900;
line-height: 1;
margin-bottom: 1em;
}
</style>
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "astro/tsconfigs/strict"
}
Loading

0 comments on commit 1e38070

Please sign in to comment.