Updated
This commit is contained in:
parent
97e29e8983
commit
274f7aa44b
4 changed files with 39 additions and 16 deletions
|
|
@ -22,8 +22,8 @@ export default defineConfig({
|
|||
},
|
||||
},
|
||||
build: {
|
||||
assets: '_fwt',
|
||||
assets: '_portal',
|
||||
inlineStylesheets: 'never',
|
||||
},
|
||||
site: 'http://localhost:8080',
|
||||
site: 'https://ocboportal.patalcala.com',
|
||||
})
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ const { avif, webp, name, description, site } = Astro.props
|
|||
|
||||
<style lang="sass">
|
||||
@use 'sass:color'
|
||||
@use '/src/styles/breakpoint.sass' as view
|
||||
$background: rgba(12, 26, 48, 0.2)
|
||||
|
||||
.card
|
||||
|
|
@ -49,4 +50,15 @@ const { avif, webp, name, description, site } = Astro.props
|
|||
&__description
|
||||
padding: 0.5rem 0 0 0
|
||||
font-size: 0.75rem
|
||||
|
||||
@media only screen and (min-width: 0px) and (max-width: view.$tablet)
|
||||
background-color: color.adjust($background, $lightness: 15%)
|
||||
border: 1px solid color.adjust($background, $lightness: 25%)
|
||||
padding: 1.25rem
|
||||
|
||||
&:hover
|
||||
background-color: color.adjust($background, $blackness: 35%)
|
||||
border: 1px solid color.adjust($background, $blackness: 25%)
|
||||
transform: scale(1.05)
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1)
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -4,11 +4,10 @@ const { title } = Astro.props
|
|||
const websiteName = 'Template'
|
||||
const websiteDescription = 'This is just a template.'
|
||||
|
||||
import { Background, HTML, OptimizeBackground } from '../../fwt'
|
||||
import { Background, HTML } from '../../fwt'
|
||||
---
|
||||
|
||||
<HTML title={title} name={websiteName} description={websiteDescription} font="roboto" author="Patrick Alvin Alcala">
|
||||
<!-- <OptimizeBackground /> -->
|
||||
<Background image />
|
||||
<slot />
|
||||
</HTML>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
import Layout from '../layouts/Layout.astro'
|
||||
import { Button, Logo, Link, Page, Row, Image, Column, OptimizeBackground } from '../../fwt/'
|
||||
import { Button, Logo, Link, Page, Row, Image, Column, Display, OptimizeBackground, Padding } from '../../fwt/'
|
||||
// import Card from '../components/Card/Card'
|
||||
import Card from '../components/Card.astro'
|
||||
import portalA from '../../fwt/images/ocbo-portal.avif'
|
||||
|
|
@ -14,16 +14,28 @@ import esignW from '../../fwt/images/esign.webp'
|
|||
<Page alignment="column">
|
||||
<Row content="left"><Row><Image avif={portalA.src} webp={portalW.src} size={90} /><span class="logo-text">OCBO Portal</span></Row></Row>
|
||||
<Column>
|
||||
<Display desktop tablet>
|
||||
<Row content="center">
|
||||
<Column>
|
||||
<h1>Welcome to OCBO Application Portal</h1>
|
||||
</Column>
|
||||
</Row>
|
||||
|
||||
<Row gap={2.5}>
|
||||
<Card avif={esignA.src} webp={esignW.src} name="OCBO e-Sign" description="A secure way of signing permits." site="https://ocboapps.davaocity.gov.ph" />
|
||||
<Card avif={esignA.src} webp={esignW.src} name="OCBO e-Sign" description="A secure way of signing permits." site="https://ocboapps.davaocity.gov.ph" />
|
||||
<Card avif={esignA.src} webp={esignW.src} name="OCBO e-Sign" description="A secure way of signing permits." site="https://ocboapps.davaocity.gov.ph" />
|
||||
</Row>
|
||||
</Display>
|
||||
<Display mobile>
|
||||
<Padding top={2} bottom={2} left={0} right={0}>
|
||||
<Column gap={1.5}>
|
||||
<Card avif={esignA.src} webp={esignW.src} name="OCBO e-Sign" description="A secure way of signing permits." site="https://ocboapps.davaocity.gov.ph" />
|
||||
<Card avif={esignA.src} webp={esignW.src} name="OCBO e-Sign" description="A secure way of signing permits." site="https://ocboapps.davaocity.gov.ph" />
|
||||
<Card avif={esignA.src} webp={esignW.src} name="OCBO e-Sign" description="A secure way of signing permits." site="https://ocboapps.davaocity.gov.ph" />
|
||||
</Column>
|
||||
</Padding>
|
||||
</Display>
|
||||
</Column>
|
||||
</Page>
|
||||
</Layout>
|
||||
|
|
@ -34,7 +46,7 @@ import esignW from '../../fwt/images/esign.webp'
|
|||
h1
|
||||
color: $text-color
|
||||
margin: -2rem 0 2.75rem 0
|
||||
font-size: 3.25rem
|
||||
font-size: 3rem
|
||||
|
||||
h3
|
||||
color: $text-color
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue