Skip to content

Commit

Permalink
listo?
Browse files Browse the repository at this point in the history
  • Loading branch information
adrile15 committed Jun 27, 2024
1 parent f4ce884 commit 2102822
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 40 deletions.
44 changes: 14 additions & 30 deletions front/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<div>
<Container class="content-container" style="justify-content: center;">
<h1>SOS2324-17</h1>
<img src="/favicon.png" alt="SOS" class="centered-image">
<hr>
<Row>

Expand Down Expand Up @@ -70,16 +69,17 @@
<Row>
<Col><br></Col>
</Row>
<!-- Recuadros de APIs -->
<Row>
<Col>
<Col sm="12" md="6" lg="4">
<Card>
<CardHeader>
<CardTitle>APIs</CardTitle>
</CardHeader>
<CardBody>
<div class="api-container">
<Row>
<Col sm="12" md="4">
<Col sm="12" md="12">
<Card class="api-wrapper">
<CardBody>
<Button color="primary" href="https://sos2324-17.appspot.com/api/v1/trimestralpib_stats/">trimestralpib_stats [v1]</Button>
Expand All @@ -94,17 +94,15 @@
</CardBody>
</Card>
</Col>
</Row>
<Row>
<Col>
<Col sm="12" md="6" lg="4">
<Card>
<CardHeader>
<CardTitle>APIs documentation</CardTitle>
</CardHeader>
<CardBody>
<div class="api-container">
<Row>
<Col sm="12" md="4">
<Col sm="12" md="12">
<Card class="api-wrapper">
<CardBody>
<Button color="primary" href="https://sos2324-17.appspot.com/api/v1/trimestralpib_stats/docs">trimestralpib_stats [v1]</Button>
Expand All @@ -119,17 +117,15 @@
</CardBody>
</Card>
</Col>
</Row>
<Row>
<Col>
<Col sm="12" md="6" lg="4">
<Card>
<CardHeader>
<CardTitle>Frontends</CardTitle>
</CardHeader>
<CardBody>
<div class="api-container">
<Row>
<Col sm="12" md="4">
<Col sm="12" md="12">
<Card class="api-wrapper">
<CardBody>
<Button color="primary" href="https://sos2324-17.appspot.com/trimestralpib_stats/">trimestralpib_stats</Button>
Expand All @@ -145,23 +141,15 @@
</Col>
</Row>
<Row>
<Col>
<Col sm="12" md="6" lg="4">
<Card>
<CardHeader>
<CardTitle>Views</CardTitle>
</CardHeader>
<CardBody>
<div class="api-container">
<Row>
<Col sm="12" md="4">
<Card class="api-wrapper">
<CardBody>
<Button color="primary" href="https://sos2324-17.appspot.com/analytics">Gráfica grupal</Button>
<CardText><hr></CardText>
</CardBody>
</Card>
</Col>
<Col sm="12" md="4">
<Col sm="12" md="12">
<Card class="api-wrapper">
<CardBody>
<Button color="primary" href="https://sos2324-17.appspot.com/trimestralpib_stats/views">trimestralpib_stats</Button>
Expand All @@ -175,17 +163,15 @@
</CardBody>
</Card>
</Col>
</Row>
<Row>
<Col>
<Col sm="12" md="6" lg="4">
<Card>
<CardHeader>
<CardTitle>Integrations</CardTitle>
</CardHeader>
<CardBody>
<div class="api-container">
<Row>
<Col sm="12" md="4">
<Col sm="12" md="12">
<Card class="api-wrapper">
<CardBody>
<Button color="primary" href="https://sos2324-17.appspot.com/integrations/trimestralpib_stats/">integrations trimestralpib_stats</Button>
Expand All @@ -199,17 +185,15 @@
</CardBody>
</Card>
</Col>
</Row>
<Row>
<Col>
<Col sm="12" md="6" lg="4">
<Card>
<CardHeader>
<CardTitle>Videos</CardTitle>
</CardHeader>
<CardBody>
<div class="api-container">
<Row>
<Col sm="12" md="4">
<Col sm="12" md="12">
<Card class="api-wrapper">
<CardBody>
<Button color="primary" href="https://www.youtube.com/watch?v=GMbB93tYeWk">Video trimestralpib_stats</Button>
Expand All @@ -225,4 +209,4 @@
</Col>
</Row>
</Container>
</div>
</div>
35 changes: 25 additions & 10 deletions front/src/routes/integrations/trimestralpib_stats/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,29 @@
import { ButtonGroup, Button } from '@sveltestrap/sveltestrap';
function redireccionar(url) {
window.location.href = url;
window.location.href = url;
}
</script>

<h1>Redireccionar a URL</h1>
<ButtonGroup>
<Button variant="primary" on:click={() => redireccionar('https://sos2324-17.appspot.com/integrations/trimestralpib_stats/cryptos')}>cryptos</Button>
<Button variant="primary" on:click={() => redireccionar('https://sos2324-17.appspot.com/integrations/trimestralpib_stats/perros')}>reviews</Button>
<Button variant="primary" on:click={() => redireccionar('https://sos2324-17.appspot.com/integrations/trimestralpib_stats/crp')}>conProxy</Button>
<Button variant="primary" on:click={() => redireccionar('https://sos2324-17.appspot.com/integrations/trimestralpib_stats/leaderboard')}>Inflation vs Pib</Button>
</ButtonGroup>
</script>

<style>
.button-group-container {
display: flex;
justify-content: center;
margin-top: 20px;
margin-bottom: 40px; /* Separación del footer */
}
.button-group-container Button {
margin: 0 10px; /* Separación entre botones */
}
</style>

<h1 style="text-align: center;">Redireccionar a Uso/Integracion</h1>
<div class="button-group-container">
<ButtonGroup>
<Button variant="primary" on:click={() => redireccionar('https://sos2324-17.appspot.com/integrations/trimestralpib_stats/cryptos')}>cryptos</Button>
<Button variant="primary" on:click={() => redireccionar('https://sos2324-17.appspot.com/integrations/trimestralpib_stats/perros')}>perros</Button>
<Button variant="primary" on:click={() => redireccionar('https://sos2324-17.appspot.com/integrations/trimestralpib_stats/crp')}>conProxy</Button>
<Button variant="primary" on:click={() => redireccionar('https://sos2324-17.appspot.com/integrations/trimestralpib_stats/leaderboard')}>Inflation vs Pib</Button>
</ButtonGroup>
</div>

0 comments on commit 2102822

Please sign in to comment.