Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"version": "0.2.0",
"configurations": [

{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
Expand Down
55 changes: 1 addition & 54 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,54 +1 @@
# Astro Starter Kit: Basics

```
npm create astro@latest -- --template basic
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/basics)
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/basics/devcontainer.json)

> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!

![basics](https://user-images.githubusercontent.com/4677417/186188965-73453154-fdec-4d6b-9c34-cb35c248ae5b.png)

## 🚀 Project Structure

Inside of your Astro project, you'll see the following folders and files:

```
/
├── public/
│ └── favicon.svg
├── src/
│ ├── components/
│ │ └── Card.astro
│ ├── layouts/
│ │ └── Layout.astro
│ └── pages/
│ └── index.astro
└── package.json
```

Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.

There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.

Any static assets, like images, can be placed in the `public/` directory.

## 🧞 Commands

All commands are run from the root of the project, from a terminal:

| Command | Action |
| :------------------------ | :----------------------------------------------- |
| `npm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `localhost:3000` |
| `npm run build` | Build your production site to `./dist/` |
| `npm run preview` | Preview your build locally, before deploying |
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
| `npm run astro -- --help` | Get help using the Astro CLI |

## 👀 Want to learn more?

Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).
# TryCatch.tv
14 changes: 14 additions & 0 deletions src/NOTAS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Notas

## Referencia Responsive

- mobile: sin clase de referencia
- Tablet y pc 13": `sm:max-lg`
- PC 14": `lg`
- PC >14": `xl:max-2xl`

- `sm:max-lg:w-12 lg:w-12 xl:max-2xl:w-12`

## Exponer dev

`npm run dev -- --host`
Binary file added src/assets/img/nibble.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/profile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 4 additions & 7 deletions src/components/global/Navbar.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
import nibble from "./../../assets/img/nibble.png";
const navbarItems = [
{
name: "Devs Latam",
Expand Down Expand Up @@ -28,19 +29,15 @@ const navbarItems = [
---

<nav
class="bg-white dark:bg-tc-black fixed w-full z-20 top-0 left-0 border-b border-gray-200 dark:border-tc-black"
class="bg-tc-black fixed w-full z-20 top-0 left-0 border-b border-tc-black"
>
<div
class="max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4"
>
<a href="/" class="flex items-center">
<img
src="../../../public/nibble.png"
class="h-8 mr-3"
alt="TryCatch.tv Nibble"
/>
<img src={nibble} class="h-8 mr-3" alt="TryCatch.tv Nibble" />
<span
class="self-center text-2xl font-semibold whitespace-nowrap dark:text-white"
class="self-center text-2xl font-semibold whitespace-nowrap text-white"
>TryCatch.tv</span
>
</a>
Expand Down
26 changes: 7 additions & 19 deletions src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,43 +4,31 @@ export interface Props {
}

const { title } = Astro.props;
import Navbar from "../components/global/Navbar.astro";
import Footer from "../components/global/Footer.astro";
import Navbar from "../components/global/Navbar.astro";
---

<!DOCTYPE html>
<html lang="en">
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<meta
name="viewport"
content="width=device-width, initial-scale=0.8, maximum-scale=1, user-scalable=no"
/>
<link rel="icon" type="image/svg+xml" href="/nibble.png" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
</head>
<body>
<body class="bg-tc-gray-l dark:bg-tc-black-l">
<Navbar />
<slot />
<Footer />
</body>
</html>
<style is:global>
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");

:root {
--accent: 124, 58, 237;
--accent-gradient: linear-gradient(
45deg,
rgb(var(--accent)),
#da62c4 30%,
white 60%
);
}
html {
font-family: "JetBrains Mono", monospace, system-ui, sans-serif !important;
background-color: #f2f2f2;
}
code {
font-family: Menlo, Monaco, Lucida Console, Liberation Mono,
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;
}
</style>
Loading