just a bunch of stuff

This commit is contained in:
Chuck Dries 2023-07-26 19:19:55 -07:00
parent df5c2433bc
commit 54703be7d5
No known key found for this signature in database
GPG Key ID: A00B7AEAE1DC5BE6
35 changed files with 101 additions and 114 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
transsocial-link-card transsocial-link-card
advanced-generated-theme
.wp-env.json .wp-env.json

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

@ -1,33 +1 @@
<!-- wp:group {"gradient":"trans-pride","layout":{"type":"constrained"}} --> <!-- wp:pattern {"slug":"chucktheme/footer"} /-->
<div class="wp-block-group has-trans-pride-gradient-background has-background"><!-- wp:group {"align":"full","className":"white-bg-overlay","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull white-bg-overlay"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30","margin":{"top":"0","bottom":"0"},"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0","margin":{"top":"0","bottom":"0"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"space-between"}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:0"><!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading">Contact</h4>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>(954)-667-2916</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="mailto:info@transsocial.org">info@transsocial.org</a></p>
<!-- /wp:paragraph -->
<!-- wp:social-links {"style":{"spacing":{"blockGap":{"top":"0","left":"var:preset|spacing|20"}}},"className":"is-style-logos-only"} -->
<ul class="wp-block-social-links is-style-logos-only"><!-- wp:social-link {"service":"instagram"} /-->
<!-- wp:social-link {"service":"facebook"} /--></ul>
<!-- /wp:social-links --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">
Proudly powered by <a href="https://wordpress.org/">WordPress</a>.
</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

View File

@ -1,15 +1,5 @@
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"0","right":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} --> <!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30","left":"var:preset|spacing|40","right":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div <div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--40)"><!-- wp:site-logo {"shouldSyncIcon":false} /-->
class="wp-block-group"
style="
padding-top: var(--wp--preset--spacing--40);
padding-right: 0;
padding-bottom: var(--wp--preset--spacing--40);
padding-left: 0;
"
>
<!-- wp:site-logo {"shouldSyncIcon":true} /-->
<!-- wp:navigation {"ref":20,"icon":"menu","layout":{"type":"flex","justifyContent":"right"}} /--> <!-- wp:navigation {"ref":14,"icon":"menu","layout":{"type":"flex","justifyContent":"right"},"style":{"spacing":{"blockGap":"var:preset|spacing|30"},"layout":{"selfStretch":"fit","flexSize":null}}} /--></div>
</div>
<!-- /wp:group --> <!-- /wp:group -->

View File

@ -1,5 +1,4 @@
<?php <?php
/** /**
* Title: footer * Title: footer
* Slug: chucktheme/footer * Slug: chucktheme/footer
@ -9,8 +8,8 @@
?> ?>
<!-- wp:group {"gradient":"trans-pride","layout":{"type":"constrained"}} --> <!-- wp:group {"gradient":"trans-pride","layout":{"type":"constrained"}} -->
<div class="wp-block-group has-trans-pride-gradient-background has-background"><!-- wp:group {"align":"full","className":"white-bg-overlay","layout":{"type":"constrained"}} --> <div class="wp-block-group has-trans-pride-gradient-background has-background"><!-- wp:group {"align":"full","className":"white-bg-overlay","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull white-bg-overlay"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30","margin":{"top":"0","bottom":"0"},"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} --> <div class="wp-block-group alignfull white-bg-overlay"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30","margin":{"top":"0","bottom":"0"},"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30)"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} --> <div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0","margin":{"top":"0","bottom":"0"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"space-between"}} --> <div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0","margin":{"top":"0","bottom":"0"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"space-between"}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:0"><!-- wp:heading {"level":4} --> <div class="wp-block-group" style="margin-top:0;margin-bottom:0"><!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading">Contact</h4> <h4 class="wp-block-heading">Contact</h4>
@ -25,25 +24,16 @@
<!-- /wp:paragraph --> <!-- /wp:paragraph -->
<!-- wp:social-links {"style":{"spacing":{"blockGap":{"top":"0","left":"var:preset|spacing|20"}}},"className":"is-style-logos-only"} --> <!-- wp:social-links {"style":{"spacing":{"blockGap":{"top":"0","left":"var:preset|spacing|20"}}},"className":"is-style-logos-only"} -->
<ul class="wp-block-social-links is-style-logos-only"><!-- wp:social-link {"service":"instagram"} /--> <ul class="wp-block-social-links is-style-logos-only"><!-- wp:social-link {"url":"https://instagram.com","service":"instagram"} /-->
<!-- wp:social-link {"service":"facebook"} /--> <!-- wp:social-link {"url":"https://facebook.com","service":"facebook"} /--></ul>
</ul> <!-- /wp:social-links --></div>
<!-- /wp:social-links -->
</div>
<!-- /wp:group --> <!-- /wp:group -->
</div> <!-- wp:image {"id":40,"sizeSlug":"large","linkDestination":"none","style":{"layout":{"selfStretch":"fixed","flexSize":"250px"}}} -->
<!-- /wp:group --> <figure class="wp-block-image size-large"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/transsocial-logo-ts-palm-colors-version-2-1024x568.png" alt="<?php echo esc_attr_e( 'TransSOCIAL Logo', 'chucktheme' ); ?>" class="wp-image-40"/></figure>
<!-- /wp:image --></div>
<!-- wp:paragraph {"align":"center"} --> <!-- /wp:group --></div>
<p class="has-text-align-center"> <!-- /wp:group --></div>
Proudly powered by <a href="https://wordpress.org/">WordPress</a>. <!-- /wp:group --></div>
</p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group --> <!-- /wp:group -->

0
chuck-theme/readme.txt Normal file
View File

View File

@ -1,15 +1,18 @@
/* /*
Theme Name: chucktheme Theme Name: chucktheme
Author: Chuck Dries <chuck@chuckdries.com> Author: Chuck Dries
Description: A short description of the theme. Author URI: https://chuckdries.com
Version: The version, written in X.X or X.X.X format. Description: A simple but vibrant theme for TransSOCIAL
Requires at least: The oldest main WordPress version supported, written in X.X format. Requires at least: 6.0
Tested up to: The last main WordPress version the theme has been tested up to, i.e. 6.0. Write only the number. Tested up to: 6.2.2
Requires PHP: The oldest PHP version supported, in X.X format, only the number. Requires PHP: The oldest PHP version supported, in X.X format, only the number.
License: The license of the theme. Version: 0.0.1
License URI: The URL of the theme license. License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chucktheme Text Domain: chucktheme
Tags:
*/ */
:root { :root {
--accent: 91 206 250; --accent: 91 206 250;
--accent-text: hsl(197deg 52% 55%); --accent-text: hsl(197deg 52% 55%);
@ -46,3 +49,11 @@ Text Domain: chucktheme
.white-bg-overlay { .white-bg-overlay {
background: hsla(0, 0%, 100%, 0.7) background: hsla(0, 0%, 100%, 0.7)
} }
.wp-site-blocks {
min-height: 100vh;
display: grid;
grid-template: min-content auto min-content / 1fr;
}
.admin-bar .wp-site-blocks {
min-height: calc(100vh - 32px);
}

View File

@ -1 +1,7 @@
<div><h1>hello world!</h1></div> <!-- wp:template-part {"slug":"header","tagName":"header","className":"site-header"} /-->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /-->

View File

@ -1,19 +1,12 @@
<!-- wp:template-part {"slug":"header","tagName":"header","className":"site-header"} /--> <!-- wp:template-part {"slug":"header","tagName":"header","className":"site-header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} --> <!-- wp:group {"tagName":"main","layout":{"type":"constrained"}} -->
<main <main class="wp-block-group">
class="wp-block-group" <!-- wp:post-content {"align":"full","style":{"dimensions":{"minHeight":"250px"}},"layout":{"type":"constrained","contentSize":""}} /-->
style="
padding-top: var(--wp--preset--spacing--50);
padding-bottom: var(--wp--preset--spacing--50);
"
>
<!-- wp:post-content {"align":"full","layout":{"type":"constrained"}} /-->
<!-- wp:spacer {"height":"20px"} --> <!-- wp:spacer {"height":"20px"} -->
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div> <div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --> <!-- /wp:spacer --></main>
</main>
<!-- /wp:group --> <!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /--> <!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /-->

View File

@ -1,15 +1,13 @@
<!-- wp:template-part {"slug":"header","tagName":"header","className":"site-header"} /--> <!-- wp:template-part {"slug":"header","tagName":"header","className":"site-header"} /-->
<!-- wp:group {"tagName":"main","layout":{"type":"constrained"}} --> <!-- wp:group {"tagName":"main","layout":{"type":"constrained"}} -->
<main class="wp-block-group"> <main class="wp-block-group"><!-- wp:post-title /-->
<!-- wp:post-featured-image /-->
<!-- wp:post-content {"align":"full","layout":{"type":"constrained"}} /--> <!-- wp:post-content {"align":"full","layout":{"type":"constrained"}} /-->
<!-- wp:spacer {"height":"40px"} -->
<div style="height: 40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:spacer --> <!-- wp:spacer -->
<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div> <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --> <!-- /wp:spacer --></main>
</main>
<!-- /wp:group --> <!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /--> <!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /-->

View File

@ -12,6 +12,13 @@
"settings": { "settings": {
"appearanceTools": true, "appearanceTools": true,
"color": { "color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": true,
"defaultGradients": true,
"defaultPalette": true,
"duotone": [ "duotone": [
{ {
"colors": [ "colors": [
@ -68,13 +75,27 @@
"name": "Transparent", "name": "Transparent",
"slug": "transparent" "slug": "transparent"
} }
] ],
"text": true
}, },
"layout": { "layout": {
"contentSize": "700px", "contentSize": "700px",
"wideSize": "920px" "wideSize": "920px"
}, },
"shadow": {
"defaultPresets": true,
"presets": []
},
"spacing": { "spacing": {
"customSpacingSize": true,
"spacingScale": {
"increment": 1.5,
"mediumStep": 1.5,
"operator": "*",
"steps": 7,
"unit": "rem"
},
"spacingSizes": [],
"units": [ "units": [
"px", "px",
"em", "em",
@ -85,6 +106,7 @@
] ]
}, },
"typography": { "typography": {
"customFontSize": true,
"dropCap": false, "dropCap": false,
"fluid": true, "fluid": true,
"fontFamilies": [ "fontFamilies": [
@ -153,7 +175,12 @@
"size": "3.75rem", "size": "3.75rem",
"slug": "xx-large" "slug": "xx-large"
} }
] ],
"fontStyle": true,
"fontWeight": true,
"letterSpacing": true,
"textDecoration": true,
"textTransform": true
}, },
"useRootPaddingAwareAlignments": true "useRootPaddingAwareAlignments": true
}, },
@ -161,6 +188,9 @@
"color": { "color": {
"background": "var(--wp--preset--color--contrast)" "background": "var(--wp--preset--color--contrast)"
}, },
"spacing": {
"blockGap": "24px"
},
"typography": { "typography": {
"fontFamily": "var(--wp--preset--font-family--sans)" "fontFamily": "var(--wp--preset--font-family--sans)"
} }

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

View File

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

Before

Width:  |  Height:  |  Size: 264 B

After

Width:  |  Height:  |  Size: 264 B